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

Re: 'while do done' hangs interactive zsh



On Sun, May 16, 2021 at 2:17 AM Arseny Maslennikov <ar@xxxxxxxxx> wrote:
>
> When zsh tries to execute "while do; done", it enters a busy loop:

I can reproduce this, and it is not dependent on the shortloops option.

> Even more, if the user enters "while do; done" in an interactive zsh
> instance, the busy loop is not interruptible by ^C, ^\ or ^Z; the shell
> has to be killed via some external means.

I can NOT reproduce this in the latest revision from git, but I can
reproduce it in zsh-5.8.




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