zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@dcs.warwick.ac.uk>
To: schaefer@brasslantern.com
Cc: zefram@dcs.warwick.ac.uk, zsh-workers@math.gatech.edu
Subject: Re: signal weirdness fix
Date: Tue, 26 Nov 1996 11:57:56 +0000 (GMT)	[thread overview]
Message-ID: <14608.199611261157@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <961126024255.ZM3729774@srf-79.nbn.com> 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


  reply	other threads:[~1996-11-26 12:03 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
1996-11-26 11:57   ` Zefram [this message]
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=14608.199611261157@stone.dcs.warwick.ac.uk \
    --to=zefram@dcs.warwick.ac.uk \
    --cc=schaefer@brasslantern.com \
    --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).