Subject: Re: CVS commit: basesrc/bin/kill
To: Christos Zoulas <christos@zoulas.com>
From: Klaus Klein <kleink@reziprozitaet.de>
List: source-changes
Date: 11/25/2002 20:29:18
christos@zoulas.com (Christos Zoulas) writes:
> On Nov 25, 5:07pm, kleink@reziprozitaet.de (Klaus Klein) wrote:
> -- Subject: Re: CVS commit: basesrc/bin/kill
>
> It might not, but if we don't put it in, we'll be the only shell that
> does not provide this kind of help :-)
> [tested with csh, tcsh, zsh, bash, pdksh]
csh isn't intended to be a POSIX-style shell, and I won't dive into
the perils of arguing with _you_ how tcsh ought to work, thank
you. ;-) ksh93 agrees with you; bash-2.05b does not.
The motiviation for this seems dubious to me: SIGTERM and SIGHUP may
be (ab?)used by an application to deviate from their default actions,
so "helping" it to exit immediately may not be right.
Again, the specification of the shell environment provides nothing to
support this behaviour, and I'd rather not see sh have a 'posix'
option switch.
- Klaus