[Kst] Re: log submission capability

Barth Netterfield netterfield at astro.utoronto.ca
Thu Oct 21 22:08:27 CEST 2010


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


More information about the Kst mailing list