[26823] in Athena Bugs
Re: ooffice suspension
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Apr 12 11:11:31 2006
From: Greg Hudson <ghudson@mit.edu>
To: Kevin Chen <kchen@mit.edu>
In-Reply-To: <443D099B.5010904@mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Wed, 12 Apr 2006 11:05:35 -0400
Message-Id: <1144854335.3794.83.camel@egyptian-gods.mit.edu>
Mime-Version: 1.0
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
Cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
In jhawk's output, ooffice suspended due to tty output, not tty input.
Whether tty output causes a background process to suspend is, to the
best of my understanding, dependent on the "tostop" flag of the current
tty settings. In my current set of xterms, tostop is unset, so that
output would just get displayed, but I can still produce behavior which
confuses me:
egyptian-gods% ssh equal-rites
equal-rites%
equal-rites% ~^Z [suspend ssh]
Suspended
egyptian-gods% jobs
[1] + Suspended ssh equal-rites
egyptian-gods% kill %1
egyptian-gods%
[1] + Suspended (tty output) ssh equal-rites
egyptian-gods% stty -a | grep tostop
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
egyptian-gods% fg
ssh equal-rites
24369: Killed by signal 15.
egyptian-gods%