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