Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11540
| From | Stephane Chazelas <stephane.chazelas@gmail.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: SIGINT handling |
| Date | 2015-09-22 16:28 +0100 |
| Message-ID | <mailman.1599.1442935705.19560.bug-bash@gnu.org> (permalink) |
| References | (2 earlier) <20150921094807.GA6229@chaz.gmail.com> <56005BC4.1070906@case.edu> <20150921212403.GB12000@chaz.gmail.com> <56015A8F.1040505@case.edu> <20150922141832.GA18096@chaz.gmail.com> |
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). -- Stephane
Back to gnu.bash.bug | Previous | Next | Find similar
Re: SIGINT handling Stephane Chazelas <stephane.chazelas@gmail.com> - 2015-09-22 16:28 +0100
csiph-web