From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: Ctrl-c not working during correction with 5.1
Date: Thu, 3 Sep 2015 05:00:16 +0200 [thread overview]
Message-ID: <CAHYJk3S7seXp=0Nqiu0f35XAv+n7ketL8mTcA4xm0tTPVFOQPA@mail.gmail.com> (raw)
In-Reply-To: <150902193229.ZM17927@torch.brasslantern.com>
On Thu, Sep 3, 2015 at 4:32 AM, Bart Schaefer <schaefer@brasslantern.com> 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
next prev parent reply other threads:[~2015-09-03 3:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-01 14:10 Markus Trippelsdorf
2015-09-01 18:15 ` Bart Schaefer
2015-09-02 13:10 ` Christian Neukirchen
2015-09-02 14:09 ` Bart Schaefer
2015-09-03 2:32 ` Bart Schaefer
2015-09-03 3:00 ` Mikael Magnusson [this message]
2015-09-10 15:09 ` PATCH: Builtin exit from inside ZLE widget Bart Schaefer
2015-09-03 3:17 ` Ctrl-c not working during correction with 5.1 Bart Schaefer
2015-09-03 13:21 ` Christian Neukirchen
2015-09-03 16:39 ` Peter Stephenson
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='CAHYJk3S7seXp=0Nqiu0f35XAv+n7ketL8mTcA4xm0tTPVFOQPA@mail.gmail.com' \
--to=mikachu@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-workers@zsh.org \
/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).