Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Ctrl-c not working during correction with 5.1
- X-seq: zsh-workers 36407
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Ctrl-c not working during correction with 5.1
- Date: Thu, 3 Sep 2015 05:00:16 +0200
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fGLPw5RBU/1tFcaVknSF4K9G3DWPYUhmlZp/L/U142o=; b=VHUfPnssyHPKOu4e2hgk9kQh4Qs8l5CXsTQxXlstAjQbgccVNzSAZsxxCqnmczVRca 8+TWpBq7XwAcs/pU/Wdkfo82KooeoAC0InaDrUCtxpOyBPzeZrx1Ey1aDO4WM4ozBa02 1vHCkM+kg+w6NNWAkXopZBFy21hzkyU4bwmez2CBODD0YAVPzPKGr8p3ZAnSrlpZLbmJ sr2b+eFu8lgzn7RG6FHfNWaioelmJmE+nIWBIkwecV4y2q20Nbt6Nq1otL7bsbaN2dhb Ojhk/Syl3DoSROpQWSebuU77cGdPq8NwIhkXIAqBTG/nTk2Wv3eYoe9XptIydCM8B0z2 mTiw==
- In-reply-to: <150902193229.ZM17927@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150901141031.GB423@x4> <150901111502.ZM2072@torch.brasslantern.com> <87wpw9vuek.fsf@gmail.com> <150902193229.ZM17927@torch.brasslantern.com>
On Thu, Sep 3, 2015 at 4:32 AM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> An additional comment ...
>
> On Sep 2, 3:10pm, Christian Neukirchen wrote:
> }
> } zsh 5.1 (x86_64-unknown-linux-gnu)
> } zsh-5.1-0-g11189c6
> } % zsh -f
> } juno% setopt NOALWAYSLASTPROMPT PROMPT_SUBST
> } juno% PS1='$(echo foo)%# '
> } foo% ls /usr/share/man/man1/<PRESS TAB HERE>
> } zsh: do you wish to see all 2528 possibilities (1264 lines)? <PRESS ^C HERE>n
> } $(echo ls /usr/share/man/man1/
> } foo%
> }
> } Somehow the unevaluated PS1 is printed.
>
> While attempting to reproduce this, I somehow managed to cause this to
> kill the *parent* shell from which I started up "zsh -f". I have no
> good ideas how that could happen; no core files were produced. But I
> thought I would mention it, in case it indicates this is a more serious
> problem than it appears.
>
> In any event, it is reproducible.
This is at least two bugs,
zle -f
% bindkey 0 e
% e() exit
% zle -N e
% '
quote> 0
this prints the PS2 prompt indefinitely, ctrl-c is ignored and so is a
normal kill, I have to kill -9 from another shell to stop it. The
first happens in .7 and .8 too, but the ctrl-c being ignored is new, I
think.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author