[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SIGINT handling
From: |
Chet Ramey |
Subject: |
Re: SIGINT handling |
Date: |
Mon, 21 Sep 2015 15:34:28 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 9/21/15 5:48 AM, Stephane Chazelas wrote:
> I'm not sure I prefer that WCE approach over WUE. Wouldn't it be
> preferable that applications that intercept SIGINT/QUIT/TSTP for
> anything other than clean-up before exit/suspend implement job
> control themselves instead (like vi's :! should create a process
> group and make that the foreground process group of the
> terminal so pressing ^C in sh -c vi, :!sleep 10, only sends the
> SIGINT to sleep)?
The classic example is emacs remapping the terminal intr key to ^G
and using SIGINT as its internal abort-command signal.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- SIGINT handling, Stephane Chazelas, 2015/09/18
- Re: SIGINT handling, Stephane Chazelas, 2015/09/19
- Re: SIGINT handling, Stephane Chazelas, 2015/09/21
- Re: SIGINT handling,
Chet Ramey <=
- Re: SIGINT handling, Stephane Chazelas, 2015/09/21
- Re: SIGINT handling, Stephane Chazelas, 2015/09/21
- Re: SIGINT handling, Chet Ramey, 2015/09/22
- Re: SIGINT handling, Stephane Chazelas, 2015/09/22
- Re: SIGINT handling, Stephane Chazelas, 2015/09/22
- Re: SIGINT handling, Stephane Chazelas, 2015/09/22
- Re: SIGINT handling, Chet Ramey, 2015/09/22
- Re: SIGINT handling, Stephane Chazelas, 2015/09/22
Re: SIGINT handling, Chet Ramey, 2015/09/19