From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: [falk@debian.org: Bug#107528: "while do done" gets into uninterruptable loop]
Date: Fri, 3 Aug 2001 10:54:21 -0400 [thread overview]
Message-ID: <20010803105421.A14927@dman.com> (raw)
----- Forwarded message from Falk Hueffner <falk@debian.org> -----
Package: zsh
Version: 4.0.2-2
Severity: normal
When I type "while do done", zsh loops without reacting to signals
like Ctrl-c, Ctrl-\, kill -TERM. No problem with "while :; do
done". The man page says
while list do list done
and list might be empty, so this should be valid syntax.
I just noticed it returns immediately if $? happens to be non-zero. I
think it should always loop infinitely. In any case, it should be
interruptable.
Falk
-- System Information
Debian Release: testing/unstable
Architecture: alpha
Kernel: Linux borkum 2.4.7 #2 Sat Jul 21 14:28:04 CEST 2001 alpha
Locale: LANG=C, LC_CTYPE=C
next reply other threads:[~2001-08-04 4:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-03 14:54 Clint Adams [this message]
2001-08-07 13:55 ` Sven Wischnowsky
2002-02-21 4:05 ` Clint Adams
2002-02-25 9:18 ` Sven Wischnowsky
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=20010803105421.A14927@dman.com \
--to=clint@zsh.org \
--cc=zsh-workers@sunsite.dk \
/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).