From: Bart Schaefer <schaefer@nbn.com>
To: Zefram <zefram@dcs.warwick.ac.uk>,
zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: Re: signal weirdness fix
Date: Tue, 26 Nov 1996 02:41:51 -0800 (PST) [thread overview]
Message-ID: <961126024255.ZM3729774@srf-79.nbn.com> (raw)
In-Reply-To: Zefram <zefram@dcs.warwick.ac.uk> "signal weirdness fix" (Nov 26, 8:46am)
On Nov 26, 8:46am, Zefram wrote:
> Subject: signal weirdness fix
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Remember that odd behaviour I reported, that zsh thought it received a
> signal actually sent to its foreground job?
>
> This patch limits it to SIGHUP, SIGINT and SIGQUIT, and disables this
> behaviour completely in non-interactive shells. I think this is a
good
> semantic.
Actually, I think this is almost exactly the wrong semantic. The whole
point was so that zsh scripts (which are pretty much by definition not
"interactive shells" even though the script may be doing terminal I/O)
could have their HUP/INT/QUIT traps tripped even when not executing a
builtin command at the time the signal came in.
If you must limit this to some subset of shells (and not just to some
subset of signals), I beg you to choose some other criteria. I have no
problem with limiting it to HUP/INT/QUIT, but requiring interact is too
much.
next prev parent reply other threads:[~1996-11-26 10:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-26 8:46 Zefram
1996-11-26 10:41 ` Bart Schaefer [this message]
1996-11-26 11:57 ` Zefram
1997-01-11 17:27 ` Zoltan Hidvegi
1997-01-11 18:50 ` Bart Schaefer
1997-01-11 19:36 ` Richard Coleman
1996-12-14 22:15 ` Zoltan Hidvegi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=961126024255.ZM3729774@srf-79.nbn.com \
--to=schaefer@nbn.com \
--cc=schaefer@brasslantern.com \
--cc=zefram@dcs.warwick.ac.uk \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).