diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-09-18 02:47:22 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-09-18 02:47:22 +0000 |
commit | a11856ff7019bc7aa775177e38c00e2e37f73c2c (patch) | |
tree | e2ff258a03de2c05fa20897ed188ecb1987cbedb /Doc | |
parent | d77e5bfd6c286dfeaca6e9807281f7001ff6bc7b (diff) | |
download | zsh-a11856ff7019bc7aa775177e38c00e2e37f73c2c.tar.gz zsh-a11856ff7019bc7aa775177e38c00e2e37f73c2c.tar.xz zsh-a11856ff7019bc7aa775177e38c00e2e37f73c2c.zip |
Merge of users/10107: SIGQUIT is ignored by the shell.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/jobs.yo | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Doc/Zsh/jobs.yo b/Doc/Zsh/jobs.yo index 2a5ee69d8..0369e9745 100644 --- a/Doc/Zsh/jobs.yo +++ b/Doc/Zsh/jobs.yo @@ -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)). |