Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug related to stdin/always/jobcontrol
Christian Neukirchen <chneukirchen@xxxxxxxxx> writes:
> Hi,
>
> Stripped down test case for a mysterious loss of child:
>
> zsh 5.2 (x86_64-unknown-linux-gnu)
> zsh-5.2-0-gc86c20a
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 29 2016 13:06:04)
> Included patches: 1-2207
>
> zsh -f
> juno% v() { { vim - } always { true } }
> juno% ls | v
> ^Z
> zsh: running v
> juno% jobs -p
> [1] 4421 running v
> juno% fg
> fg: no current job
> juno% fg %1
> fg: %1: no such job
> juno% kill %1
> kill: kill %1 failed: no such process
> juno% echo ${jobstates}
> suspended::4421=running
> juno% ^D
> Vim: Caught deadly signal HUP
> ...
>
> Everything works ok when
> - always is not used
> - stdin is not used
>
> Thanks,
For the record, this is also broken on 5.0.7 (Linux 3.10.42-1-lts),
but works on 4.3.17 (3.2.0-4-amd64).
--
Christian Neukirchen <chneukirchen@xxxxxxxxx> http://chneukirchen.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author