From: Vincent Lefevre <vincent@vinc17.net>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 11886@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 [thread overview]
Message-ID: <20120710000134.GQ5847@xvii.vinc17.org> (raw)
In-Reply-To: <m2hatgc2ez.fsf@igel.home>
On 2012-07-09 18:41:40 +0200, Andreas Schwab wrote:
> Vincent Lefevre <vincent@vinc17.net> writes:
>
> > 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 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@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)
next prev parent reply other threads:[~2012-07-10 0:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-09 12:12 bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Vincent Lefevre
2012-07-09 14:29 ` Andreas Schwab
2012-07-09 16:08 ` Vincent Lefevre
2012-07-09 16:41 ` Andreas Schwab
2012-07-10 0:01 ` Vincent Lefevre [this message]
2012-07-09 16:51 ` Andreas Schwab
2012-07-10 0:18 ` Vincent Lefevre
2012-07-10 6:52 ` Andreas Schwab
2012-08-07 14:05 ` Vincent Lefevre
2012-08-07 17:42 ` Vincent Lefevre
2012-07-09 15:22 ` Andreas Schwab
2012-11-26 22:36 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120710000134.GQ5847@xvii.vinc17.org \
--to=vincent@vinc17.net \
--cc=11886@debbugs.gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).