From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19782 invoked from network); 18 May 2000 06:56:08 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 May 2000 06:56:08 -0000 Received: (qmail 19735 invoked by alias); 18 May 2000 06:55:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11451 Received: (qmail 19727 invoked from network); 18 May 2000 06:55:53 -0000 From: "Bart Schaefer" Message-Id: <1000518065546.ZM24127@candle.brasslantern.com> Date: Thu, 18 May 2000 06:55:46 +0000 In-Reply-To: <000516120249.ZM10127@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: suspend while loop." (May 16, 12:02pm) References: <000516120249.ZM10127@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: suspend while loop. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 16, 12:02pm, Bart Schaefer wrote: } Subject: Re: suspend while loop. } } > Z(4):akr@serein% Src/zsh -f } > serein% cat |while read line; do echo $line; done } > } > } > `cat' is suspended. But zsh wait something yet... } } I think you can't break out of `read' with ^Z. Try it without the cat| } and you'll find you can't suspend the loop. Does anyone have any insights on this? I was about to announce 3.0.8, but discovered that this loop is not suspendable there either. I don't have much time for debugging it myself this week ... If it doesn't appear to be easily fixed, I'm going to go ahead and put 3.0.8 out anyway. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com