zsh-workers
 help / color / mirror / code / Atom feed
From: TS <debts@xk2c.de>
To: Bart Schaefer <schaefer@brasslantern.com>,
	Zsh hackers list <zsh-workers@zsh.org>,
	vincent@vinc17.net
Subject: Re: Zsh: [7] + 23074 suspended (tty output)
Date: Tue, 18 Sep 2018 21:30:32 +0200	[thread overview]
Message-ID: <f8385660-0127-b040-1904-bd269da8d8ea@xk2c.de> (raw)
In-Reply-To: <20180918011645.GA16046@zira.vinc17.org>

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.
> 


  parent reply	other threads:[~2018-09-18 19:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-15 17:22 TS
2018-09-15 18:10 ` Bart Schaefer
2018-09-15 18:51   ` TS
2018-09-15 19:06     ` TS
2018-09-16  8:40       ` Vincent Lefevre
2018-09-16 15:40         ` TS
2018-09-16 17:51           ` Peter Stephenson
2018-09-17 20:13           ` TS
2018-09-18 17:59             ` Peter Stephenson
2018-09-18  1:16         ` Vincent Lefevre
2018-09-18 17:58           ` Peter Stephenson
2018-09-20 12:01             ` Vincent Lefevre
2018-09-20 16:11               ` Daniel Shahaf
2018-09-18 19:30           ` TS [this message]
2018-09-19  3:38             ` TS
2018-09-19 14:23               ` Daniel Tameling
2018-09-19 16:12               ` Peter Stephenson
2018-09-19 18:15                 ` TS
2018-09-17 14:01 ` Sebastian Gniazdowski
2018-09-17 14:49   ` Valgrind tests (was: Re: Zsh: [7] + 23074 suspended (tty output)) Daniel Shahaf
2018-09-18  5:21     ` Sebastian Gniazdowski
2018-09-18 15:55       ` Daniel Shahaf
2018-09-19  5:04         ` Sebastian Gniazdowski
2019-07-03 23:29         ` Sebastian Gniazdowski
2019-07-03 23:31           ` Sebastian Gniazdowski
2019-07-03 23:45             ` Sebastian Gniazdowski
2019-07-13 14:31               ` Sebastian Gniazdowski
2019-07-14  6:39                 ` Daniel Shahaf
2019-07-14 22:17                   ` Sebastian Gniazdowski
2019-07-15  8:54                     ` Peter Stephenson
2019-07-15  9:29           ` Peter Stephenson
2019-07-15 18:45             ` Sebastian Gniazdowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8385660-0127-b040-1904-bd269da8d8ea@xk2c.de \
    --to=debts@xk2c.de \
    --cc=schaefer@brasslantern.com \
    --cc=vincent@vinc17.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).