Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Bug] Unexpected process suspension



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



Messages sorted by: Reverse Date, Date, Thread, Author