[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT
From: |
Vincent Lefevre |
Subject: |
bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell |
Date: |
Mon, 9 Jul 2012 18:08:58 +0200 |
User-agent: |
Mutt/1.5.21-6205-vl-r52214 (2012-05-24) |
On 2012-07-09 16:29:35 +0200, Andreas Schwab wrote:
> Vincent Lefevre <vincent@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 assume that
like Ctrl-G in Emacs, a Ctrl-C in gdb is intended to be just for gdb,
not for the parent processes, contrary to something like
some_shell -c "sleep 3"; echo foo
where Ctrl-C is typed during the "sleep 3" (as expected, "foo" is
never output).
--
Vincent Lefèvre <vincent@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)
bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell, Andreas Schwab, 2012/07/09