Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2001 19:55:55 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Valentin Nechayev <netch@iv.nn.kiev.ua>
Cc:        Maxim Sobolev <sobomax@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: Terminal line discipline is broken [sorta]
Message-ID:  <Pine.BSF.4.21.0106131938390.66726-100000@besplex.bde.org>
In-Reply-To: <20010610145322.A461@iv.nn.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 10 Jun 2001, Valentin Nechayev wrote:

>  Thu, Jun 07, 2001 at 12:04:10, bde (Bruce Evans) wrote about "Re: Terminal line discipline is broken [sorta]": 
> 
> > This may be a bug in tcsh.
> 
> Do you really think that shell should not modify signal handling policy
> which he obtained as legacy from login? And application which resets
> them to appropriate position is buggy?

Non-interactive shells certainly shouldn't unblock/unignore blocked/ignored
signals.  I think it doesn't matter much for interactive shells.  Login
would only change the system defaults if it is broken.

> My ktracing of bash (2.04) shows that it isn't really set procmask
> to own values, but uses legacy value. Maybe I'm wrong, but this seems
> that sh & bash are buggy, not tcsh.

Bash does much more initialization for signals than sh.  Maybe it knows
what it is doing :-).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106131938390.66726-100000>