From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12859 invoked by alias); 25 Sep 2011 22:32:20 -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: 29800 Received: (qmail 2542 invoked from network); 25 Sep 2011 22:32:10 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110925153156.ZM20307@torch.brasslantern.com> Date: Sun, 25 Sep 2011 15:31:56 -0700 In-reply-to: Comments: In reply to Bart Schaefer "Re: SIGINT/TRAPINT Behaves Differently in 4.3.11" (Sep 16, 10:17am) References: <68D8247F-256A-4E0B-9DD5-B7B7C11B87D9@uga.edu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: SIGINT/TRAPINT Behaves Differently in 4.3.11 MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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. Can you be a bit more specific about that call tree? On what operating system / distribution are you experiencing this?