From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21018 invoked by alias); 1 Oct 2011 19:20:29 -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: 29810 Received: (qmail 23426 invoked from network); 1 Oct 2011 19:20:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: neutral (ns1.primenet.com.au: 74.125.82.43 is neither permitted nor denied by SPF record at ntlworld.com) X-ProxyUser-IP: 86.6.29.42 Date: Sat, 1 Oct 2011 20:14:34 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: SIGINT/TRAPINT Behaves Differently in 4.3.11 Message-ID: <20111001201434.54f83690@pws-pc.ntlworld.com> In-Reply-To: <110925153156.ZM20307@torch.brasslantern.com> References: <68D8247F-256A-4E0B-9DD5-B7B7C11B87D9@uga.edu> <110925153156.ZM20307@torch.brasslantern.com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 25 Sep 2011 15:31:56 -0700 Bart Schaefer wrote: > On Sep 16, 10:17am, Bart Schaefer wrote: > } Subject: Re: SIGINT/TRAPINT Behaves Differently in 4.3.11 > } > } On Thu, Sep 15, 2011 at 7:35 PM, wrote: > } > > } > I have the following call tree: function prompt_theme_precmd() -> function git-info() -> SUBSHELL -> function git() -> hub -> Git. > } > > } > On ZSH 4.3.10, pressing CTRL + C while the above is executing calls > } > the shell's TRAPINT function, which is the expected behaviour, but > } > since 4.3.11, SIGINT is sent only to the executing process (Git), and > } > the shell's TRAPINT function is no longer called. > > I've been doing some experiments to try to reproduce this, but I can't > make it happen. I always get the TRAPINT called when I interrupt a job > started from precmd. This is as far as I got, too, but my attempts have not been remotely exhaustive. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/