Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'while do done' hangs interactive zsh
- X-seq: zsh-workers 48834
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Arseny Maslennikov <ar@xxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: 'while do done' hangs interactive zsh
- Date: Sun, 16 May 2021 07:28:42 -0700
- Archived-at: <https://zsh.org/workers/48834>
- In-reply-to: <YKDi6GYtnBt1ZYTU@cello>
- List-id: <zsh-workers.zsh.org>
- References: <YKDi6GYtnBt1ZYTU@cello>
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