screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #27061] immediately-exiting programs lose output?


From: Mark Schreiber
Subject: [screen-devel] [bug #27061] immediately-exiting programs lose output?
Date: Tue, 29 Jan 2013 07:56:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #6, bug #27061 (project screen):

If the problem is that a child may perform I/O to its window followed by
exiting, but that screen may handle the SIGCHLD before the I/O, would it make
sense to:

* set a flag on SIGCHLD

* use a 0 timeout rather than a ten second timeout, and if select() ever times
out when the SIGCHLD flag has been set, to terminate?

I'd think that that would avoid truncated output, as well as avoid the issue
of lingering for ten seconds.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]