Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11541
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: SIGINT handling |
| Date | 2015-09-22 11:29 -0400 |
| Message-ID | <mailman.1600.1442935796.19560.bug-bash@gnu.org> (permalink) |
| References | (3 earlier) <56005BC4.1070906@case.edu> <20150921212403.GB12000@chaz.gmail.com> <56015A8F.1040505@case.edu> <20150922141832.GA18096@chaz.gmail.com> <20150922152816.GA5223@chaz.gmail.com> |
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
Re: SIGINT handling Chet Ramey <chet.ramey@case.edu> - 2015-09-22 11:29 -0400
csiph-web