From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29314 invoked from network); 4 Aug 2001 04:08:31 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Aug 2001 04:08:31 -0000 Received: (qmail 2513 invoked by alias); 4 Aug 2001 04:08:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15568 Received: (qmail 2497 invoked from network); 4 Aug 2001 04:08:20 -0000 Date: Fri, 3 Aug 2001 10:54:21 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: [falk@debian.org: Bug#107528: "while do done" gets into uninterruptable loop] Message-ID: <20010803105421.A14927@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i ----- Forwarded message from Falk Hueffner ----- 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