GNU bug report logs - #11886
24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Mon, 9 Jul 2012 12:19:01 UTC

Severity: normal

Merged with 12038

Found in version 24.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vincent Lefevre <vincent <at> vinc17.net>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 11886 <at> debbugs.gnu.org
Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell
Date: Tue, 10 Jul 2012 02:01:34 +0200
On 2012-07-09 18:41:40 +0200, Andreas Schwab wrote:
> Vincent Lefevre <vincent <at> vinc17.net> writes:
> 
> > On 2012-07-09 16:29:35 +0200, Andreas Schwab wrote:
> >> Vincent Lefevre <vincent <at> vinc17.net> writes:
> >> 
> >> > This can be seen with dash, mksh and posh under Debian. For instance:
> >> >
> >> > $ dash -c "/usr/local/emacs-24.1/bin/emacs -Q -nw"
> >> 
> >> What happens when you run gdb like this and type C-c?
> >
> > Exactly the same thing and differences between shells.
> 
> I think this is a bug in the shell.  It should ignore SIGINT and SIGQUIT
> while executing the command.

I can report a bug against these shells, but how does a shell make
a difference between

  some_shell -c "/bin/sleep 3"

(on which SIGINT isn't ignored) and

  some_shell -c "emacs ..."

(on which it should ignore SIGINT)?

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




This bug report was last modified 12 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.