Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SIGINT/TRAPINT Behaves Differently in 4.3.11
- X-seq: zsh-workers 29800
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: SIGINT/TRAPINT Behaves Differently in 4.3.11
- Date: Sun, 25 Sep 2011 15:31:56 -0700
- In-reply-to: <CAH+w=7bF8Dex+ROnY1XDWTMvxSExVs8Pqzxo7mVvUDzs5jSCbA@mail.gmail.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: <68D8247F-256A-4E0B-9DD5-B7B7C11B87D9@uga.edu> <CAH+w=7bF8Dex+ROnY1XDWTMvxSExVs8Pqzxo7mVvUDzs5jSCbA@mail.gmail.com>
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, <sorin.ionescu@xxxxxxxxx> 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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author