From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id VAA16997 for ; Tue, 11 Jun 1996 21:59:47 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id HAA11259; Tue, 11 Jun 1996 07:46:18 -0400 (EDT) Resent-Date: Tue, 11 Jun 1996 07:46:18 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199606111145.NAA11294@bolyai.cs.elte.hu> Subject: Re: % bug in beta20-test1 To: pws@ifh.de (Peter Stephenson) Date: Tue, 11 Jun 1996 13:45:59 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199606111124.NAA22785@hydra.ifh.de> from Peter Stephenson at "Jun 11, 96 01:24:40 pm" Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"_nD0G3.0.ol2.9oLln"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1332 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > hzoli@cs.elte.hu wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > > > > mason@werple.net.au wrote: > > > > % % > > > > zsh: command not found: fg > > > > > > This is supposed to fixed this (plus the same bug which occurred with > > > autoresume). > > > > I did not try this patch but it seems that things like command %1 or > > foo=%1 ; $foo will trigger autoresume. > > The second of these was entirely deliberate. I still think that's > preferable. I do not see why. You can always use fg $foo explicitely. > You can handle the first by looking at the command flags > when checking. I know that (but cflags should be used instead of cmd->flags). But there is an other problem. With your patch \%1 also triggers autoresume so it is not possible to execute a command beginning with a % (but correct me if I'm wrong, I did not try your patch). foo=%1 ; $foo never worked and noone complaind about it. Zoltan