zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Rudi C <rudiwillalwaysloveyou@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: [Bug] Unexpected process suspension
Date: Tue, 12 May 2020 11:48:20 +0000	[thread overview]
Message-ID: <20200512114820.0c90589c@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <CAE9z9A3CM6A1AdprdABLoPo_vfPKEnt5+3yLVT7hUbcQYUhT2Q@mail.gmail.com>

Rudi C wrote on Tue, 12 May 2020 11:32 +0430:
> mdoc-test () {
> 
>     sleep 0 | sleep 0
>     cat}  
> 
> echo start |VISUAL=vim command vipe|mdoc-test
> 
> # zsh: suspended (tty output)

Reproduced in master and reduced to:

export EDITOR=ed
</dev/null vipe | { :|:; cat }

With EDITOR=cat it works.

Furthermore, trying to get vipe(1) out of the picture, I ran into:

% ed =(cat < /dev/null) | { :|:; cat }
zsh: suspended (tty input)  cat


  reply	other threads:[~2020-05-12 11:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12  7:02 Rudi C
2020-05-12 11:48 ` Daniel Shahaf [this message]
2020-05-12 11:53   ` Roman Perepelitsa
2020-05-12 11:57     ` Daniel Shahaf
2020-05-12 12:05       ` Roman Perepelitsa
2020-05-12 13:31     ` Stephane Chazelas
2020-05-12 17:38 ` Bart Schaefer
2020-05-13  6:29   ` Stephane Chazelas
2020-05-20 22:32     ` Rudi C
2020-05-21  3:33       ` A bug tracker (was: Re: [Bug] Unexpected process suspension) Daniel Shahaf
2020-05-21  4:44         ` Bart Schaefer
2020-05-21 13:39         ` Oliver Kiddle
2020-05-21 16:46           ` Daniel Shahaf

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=20200512114820.0c90589c@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=rudiwillalwaysloveyou@gmail.com \
    --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).