From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43481-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.0 required=5.0 tests=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 c48842da for ; Tue, 18 Sep 2018 01:17:08 +0000 (UTC) Received: (qmail 25069 invoked by alias); 18 Sep 2018 01:16:53 -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: 43481 Received: (qmail 21668 invoked by uid 1010); 18 Sep 2018 01:16:52 -0000 X-Qmail-Scanner-Diagnostics: from joooj.vinc17.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(155.133.131.76):SA:0(-1.9/5.0):. Processed in 1.864464 secs); 18 Sep 2018 01:16:52 -0000 X-Envelope-From: vincent@vinc17.net X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Date: Tue, 18 Sep 2018 03:16:45 +0200 From: Vincent Lefevre To: TS , Bart Schaefer , Zsh hackers list Subject: Re: Zsh: [7] + 23074 suspended (tty output) Message-ID: <20180918011645.GA16046@zira.vinc17.org> Mail-Followup-To: TS , Bart Schaefer , Zsh hackers list References: <22d05309-5f67-4310-d035-b726ba2d617e@xk2c.de> <1e4a8fb7-1fdd-5505-1627-079c10a74321@xk2c.de> <20180916084020.GA19815@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180916084020.GA19815@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.10.1+92 (9ed4bf53) vl-108074 (2018-09-02) On 2018-09-16 10:40:20 +0200, Vincent Lefevre wrote: > On 2018-09-15 21:06:56 +0200, TS wrote: > > Test case, tested with 5.6.2: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=908818;filename=.zshrc;msg=66 > > > > result for me: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908818#66 > > I think I have noticed issues with "less" using zsh-5.6.1-10-g24bb465 > but I didn't remember what I did exactly and I couldn't reproduce > them. I needed to do a fg. The session in the terminal looks like that: zira:~/software/mpfr> emacs <3:13:29 ^Zzsh: exit 148 zsh: suspended eclient zira:~/software/mpfr[TSTP]> bg <3:13:33 [1] + continued eclient zira:~/software/mpfr> less src/Makefile <3:13:38 zsh: suspended (tty output) less src/Makefile zira:~/software/mpfr[TTOU]> fg <3:13:42 [2] + continued less src/Makefile zira:~/software/mpfr> <3:13:42 In short: 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 is actually a shell function: eclient () { emulate -LR zsh local display i if [[ -n $GNUCLIENT_ENABLED ]] then display="$DISPLAY" for i in "$@" do [[ "$i" == "-nw" ]] && unset display done [[ -n $display ]] && gnuclient "$@" 2> /dev/null || \emacs "$@" else \emacs "$@" fi } with GNUCLIENT_ENABLED not defined. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)