On Wed, Jun 11, 2008 at 4:04 PM, Joe Peterson <joe@skyrush.com> wrote:
I think knowing the pgrps of the above processes (there is possibly
one more involved, stty?) would be useful; try:
$ ps -eo pid,pgrp,tpgid,user,args
..as this problem occurs because a process tries to change the
terminal settings (and subsequently gets suspended because of that)
while it's not the owner of the terminal.
This can happen if you fork something off to the background, e.g. like
$ stty 9600 &
(which should immediately give you [1]+ Stopped stty 9600),
so can you please look for anything like that in your login scripts or
shell rc files?
I don't know any other way to debug this further, sorry :-(
Thanks.
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--