zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: pws@ifh.de (Peter Stephenson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: % bug in beta20-test1
Date: Tue, 11 Jun 1996 13:45:59 +0200 (MET DST)	[thread overview]
Message-ID: <199606111145.NAA11294@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199606111124.NAA22785@hydra.ifh.de> from Peter Stephenson at "Jun 11, 96 01:24:40 pm"

> 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



      reply	other threads:[~1996-06-11 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-07 16:17 Geoff Wing
1996-06-11  9:14 ` Peter Stephenson
1996-06-11  9:56   ` Zoltan Hidvegi
1996-06-11 11:24     ` Peter Stephenson
1996-06-11 11:45       ` Zoltan Hidvegi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199606111145.NAA11294@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).