zsh-workers
 help / color / mirror / code / Atom feed
* [falk@debian.org: Bug#107528: "while do done" gets into uninterruptable loop]
@ 2001-08-03 14:54 Clint Adams
  2001-08-07 13:55 ` Sven Wischnowsky
  0 siblings, 1 reply; 4+ messages in thread
From: Clint Adams @ 2001-08-03 14:54 UTC (permalink / raw)
  To: zsh-workers

----- 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-02-25  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-03 14:54 [falk@debian.org: Bug#107528: "while do done" gets into uninterruptable loop] Clint Adams
2001-08-07 13:55 ` Sven Wischnowsky
2002-02-21  4:05   ` Clint Adams
2002-02-25  9:18     ` Sven Wischnowsky

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).