mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-04 05:01:27 +01:00
Merge of users/10107: SIGQUIT is ignored by the shell.
This commit is contained in:
parent
d77e5bfd6c
commit
a11856ff70
1 changed files with 10 additions and 1 deletions
|
|
@ -2,12 +2,13 @@ texinode(Jobs & Signals)(Arithmetic Evaluation)(Functions)(Top)
|
||||||
chapter(Jobs & Signals)
|
chapter(Jobs & Signals)
|
||||||
sect(Jobs)
|
sect(Jobs)
|
||||||
cindex(jobs)
|
cindex(jobs)
|
||||||
|
pindex(MONITOR, use of)
|
||||||
If the tt(MONITOR) option is set,
|
If the tt(MONITOR) option is set,
|
||||||
an interactive shell associates a em(job) with each pipeline.
|
an interactive shell associates a em(job) with each pipeline.
|
||||||
It keeps a table of current jobs, printed by the tt(jobs)
|
It keeps a table of current jobs, printed by the tt(jobs)
|
||||||
command, and assigns them small integer numbers.
|
command, and assigns them small integer numbers.
|
||||||
When a job is started asynchronously with `tt(&)',
|
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)
|
example([1] 1234)
|
||||||
|
|
||||||
|
|
@ -44,6 +45,11 @@ If you set this
|
||||||
tty option, then background jobs will suspend when they try to produce
|
tty option, then background jobs will suspend when they try to produce
|
||||||
output like they do when they try to read input.
|
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(jobs, referring to)
|
||||||
cindex(referring to jobs)
|
cindex(referring to jobs)
|
||||||
There are several ways to refer to jobs in the shell.
|
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
|
It normally informs you whenever a job becomes blocked so that
|
||||||
no further progress is possible. If the tt(NOTIFY) option is not set,
|
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.
|
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
|
When the monitor mode is on, each background job that completes
|
||||||
triggers any trap set for tt(CHLD).
|
triggers any trap set for tt(CHLD).
|
||||||
|
|
@ -87,6 +95,7 @@ sect(Signals)
|
||||||
The tt(INT) and tt(QUIT) signals for an invoked
|
The tt(INT) and tt(QUIT) signals for an invoked
|
||||||
command are ignored if the command is followed by
|
command are ignored if the command is followed by
|
||||||
`tt(&)' and the tt(MONITOR) option is not active.
|
`tt(&)' and the tt(MONITOR) option is not active.
|
||||||
|
The shell itself always ignores the tt(QUIT) signal.
|
||||||
Otherwise, signals have the values
|
Otherwise, signals have the values
|
||||||
inherited by the shell from its parent
|
inherited by the shell from its parent
|
||||||
(but see the tt(TRAP)var(NAL) special functions in noderef(Functions)).
|
(but see the tt(TRAP)var(NAL) special functions in noderef(Functions)).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue