1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-12-03 16:51:37 +01:00

Merge of users/10107: SIGQUIT is ignored by the shell.

This commit is contained in:
Paul Ackersviller 2007-09-18 02:47:22 +00:00
parent d77e5bfd6c
commit a11856ff70

View file

@ -2,12 +2,13 @@ texinode(Jobs & Signals)(Arithmetic Evaluation)(Functions)(Top)
chapter(Jobs & Signals)
sect(Jobs)
cindex(jobs)
pindex(MONITOR, use of)
If the tt(MONITOR) option is set,
an interactive shell associates a em(job) with each pipeline.
It keeps a table of current jobs, printed by the tt(jobs)
command, and assigns them small integer numbers.
When a job is started asynchronously with `tt(&)',
the shell prints a line which looks like:
the shell prints a line to standard error which looks like:
example([1] 1234)
@ -44,6 +45,11 @@ If you set this
tty option, then background jobs will suspend when they try to produce
output like they do when they try to read input.
When a command is suspended and continued later with the tt(fg) or
tt(wait) builtins, zsh restores tty modes that were in effect when it was
suspended. This (intentionally) does not apply if the command is
continued via `tt(kill -CONT)', nor when it is continued with tt(bg).
cindex(jobs, referring to)
cindex(referring to jobs)
There are several ways to refer to jobs in the shell.
@ -64,6 +70,8 @@ pindex(NOTIFY, use of)
It normally informs you whenever a job becomes blocked so that
no further progress is possible. If the tt(NOTIFY) option is not set,
it waits until just before it prints a prompt before it informs you.
All such notifications are sent directly to the terminal, not to
the standard output or standard error.
When the monitor mode is on, each background job that completes
triggers any trap set for tt(CHLD).
@ -87,6 +95,7 @@ sect(Signals)
The tt(INT) and tt(QUIT) signals for an invoked
command are ignored if the command is followed by
`tt(&)' and the tt(MONITOR) option is not active.
The shell itself always ignores the tt(QUIT) signal.
Otherwise, signals have the values
inherited by the shell from its parent
(but see the tt(TRAP)var(NAL) special functions in noderef(Functions)).