<p>Hmmm.... background ... makes me wonder:  how should we give success/failure feedback?   </p>
<div class="gmail_quote">On Oct 21, 2010 3:51 PM, &quot;Matthew D Truch&quot; &lt;<a href="mailto:matt@truch.net">matt@truch.net</a>&gt; wrote:<br type="attribution">&gt;&gt; I am considering an alternative.<br>&gt;&gt;   -&gt; no configuration dialog<br>
&gt;&gt;   -&gt; don&#39;t save the kst file.  I&#39;ve never seen it useful.<br>&gt;&gt;   -&gt; by default, kst2 will store the text note and the kst file in<br>&gt;&gt; /&lt;logdir&gt;/&lt;ctime&gt;.txt and /&lt;logdir&gt;/&lt;ctime&gt;.png.<br>
&gt;&gt;   -&gt; in addition, kst2 will run an optionally provided script/command line<br>&gt;&gt; command once the files have been saved to &lt;logdir&gt;<br>&gt;&gt; <br>&gt;&gt; The log dialog will have<br>&gt;&gt;   -A filename entry to specify &lt;logdir&gt; (sticky)<br>
&gt;&gt;   -A text box entry to enter the comment<br>&gt;&gt;   -A text line entry to enter the script to be run once the files have been<br>&gt;&gt; saved to &lt;logdir&gt; (sticky)<br>&gt;&gt; <br>&gt;&gt; In the text line entry for the script, the following variables will be<br>
&gt;&gt; defined:<br>&gt;&gt;   -$PLOT: where the png of the plot has been saved (ie,<br>&gt;&gt; /&lt;logdir&gt;/&lt;ctime&gt;.png)<br>&gt;&gt;   -$MESSAGE: where the message has been saved(ie, /&lt;logdir&gt;/&lt;ctime&gt;.txt)<br>
&gt;&gt; <br>&gt;&gt; So, for elog, you might enter:<br>&gt;&gt; /usr/bin/elog -h <a href="http://blastelogserver.info">blastelogserver.info</a> -u netterfield weakpasswd -f $PLOT -m<br>&gt;&gt; $MESSAGE<br>&gt;&gt; <br>&gt;&gt; Since it is sticky, the user would only have to enter it once.  If different<br>
&gt;&gt; users need to upload entries to some<br>&gt;&gt; other place, like a wiki, they could write their own shell script to do it,<br>&gt;&gt; and use the same interface.<br>&gt;&gt; <br>&gt;&gt; -does this seem like a good approach?<br>
&gt; <br>&gt; I like it.  It&#39;s simple, and I can see how it could be useful for people<br>&gt; outside of BLAST.  <br>&gt; <br>&gt; I think the dialog also needs to set the size of the png (sticky).<br>&gt; <br>&gt; The command should be run in the background, so if it runs slow (think<br>
&gt; slow network), kst is still usable by the person.  <br>&gt; <br>&gt; -- <br>&gt; &quot;Ice Cream has no bones.&quot;<br>&gt; --------------------------<br>&gt; Matthew Truch<br>&gt; Department of Physics and Astronomy<br>
&gt; University of Pennsylvania<br>&gt; <a href="mailto:matt@truch.net">matt@truch.net</a><br>&gt; <a href="http://matt.truch.net/">http://matt.truch.net/</a><br></div>