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

Re: [MiNT] bash new version



Hi,

On Tue, Sep 07, 1999 at 11:30:12AM +0200, Thomas Binder wrote:
> Hi!
> 
> On Sun, Sep 05, 1999 at 11:47:22PM +0200, Guido Flohr wrote:
> > Try to run a time consuming task like "find /usr/ >/dev/null 2>&1".
> > Hit CTRL-Z, will you get a prompt?
> 
> Mhmm, if it's really SIGSTOP that isn't handled correctly, then pressing
> ^Z won't test it, as this sends SIGTSTP, which - in opposite to SIGSTOP,
> /can/ be caught, while SIGSTOP (as SIGKILL) can neither be caught, nor
> ignored, nor handled. So, what should bash handle with SIGSTOP, anyway?
> For job control, using the correct parameters to wait3() or waitpid() is
> cruical to correctly detect stopped children.

Yep, you're right, I've messed up terminology. ;-)
The problem was that bash did not install the handler for SIGTSTP.  The
bash authors have somehow foreseen that problem because there was already
an outcommented patch for that case.  It was close to the error location I
had made out, so I simply tried it out and it worked.  Rather good luck
than profound knowledge. ;-)

To see the details you have to install the sources and check what that
patch really does.  Maybe that can lead to the solution of the ssh problem
Qfunk reported.

Ciao

Guido
-- 
http://stud.uni-sb.de/~gufl0000/
mailto:gufl0000@stud.uni-sb.de