Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11541

Re: SIGINT handling

Path csiph.com!xmission!feeder.erje.net!us.feeder.erje.net!nntp.club.cc.cmu.edu!169.228.66.3.MISMATCH!ihnp4.UCSD.Edu!usenet.stanford.edu!not-for-mail
From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: SIGINT handling
Date Tue, 22 Sep 2015 11:29:46 -0400
Lines 36
Approved bug-bash@gnu.org
Message-ID <mailman.1600.1442935796.19560.bug-bash@gnu.org> (permalink)
References <20150918151439.GA16455@chaz.gmail.com> <20150919203628.GA27872@chaz.gmail.com> <20150921094807.GA6229@chaz.gmail.com> <56005BC4.1070906@case.edu> <20150921212403.GB12000@chaz.gmail.com> <56015A8F.1040505@case.edu> <20150922141832.GA18096@chaz.gmail.com> <20150922152816.GA5223@chaz.gmail.com>
Reply-To chet.ramey@case.edu
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1442935797 7442 208.118.235.17 (22 Sep 2015 15:29:57 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash <bug-bash@gnu.org>, Jilles Tjoelker <jilles@stack.nl>, chet.ramey@case.edu
To Stephane Chazelas <stephane.chazelas@gmail.com>
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
In-Reply-To <20150922152816.GA5223@chaz.gmail.com>
X-Junkmail-Status score=10/60, host=mpv6.cwru.edu
X-Junkmail-Whitelist YES (by domain whitelist at mpv1.tis.cwru.edu)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From 129.22.105.36
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11541

Show key headers only | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: SIGINT handling Chet Ramey <chet.ramey@case.edu> - 2015-09-22 11:29 -0400

csiph-web