zsh-users
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: does zsh ignore the QUIT signal?
Date: Wed, 29 Mar 2006 11:03:39 +0200	[thread overview]
Message-ID: <20060329090339.GF22295@prunille.vinc17.org> (raw)

When I type "while true; do true; done" from an interactive zsh shell,
I can't interrupt it with SIGQUIT (either with Ctrl-\ or with the
"kill -QUIT <pid>" command): sending this signal has no effect. Is
this normal?

Searching for QUIT in the zsh man page, I just get:

SIGNALS
  The INT and QUIT signals for an invoked command are ignored if the com-
  mand  is  followed by `&' and the MONITOR option is not active.  Other-
  wise, signals have the values inherited by the shell  from  its  parent
  (but see the TRAPNAL special functions in the section `Functions').

whereas in the bash man page, this behavior is documented:

SIGNALS
  When bash is interactive, in the  absence  of  any  traps,  it  ignores
  SIGTERM (so that kill 0 does not kill an interactive shell), and SIGINT
  is caught and handled (so that the wait builtin is interruptible).   In
  all  cases,  bash  ignores  SIGQUIT.  If job control is in effect, bash
  ignores SIGTTIN, SIGTTOU, and SIGTSTP.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


             reply	other threads:[~2006-03-29  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <vincent@vinc17.org>
2006-03-29  9:03 ` Vincent Lefevre [this message]
2006-03-29 19:09   ` Peter Stephenson

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=20060329090339.GF22295@prunille.vinc17.org \
    --to=vincent@vinc17.org \
    --cc=zsh-users@sunsite.dk \
    /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).