From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21745 invoked from network); 16 May 2000 19:04:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 16 May 2000 19:04:29 -0000 Received: (qmail 3661 invoked by alias); 16 May 2000 19:04:22 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11422 Received: (qmail 3654 invoked from network); 16 May 2000 19:04:21 -0000 From: "Bart Schaefer" Message-Id: <000516120249.ZM10127@candle.brasslantern.com> Date: Tue, 16 May 2000 12:02:49 -0700 In-Reply-To: Comments: In reply to Tanaka Akira "suspend while loop." (May 17, 3:41am) References: X-Mailer: Z-Mail Lite (5.0.0 30July97) To: Tanaka Akira , zsh-workers@sunsite.auc.dk Subject: Re: suspend while loop. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 17, 3:41am, Tanaka Akira wrote: > Subject: 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.