From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Date: Mon, 09 Jul 2012 18:41:40 +0200 Message-ID: References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341852184 14360 80.91.229.3 (9 Jul 2012 16:43:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2012 16:43:04 +0000 (UTC) Cc: 11886@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 09 18:43:01 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SoH36-0006aN-TQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 18:43:01 +0200 Original-Received: from localhost ([::1]:52648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoH35-00013F-Lw for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 12:42:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoH2z-00013A-Cp for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:42:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoH2t-0002Rx-16 for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:42:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoH2s-0002Re-Tn for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:42:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SoH7y-0006k4-9e for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jul 2012 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11886 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134185242325815 (code B ref 11886); Mon, 09 Jul 2012 16:48:02 +0000 Original-Received: (at 11886) by debbugs.gnu.org; 9 Jul 2012 16:47:03 +0000 Original-Received: from localhost ([127.0.0.1]:58359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoH6z-0006iF-BT for submit@debbugs.gnu.org; Mon, 09 Jul 2012 12:47:02 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:54007) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoH6w-0006i3-W8 for 11886@debbugs.gnu.org; Mon, 09 Jul 2012 12:47:00 -0400 Original-Received: from frontend4.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3WWC5D6gZDz3hhcb; Mon, 9 Jul 2012 18:42:39 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-126-222.dynamic.mnet-online.de [88.217.126.222]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WWC451f62zbbn8; Mon, 9 Jul 2012 18:41:41 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 726BFCA2A5; Mon, 9 Jul 2012 18:41:40 +0200 (CEST) X-Yow: RELATIVES!! In-Reply-To: <20120709160857.GL5847@xvii.vinc17.org> (Vincent Lefevre's message of "Mon, 9 Jul 2012 18:08:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61765 Archived-At: Vincent Lefevre writes: > On 2012-07-09 16:29:35 +0200, Andreas Schwab wrote: >> Vincent Lefevre 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. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."