On Wed, Sep 28, 2005 at 12:10:56AM +0200, Gerhard Siegesmund wrote: > I did something similar, but asking an imap-Server for the number of > mails with fetchmail -c. Problem was: The query took several seconds to > succeed, in which time my screen freezed as the hardstatusline was > waiting for the info. > > I read the manpage and found "backtick 1 0 0 script" which is supposed > to start the script and just wait for new messages to stdout to output > them on the hardstatusline. Works great! Except for one thing: The > script doesn't get killed, if the screen is ended. This means I have to > stop the mailcheck-scripts which are created from screen by hand.
Hmm, the process that writes to screen should terminate with an error if screen is no longer running. It's basically the same as if you run "script | less" and quit the pager. Du you check the exit status of your commands? Cheers, Michael. -- Michael Schroeder [EMAIL PROTECTED] main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users