Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: signal weirdness fix
- X-seq: zsh-workers 2482
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxx
- Subject: Re: signal weirdness fix
- Date: Tue, 26 Nov 1996 11:57:56 +0000 (GMT)
- Cc: zefram@xxxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <961126024255.ZM3729774@xxxxxxxxxxxxxx> from "Bart Schaefer" at Nov 26, 96 02:41:51 am
>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.
Hmm. I have no strong feeling about this, but it *would* be nice to
make sure there's a tty around when processing these signals.
isatty(0) is obviously not sufficient test, so maybe that "&& interact"
should just be removed.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author