From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 588 invoked by alias); 3 Sep 2015 03:00:21 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 36407 Received: (qmail 13224 invoked from network); 3 Sep 2015 03:00:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 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== MIME-Version: 1.0 X-Received: by 10.141.28.2 with SMTP id f2mr65874234qhe.17.1441249216771; Wed, 02 Sep 2015 20:00:16 -0700 (PDT) In-Reply-To: <150902193229.ZM17927@torch.brasslantern.com> References: <20150901141031.GB423@x4> <150901111502.ZM2072@torch.brasslantern.com> <87wpw9vuek.fsf@gmail.com> <150902193229.ZM17927@torch.brasslantern.com> Date: Thu, 3 Sep 2015 05:00:16 +0200 Message-ID: Subject: Re: Ctrl-c not working during correction with 5.1 From: Mikael Magnusson To: Bart Schaefer Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On Thu, Sep 3, 2015 at 4:32 AM, Bart Schaefer 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/ > } zsh: do you wish to see all 2528 possibilities (1264 lines)? 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