From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43491-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 b6f95cc5 for ; Tue, 18 Sep 2018 19:30:53 +0000 (UTC) Received: (qmail 13726 invoked by alias); 18 Sep 2018 19:30:43 -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: 43491 Received: (qmail 27837 invoked by uid 1010); 18 Sep 2018 19:30:43 -0000 X-Qmail-Scanner-Diagnostics: from www138.your-server.de 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(88.198.28.7):SA:0(-2.6/5.0):. Processed in 2.175241 secs); 18 Sep 2018 19:30:43 -0000 X-Envelope-From: debts@xk2c.de X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Subject: Re: Zsh: [7] + 23074 suspended (tty output) To: Bart Schaefer , Zsh hackers list , vincent@vinc17.net 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> From: TS Message-ID: Date: Tue, 18 Sep 2018 21:30:32 +0200 MIME-Version: 1.0 In-Reply-To: <20180918011645.GA16046@zira.vinc17.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Authenticated-Sender: yup4hing8ed1teph9@Xk2c.de X-Virus-Scanned: Clear (ClamAV 0.100.1/24953/Tue Sep 18 20:11:09 2018) Hello Vincent, please refine your bugreport. I am not able to reproduce your report. basically: emacs != eclient % su -l heinb Password: tosh% emacs zsh: suspended emacs tosh% bg [1] + continued emacs tosh% [1] + suspended (tty output) emacs tosh% i now undestand upsteam. this is with zsh git tag 5.6.2 kind regards, Thilo Vincent Lefevre schrieb/wrote: > 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. >