mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
Document tty mode restoration.
This commit is contained in:
parent
bb1fabf3ff
commit
632dc55f9c
2 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2000-10-13 Bart Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
* 13000: Doc/Zsh/jobs.yo: Document tty restoration when a stopped
|
||||||
|
job is resumed with fg. This was previously documented only under
|
||||||
|
the STTY parameter, but it applies to all stopped jobs.
|
||||||
|
|
||||||
2000-10-13 Sven Wischnowsky <wischnow@zsh.org>
|
2000-10-13 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
* 12995: Src/Zle/compmatch.c: two completion matching fixes; wrong
|
* 12995: Src/Zle/compmatch.c: two completion matching fixes; wrong
|
||||||
|
|
|
@ -9,7 +9,7 @@ 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 which looks like:
|
||||||
|
|
||||||
nofill(tt([1] 1234))
|
example([1] 1234)
|
||||||
|
|
||||||
indicating that the job which was started asynchronously was job number
|
indicating that the job which was started asynchronously was job number
|
||||||
1 and had one (top-level) process, whose process ID was 1234.
|
1 and had one (top-level) process, whose process ID was 1234.
|
||||||
|
@ -20,7 +20,8 @@ does not have a place in the job table, and is not subject
|
||||||
to the job control features described here.
|
to the job control features described here.
|
||||||
|
|
||||||
If you are running a job and wish to do something else you may hit the key
|
If you are running a job and wish to do something else you may hit the key
|
||||||
^Z (control-Z) which sends a tt(TSTP) signal to the current job.
|
^Z (control-Z) which sends a tt(TSTP) signal to the current job: this key
|
||||||
|
may be redefined by the tt(susp) option of the external tt(stty) command.
|
||||||
cindex(jobs, suspending)
|
cindex(jobs, suspending)
|
||||||
cindex(suspending jobs)
|
cindex(suspending jobs)
|
||||||
The shell will then normally indicate that the job has been `suspended',
|
The shell will then normally indicate that the job has been `suspended',
|
||||||
|
@ -43,6 +44,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.
|
||||||
|
|
Loading…
Reference in a new issue