zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Clarify doc for tty handling with job control.
@ 2000-10-14  0:07 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2000-10-14  0:07 UTC (permalink / raw)
  To: zsh-workers

This duplicates in the "Jobs and Signals" section some information from the
description of the STTY parameter about the way zsh restores tty modes upon
"fg", because it applies to any fg'd command, not just those with STTY in
the environment.  This came up as a sideline to my conversation with Gray
about the gdb STGTTOU bug.

I suppose I could have deleted the text from STTY and cross-referenced, but
it didn't seem extensive enough to make that worthwhile.

Index: Doc/Zsh/jobs.yo
===================================================================
--- Doc/Zsh/jobs.yo	1999/07/23 15:48:26	1.3
+++ Doc/Zsh/jobs.yo	2000/10/13 23:59:51
@@ -44,6 +44,11 @@
 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.


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-14  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-14  0:07 PATCH: Clarify doc for tty handling with job control Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).