Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 3.0.6-pre-5 problem



On Jun 25, 11:38am, Sven Wischnowsky wrote:
} Subject: Re: 3.0.6-pre-5 problem
}
} I hope this fixes it.

No such luck.  Here's "pstree" output:

zsh(28198)-+-pstree(4199)
           |-xterm(4146)---zsh(4147)-+-mutt(4149)
           |                         `-zsh(4153)
           `-xterm(4191)---zsh(4192)---zsh(4194)---mutt(4196)

The first xterm (4146) I ran the "mutt" function directly from the top
shell and then hit ^Z.  4149 and 4153 are both stopped; 4146 is blocked
in wait4() which means that 4147 can't get any keystrokes (the xterm
isn't feeding it) which is the hang that Jos sees.

The second xterm (4191) I ran a new zsh -f (4194) and then the "mutt"
function; there, 4194 and 4196 are stopped.

Note that in the first case zsh created an extra dummy job, but in the
second case it didn't.  This must have something to do with which process
is the group leader.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author