From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Lefevre 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, 9 Jul 2012 18:08:58 +0200 Message-ID: <20120709160857.GL5847@xvii.vinc17.org> References: <874nph2kwd.fsf@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1341850197 30215 80.91.229.3 (9 Jul 2012 16:09:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2012 16:09:57 +0000 (UTC) Cc: 11886@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 09 18:09:54 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 1SoGX2-0001oh-6P for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 18:09:52 +0200 Original-Received: from localhost ([::1]:39515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoGX1-0006UK-6f for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jul 2012 12:09:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoGWy-0006Ta-FL for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:09:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoGWw-0000zw-MB for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:09:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoGWw-0000zr-In for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:09:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SoGc1-0005yQ-T9 for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 12:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jul 2012 16:15:01 +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.134185045722900 (code B ref 11886); Mon, 09 Jul 2012 16:15:01 +0000 Original-Received: (at 11886) by debbugs.gnu.org; 9 Jul 2012 16:14:17 +0000 Original-Received: from localhost ([127.0.0.1]:58321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoGbI-0005xJ-OA for submit@debbugs.gnu.org; Mon, 09 Jul 2012 12:14:16 -0400 Original-Received: from vinc17.pck.nerim.net ([213.41.242.187]:50352 helo=smtp-xvii.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoGbH-0005xD-NK for 11886@debbugs.gnu.org; Mon, 09 Jul 2012 12:14:16 -0400 Original-Received: by xvii.vinc17.org (Postfix, from userid 1000) id 18A7438C00A; Mon, 9 Jul 2012 18:08:58 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6205-vl-r52214 (2012-05-24) 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:61762 Archived-At: On 2012-07-09 16:29:35 +0200, Andreas Schwab wrote: > Vincent Lefevre writes: >=20 > > This can be seen with dash, mksh and posh under Debian. For instance: > > > > $ dash -c "/usr/local/emacs-24.1/bin/emacs -Q -nw" >=20 > 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). --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)