From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12105 invoked from network); 14 Oct 2000 00:08:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Oct 2000 00:08:13 -0000 Received: (qmail 22736 invoked by alias); 14 Oct 2000 00:07:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13000 Received: (qmail 22726 invoked from network); 14 Oct 2000 00:07:37 -0000 From: "Bart Schaefer" Message-Id: <1001014000731.ZM5809@candle.brasslantern.com> Date: Sat, 14 Oct 2000 00:07:31 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: PATCH: Clarify doc for tty handling with job control. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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