From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6442 invoked from network); 15 May 1997 09:20:08 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 15 May 1997 09:20:08 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id FAA13225; Thu, 15 May 1997 05:04:48 -0400 (EDT) Resent-Date: Thu, 15 May 1997 05:04:48 -0400 (EDT) Message-Id: <199705150908.LAA28604@hydra.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: stopping "wait" in (sub)script ? In-reply-to: "Zoltan Hidvegi"'s message of "Thu, 15 May 1997 03:27:14 MET." <199705150727.DAA03178@hzoli.home> Date: Thu, 15 May 1997 11:07:59 +0200 From: Peter Stephenson Resent-Message-ID: <"LxifC3.0.aE3.m6jUp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3150 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zoltan Hidvegi wrote: > > > I cannot stop such command > > > > > > $ for i in `cat ss` > > > for> do xvi $i & > > > for> wait > > > for> done > > > > yup, same here on IRIX 5.3 with 3.1.2-test1. The `cat ss` is > > definitely necessary, there is no problem if it's replaced by a simple > > list of values. Weird. > > OK, now I got it. The fix looks really simple, and I do hope that this is > really al that's needed. This doesn't seem to fix this particular bug here, it's still uninterruptible. On the other hand, replacing `cat ss` with $( (:); while true; do; done This bug has been fixed as you say, so the patch is right as far as it goes. -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413 Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.