summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-10-14 00:14:15 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-10-14 00:14:15 +0000
commit632dc55f9c3b206ee600d48a11bd6a859131d30a (patch)
tree9a0c7c31b974c0c0cb880f78916064899630597a
parentbb1fabf3ff99afa1536ac270f4940baf558a0698 (diff)
downloadzsh-632dc55f9c3b206ee600d48a11bd6a859131d30a.tar.gz
zsh-632dc55f9c3b206ee600d48a11bd6a859131d30a.tar.xz
zsh-632dc55f9c3b206ee600d48a11bd6a859131d30a.zip
Document tty mode restoration.
-rw-r--r--ChangeLog6
-rw-r--r--Doc/Zsh/jobs.yo10
2 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f7693866d..a70497375 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
 	* 12995: Src/Zle/compmatch.c: two completion matching fixes; wrong
diff --git a/Doc/Zsh/jobs.yo b/Doc/Zsh/jobs.yo
index 752181f02..98fca58c5 100644
--- a/Doc/Zsh/jobs.yo
+++ b/Doc/Zsh/jobs.yo
@@ -9,7 +9,7 @@ command, and assigns them small integer numbers.
 When a job is started asynchronously with `tt(&)',
 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
 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.
 
 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(suspending jobs)
 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
 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.