[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SIGINT handling
From: |
Chet Ramey |
Subject: |
Re: SIGINT handling |
Date: |
Tue, 22 Sep 2015 11:29:46 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 9/22/15 11:28 AM, Stephane Chazelas wrote:
> 2015-09-22 15:18:32 +0100, Stephane Chazelas:
>> 2015-09-22 09:41:35 -0400, Chet Ramey:
>> [...]
>>>> AFAICT emacs starts a new process group (and makes it the
>>>> foreground process group).
>>>
>>> Maybe, if it's being run from an interactive shell or in a separate
>>> X window. On the other hand, run this script with `dash':
>> [...]
>>
>> It does that unconditionaly (since 94 at least), but that's
>> under a #ifdef BSD_PGRPS in the emacs source. Strangely enough,
>> that BSD_PGRPS is not defined anymore for freebsd or netbsd
>> though it is for gnu-linux
> [...]
>
> To add on that, the code was removed at some point altogether
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=58eb6cf0f77547d29f4fddca922eb6f98c0ffb28
> in emacs-24.0.96 and then added back without the #ifdef
> BSD_PGRPS
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=322aea6ddf7ec7fd71410d98ec1de69f219aff3e
> in emacs-24.2.90
>
> So versions 24.0.96 to 24.2 must have been broken under
> gnu-linux as well, and newer versions (24.2.90 and above) should
> be OK including on FreeBSD|OS/X (so no need to report it as a
> bug to the emacs maintainers).
I don't use GNU emacs; it's not that big a deal.
--
``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/
- Re: SIGINT handling, (continued)
- Re: SIGINT handling, Chet Ramey, 2015/09/21
- 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 <=
- Re: SIGINT handling, Stephane Chazelas, 2015/09/22
Re: SIGINT handling, Chet Ramey, 2015/09/19
- Re: SIGINT handling, Stephane Chazelas, 2015/09/19
- Re: SIGINT handling, Chet Ramey, 2015/09/19
- Re: SIGINT handling, Stephane Chazelas, 2015/09/20
- Re: SIGINT handling, Stephane Chazelas, 2015/09/20
- Re: SIGINT handling, Stephane Chazelas, 2015/09/20
- Re: SIGINT handling, Chet Ramey, 2015/09/21
- Re: SIGINT handling, Stephane Chazelas, 2015/09/21
- Re: SIGINT handling, Stephane Chazelas, 2015/09/22