From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43488-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id d3c5c7f7 for ; Tue, 18 Sep 2018 18:10:16 +0000 (UTC) Received: (qmail 24241 invoked by alias); 18 Sep 2018 18:10:05 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43488 Received: (qmail 9208 invoked by uid 1010); 18 Sep 2018 18:10:05 -0000 X-Qmail-Scanner-Diagnostics: from know-smtprelay-omc-7.server.virginmedia.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(80.0.253.71):SA:0(-1.9/5.0):. Processed in 1.96611 secs); 18 Sep 2018 18:10:05 -0000 X-Envelope-From: p.w.stephenson@ntlworld.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Originating-IP: [92.27.217.10] X-Authenticated-User: p.w.stephenson@ntlworld.com X-Spam: 0 X-Authority: v=2.3 cv=YrwhubQX c=1 sm=1 tr=0 a=8ZNYBr2XW9PeDhz77hzA2g==:117 a=8ZNYBr2XW9PeDhz77hzA2g==:17 a=kj9zAlcOel0A:10 a=x7bEGLp0ZPQA:10 a=YR4_K0clAAAA:8 a=PfTVZJ42dZ1NGYCKrnkA:9 a=CjuIK1q_8ugA:10 a=waMAY2KAzxQUlx2gRwsv:22 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1537293504; bh=eutxtqaJNNlNouXb6OfGflOBNQ8GGhEN1/Xw391f4H4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=LSWqu2lR54fENWwZqw01dVqKG1iPYRzVfA41A+KlE7Gc2MmaRbgQDYXLJaOOHfaAx wiBGLzB31E9zTccktbRImTWwTDNOt3UccVyWd3lIvQheBsJxRtFPJAwU1DHVpxeLLJ ya1Kxkp4dHHklsD92ZkoxHZq/wTHdWJoAMeKzL5wg9C32rxNB/jwRB56Hs2reC7Dgc eiNErBbgL6xXke6o6+M3kr86M9magUQ+WT9Rs+vn+A0dBAaz5ewUKN/wkvMhHXM6xv qEz29oe55V3peAk7RN9h4Z+DRaOfkhrfLnOnaGJpEmts+eqdnVy0EpZ3spTRuN/h4m NVrN15VG/Zexw== Date: Tue, 18 Sep 2018 18:58:21 +0100 From: Peter Stephenson To: Zsh hackers list Cc: Bart Schaefer Subject: Re: Zsh: [7] + 23074 suspended (tty output) Message-ID: <20180918185821.26a41426@pws-HP.localdomain> In-Reply-To: <20180918011645.GA16046@zira.vinc17.org> References: <22d05309-5f67-4310-d035-b726ba2d617e@xk2c.de> <1e4a8fb7-1fdd-5505-1627-079c10a74321@xk2c.de> <20180916084020.GA19815@zira.vinc17.org> <20180918011645.GA16046@zira.vinc17.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfB0WxmVZQ2RJk+PQdYMhfRuZJHR0PZ65EQiUip7BmLVJooaq9mYQCxHbKcZwdyyX1DdhG+TRAhlTGX+TTLeFLoDUUOrgpcArpYU/OLJeKl53maJ1A1G8 /3LIPaxoeU3tUrH1lcM/o22C2zXmM5iZbh3wrLmYhr1gJiUIGrao8xAQL32Y6vRqd01TUQrKDTLKT1I32SEmGcwYmgQ+7rYjBwgpLkDcjMrytZNIFrzKeCT/ On Tue, 18 Sep 2018 03:16:45 +0200 Vincent Lefevre wrote: > 1. Run emacs[*] (with its X interface). > 2. Type Ctrl-Z in the terminal to stop Emacs and get the prompt. > 3. Type "bg". > 4. View a file with "less"[*]. > 5. Quit Emacs (while "less" is still running). > 6. Quit "less" (with 'q'). > > This yields a TTOU on "less" (see above). Note that 2+3 cannot be > replaced by the use of "emacs &". This appears to be the same bug as the last one I've recently fixed. When emacs exits, having previously been in control of the terminal (hence the need to start in the foreground), the shell thinks it still is and swipes the terminal from less. The shell now remembers the actual last process group to be in control. pws