From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell 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 12:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11886 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11886@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13418362931902 (code B ref -1); Mon, 09 Jul 2012 12:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jul 2012 12:18:13 +0000 Received: from localhost ([127.0.0.1]:57652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoCuq-0000Ud-G7 for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:18:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33216) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoCuo-0000UW-Uo for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:18:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoCpd-0000Sv-Rk for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:12:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoCpd-0000Sn-O0 for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:12:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoCpX-000076-HA for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 08:12:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoCpS-0000Pt-EK for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 08:12:42 -0400 Received: from vinc17.pck.nerim.net ([213.41.242.187]:61787 helo=smtp-xvii.vinc17.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoCpS-0000P2-2R for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 08:12:38 -0400 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 2683738C00A; Mon, 9 Jul 2012 14:12:35 +0200 (CEST) From: Vincent Lefevre Date: Mon, 09 Jul 2012 14:12:34 +0200 Message-ID: <874nph2kwd.fsf@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) A Ctrl-G in an Emacs 24.1 running in a terminal sends a SIGINT to the parent shell. This can be seen with dash, mksh and posh under Debian. For instance: $ dash -c "/usr/local/emacs-24.1/bin/emacs -Q -nw" $ echo $? 130 Emacs 23 didn't have such a problem. In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-06-19 on xvii Configured using: `configure '--prefix=/usr/local/emacs-24.1' '--enable-asserts'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: en_DK value of $LANG: POSIX value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 0 ; 2 7 8 ; 0 c ESC ] 1 1 ; r g b : 0 0 0 0 / 0 0 0 0 / 0 0 0 0 ESC \ ESC x r e p o r t - b u g RET Recent messages: ("/usr/local/emacs-24.1/bin/emacs") Loading /home/vinc17/share/emacs/site-lisp/mutteditor.el (source)...done Loading time...done For information about GNU Emacs and the GNU system, type C-h C-a. goto-history-element: Beginning of history; no preceding item Load-path shadows: ~/share/emacs/site-lisp/sh-script hides /usr/local/emacs-24.1/share/emacs/24.1/lisp/progmodes/sh-script Features: (shadow sort gnus-util mail-extr warnings emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time cus-start cus-load time-date paren cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell 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 14:35: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: To: Vincent Lefevre Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134184449914150 (code B ref 11886); Mon, 09 Jul 2012 14:35:02 +0000 Received: (at 11886) by debbugs.gnu.org; 9 Jul 2012 14:34:59 +0000 Received: from localhost ([127.0.0.1]:58190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoF3C-0003gA-7S for submit@debbugs.gnu.org; Mon, 09 Jul 2012 10:34:58 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:55346) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoF39-0003g2-8H for 11886@debbugs.gnu.org; Mon, 09 Jul 2012 10:34:56 -0400 Received: from frontend4.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3WW88p3gFmz4KK3S; Mon, 9 Jul 2012 16:30:33 +0200 (CEST) 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 3WW87h3bmKzbbh9; Mon, 9 Jul 2012 16:29:36 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id C6F28CA2A2; Mon, 9 Jul 2012 16:29:35 +0200 (CEST) From: Andreas Schwab References: <874nph2kwd.fsf@xvii.vinc17.org> X-Yow: Where's the Coke machine? Tell me a joke!! Date: Mon, 09 Jul 2012 16:29:35 +0200 In-Reply-To: <874nph2kwd.fsf@xvii.vinc17.org> (Vincent Lefevre's message of "Mon, 09 Jul 2012 14:12:34 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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? 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." From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell 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 15:29: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: To: Vincent Lefevre Cc: dann@ics.uci.edu, 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134184768218758 (code B ref 11886); Mon, 09 Jul 2012 15:29:01 +0000 Received: (at 11886) by debbugs.gnu.org; 9 Jul 2012 15:28:02 +0000 Received: from localhost ([127.0.0.1]:58263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoFsX-0004sF-CO for submit@debbugs.gnu.org; Mon, 09 Jul 2012 11:28:01 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:51641) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoFsU-0004s6-Iv for 11886@debbugs.gnu.org; Mon, 09 Jul 2012 11:27:59 -0400 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 3WW9L3159wz3hhj6; Mon, 9 Jul 2012 17:23:36 +0200 (CEST) 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 3WW9Jt134wzbbhZ; Mon, 9 Jul 2012 17:22:38 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 8EDC7CA2A2; Mon, 9 Jul 2012 17:22:37 +0200 (CEST) From: Andreas Schwab References: <874nph2kwd.fsf@xvii.vinc17.org> X-Yow: I'm CONTROLLED by the CIA!! EVERYONE is controlled by the CIA!! Date: Mon, 09 Jul 2012 17:22:37 +0200 In-Reply-To: <874nph2kwd.fsf@xvii.vinc17.org> (Vincent Lefevre's message of "Mon, 09 Jul 2012 14:12:34 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) BSD_PGRPS has been removed from s/gnu-linux.h in but without a change log. Subsequently removed BSD_PGRPS altogether. 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." From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell 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: To: Andreas Schwab Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134185045722900 (code B ref 11886); Mon, 09 Jul 2012 16:15:01 +0000 Received: (at 11886) by debbugs.gnu.org; 9 Jul 2012 16:14:17 +0000 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 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 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 18A7438C00A; Mon, 9 Jul 2012 18:08:58 +0200 (CEST) Date: Mon, 9 Jul 2012 18:08:58 +0200 From: Vincent Lefevre Message-ID: <20120709160857.GL5847@xvii.vinc17.org> References: <874nph2kwd.fsf@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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) From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell 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: To: Vincent Lefevre Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134185242325815 (code B ref 11886); Mon, 09 Jul 2012 16:48:02 +0000 Received: (at 11886) by debbugs.gnu.org; 9 Jul 2012 16:47:03 +0000 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 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 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) 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) Received: by igel.home (Postfix, from userid 501) id 726BFCA2A5; Mon, 9 Jul 2012 18:41:40 +0200 (CEST) From: Andreas Schwab References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> X-Yow: RELATIVES!! Date: Mon, 09 Jul 2012 18:41:40 +0200 In-Reply-To: <20120709160857.GL5847@xvii.vinc17.org> (Vincent Lefevre's message of "Mon, 9 Jul 2012 18:08:58 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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." From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell 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:57: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: To: Vincent Lefevre Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134185299926670 (code B ref 11886); Mon, 09 Jul 2012 16:57:02 +0000 Received: (at 11886) by debbugs.gnu.org; 9 Jul 2012 16:56:39 +0000 Received: from localhost ([127.0.0.1]:58392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoHGF-0006w2-FB for submit@debbugs.gnu.org; Mon, 09 Jul 2012 12:56:39 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:57422) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoHG9-0006vr-KW for 11886@debbugs.gnu.org; Mon, 09 Jul 2012 12:56:34 -0400 Received: from frontend4.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3WWCJB443Fz4KK46; Mon, 9 Jul 2012 18:52:10 +0200 (CEST) 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 3WWCH471kvzbbhJ; Mon, 9 Jul 2012 18:51:12 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id A527DCA2A5; Mon, 9 Jul 2012 18:51:12 +0200 (CEST) From: Andreas Schwab References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> X-Yow: My life is a patio of fun! Date: Mon, 09 Jul 2012 18:51:12 +0200 In-Reply-To: <20120709160857.GL5847@xvii.vinc17.org> (Vincent Lefevre's message of "Mon, 9 Jul 2012 18:08:58 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) You will probably get the same behaviour with any other interactive command. Emacs was unusual in that it put itself in its own process group. 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." From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jul 2012 00:07: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: To: Andreas Schwab Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.13418788195236 (code B ref 11886); Tue, 10 Jul 2012 00:07:01 +0000 Received: (at 11886) by debbugs.gnu.org; 10 Jul 2012 00:06:59 +0000 Received: from localhost ([127.0.0.1]:58755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoNyj-0001MO-C9 for submit@debbugs.gnu.org; Mon, 09 Jul 2012 20:06:58 -0400 Received: from vinc17.pck.nerim.net ([213.41.242.187]:56223 helo=smtp-xvii.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoNyf-0001ME-Dp for 11886@debbugs.gnu.org; Mon, 09 Jul 2012 20:06:55 -0400 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 52E0838C037; Tue, 10 Jul 2012 02:01:34 +0200 (CEST) Date: Tue, 10 Jul 2012 02:01:34 +0200 From: Vincent Lefevre Message-ID: <20120710000134.GQ5847@xvii.vinc17.org> References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 2012-07-09 18:41:40 +0200, Andreas Schwab wrote: > Vincent Lefevre writes: >=20 > > 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 instan= ce: > >> > > >> > $ 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. >=20 > I think this is a bug in the shell. It should ignore SIGINT and SIGQUI= T > 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)? --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jul 2012 00:24: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: To: Andreas Schwab Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.13418798166637 (code B ref 11886); Tue, 10 Jul 2012 00:24:02 +0000 Received: (at 11886) by debbugs.gnu.org; 10 Jul 2012 00:23:36 +0000 Received: from localhost ([127.0.0.1]:58772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoOEq-0001j0-GT for submit@debbugs.gnu.org; Mon, 09 Jul 2012 20:23:36 -0400 Received: from vinc17.pck.nerim.net ([213.41.242.187]:56572 helo=smtp-xvii.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoOEo-0001is-1Y for 11886@debbugs.gnu.org; Mon, 09 Jul 2012 20:23:35 -0400 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 2952438C037; Tue, 10 Jul 2012 02:18:15 +0200 (CEST) Date: Tue, 10 Jul 2012 02:18:15 +0200 From: Vincent Lefevre Message-ID: <20120710001815.GR5847@xvii.vinc17.org> References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 2012-07-09 18:51:12 +0200, Andreas Schwab wrote: > You will probably get the same behaviour with any other interactive > command. Emacs was unusual in that it put itself in its own process > group. No, a Ctrl-C in zsh -c "info Emacs"; echo foo interrupts info though it is interactive, contrary to what happens with gdb and Emacs. It seems that the condition is that the command traps the signal. One even has: ypig:~> cat trap.sh #!/bin/bash trap 'kill -INT $$' INT sleep 3 ypig:~> zsh -c trap.sh; echo foo ^Czsh: exit 130 zsh -c trap.sh foo --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jul 2012 06:59: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: To: Vincent Lefevre Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134190348510906 (code B ref 11886); Tue, 10 Jul 2012 06:59:02 +0000 Received: (at 11886) by debbugs.gnu.org; 10 Jul 2012 06:58:05 +0000 Received: from localhost ([127.0.0.1]:59088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoUOZ-0002po-CE for submit@debbugs.gnu.org; Tue, 10 Jul 2012 02:58:05 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:39934) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoUOW-0002pN-DB for 11886@debbugs.gnu.org; Tue, 10 Jul 2012 02:58:01 -0400 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 3WWYz907j9z3hhft; Tue, 10 Jul 2012 08:53:40 +0200 (CEST) Received: from igel.home (ppp-88-217-107-49.dynamic.mnet-online.de [88.217.107.49]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WWYxz54XTzbbnM; Tue, 10 Jul 2012 08:52:39 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 234F5CA2A5; Tue, 10 Jul 2012 08:52:38 +0200 (CEST) From: Andreas Schwab References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> <20120710001815.GR5847@xvii.vinc17.org> X-Yow: WHOA!! I'm having a RELIGIOUS EXPERIENCE right NOW!! Date: Tue, 10 Jul 2012 08:52:38 +0200 In-Reply-To: <20120710001815.GR5847@xvii.vinc17.org> (Vincent Lefevre's message of "Tue, 10 Jul 2012 02:18:15 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Vincent Lefevre writes: > It seems that the condition is that the command traps the signal. Of course. A command that exits on C-c exits on C-c. 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." From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Aug 2012 14:14: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: To: Andreas Schwab Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.134434879018279 (code B ref 11886); Tue, 07 Aug 2012 14:14:01 +0000 Received: (at 11886) by debbugs.gnu.org; 7 Aug 2012 14:13:10 +0000 Received: from localhost ([127.0.0.1]:39808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SykWz-0004kl-UR for submit@debbugs.gnu.org; Tue, 07 Aug 2012 10:13:10 -0400 Received: from vinc17.pck.nerim.net ([213.41.242.187]:49463 helo=smtp-xvii.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SykWy-0004ke-3b for 11886@debbugs.gnu.org; Tue, 07 Aug 2012 10:13:09 -0400 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 0AD5632C009; Tue, 7 Aug 2012 16:05:07 +0200 (CEST) Date: Tue, 7 Aug 2012 16:05:07 +0200 From: Vincent Lefevre Message-ID: <20120807140507.GB5316@xvii.vinc17.org> References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> <20120710001815.GR5847@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6215-vl-r53514 (2012-07-22) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) I've reported the problem in the Debian BTS for dash: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D683671 Now I remember that the problem is described on: http://www.cons.org/cracauer/sigint.html And contrary to what I've said, zsh is also buggy, but only in the case where the command is *not* the last one (I suppose that this difference is because zsh does an exec for the last command, when possible). On 2012-07-10 08:52:38 +0200, Andreas Schwab wrote: > Vincent Lefevre writes: >=20 > > It seems that the condition is that the command traps the signal. >=20 > Of course. A command that exits on C-c exits on C-c. Actually, no. This was my test that was buggy: ypig:~> cat trap.sh #!/bin/bash trap 'kill -INT $$' INT sleep 3 ypig:~> zsh -c trap.sh; echo foo ^Czsh: exit 130 zsh -c trap.sh foo A correct test, with trap 'trap - INT; kill -INT $$' INT shows that "foo" is not output, as expected. --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From unknown Tue Sep 09 06:10:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Aug 2012 17:51: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: To: Andreas Schwab Cc: 11886@debbugs.gnu.org Received: via spool by 11886-submit@debbugs.gnu.org id=B11886.13443618538964 (code B ref 11886); Tue, 07 Aug 2012 17:51:02 +0000 Received: (at 11886) by debbugs.gnu.org; 7 Aug 2012 17:50:53 +0000 Received: from localhost ([127.0.0.1]:40150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Synvg-0002KW-Kk for submit@debbugs.gnu.org; Tue, 07 Aug 2012 13:50:53 -0400 Received: from vinc17.pck.nerim.net ([213.41.242.187]:53744 helo=smtp-xvii.vinc17.net) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Synvd-0002KL-DK for 11886@debbugs.gnu.org; Tue, 07 Aug 2012 13:50:50 -0400 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 4975432C009; Tue, 7 Aug 2012 19:42:48 +0200 (CEST) Date: Tue, 7 Aug 2012 19:42:48 +0200 From: Vincent Lefevre Message-ID: <20120807174248.GA9926@xvii.vinc17.org> References: <874nph2kwd.fsf@xvii.vinc17.org> <20120709160857.GL5847@xvii.vinc17.org> <20120710001815.GR5847@xvii.vinc17.org> <20120807140507.GB5316@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20120807140507.GB5316@xvii.vinc17.org> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6215-vl-r53514 (2012-07-22) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 2012-08-07 16:05:07 +0200, Vincent Lefevre wrote: > I've reported the problem in the Debian BTS for dash: >=20 > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D683671 I think that there is a bug in Emacs too, because I also get problems when the parent shell is bash or ksh. Under X, with bash -c 'emacs24 & emacs24 -nw; wait' typing Ctrl-G in the terminal kills the Emacs that has its own interface. --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 14 01:36:35 2012 Received: (at control) by debbugs.gnu.org; 14 Aug 2012 05:36:35 +0000 Received: from localhost ([127.0.0.1]:54757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T19nv-0005U5-13 for submit@debbugs.gnu.org; Tue, 14 Aug 2012 01:36:35 -0400 Received: from mail-yx0-f172.google.com ([209.85.213.172]:62371) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T19ns-0005Tx-Dc for control@debbugs.gnu.org; Tue, 14 Aug 2012 01:36:33 -0400 Received: by yenm5 with SMTP id m5so3598yen.3 for ; Mon, 13 Aug 2012 22:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=xYGNjMYf1mvVQNiB9KlkPNcqGynBkpzfD8a3o1ddb2s=; b=G3m80nM4MIOZPVXkPdk2cikFlQn6R3uimQKsKVnlsmXrSVc+MhrfhqK0xYb7uY5mO8 KghsUKoWf4N6T+M8pAcvYjIzuy1nEi863Yksoro8FTCOdKhb1wN4WueFNPUbtBzB/Try D4aikJOBQ0d0csqPeXeSk/GenflWH1EXHKdMcKtNgIEhXAdxwQzgO3aqEWlzXjdTL2ic GzbImOrs6U5AXlePPFz/OgTbZqzxf8ZtWSAJ6/Fjxwr71RLsJt3YM2DuSc2tTpiQqjSk kBjbXfyLgfCrDw6TqlCK53ZkaYy6bHN/JHeSU5UekeGzV0kSdz2FvqMIbQuG9OS3PoCw JJxA== Received: by 10.50.106.166 with SMTP id gv6mr9536415igb.46.1344922075676; Mon, 13 Aug 2012 22:27:55 -0700 (PDT) Received: from ulysses ([155.69.19.125]) by mx.google.com with ESMTPS id d4sm18989129iga.14.2012.08.13.22.27.53 (version=SSLv3 cipher=OTHER); Mon, 13 Aug 2012 22:27:54 -0700 (PDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: merge 11886 12038 Date: Tue, 14 Aug 2012 13:27:50 +0800 Message-ID: <87txw6rqjt.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) merge 11886 12038 thanks From unknown Tue Sep 09 06:10:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vincent Lefevre Subject: bug#11886: closed (Re: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell) Message-ID: References: <50B3EED0.8040500@cs.ucla.edu> <874nph2kwd.fsf@xvii.vinc17.org> X-Gnu-PR-Message: they-closed 11886 X-Gnu-PR-Package: emacs Reply-To: 11886@debbugs.gnu.org Date: Mon, 26 Nov 2012 22:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1353969482-2993-1" This is a multi-part message in MIME format... ------------=_1353969482-2993-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #11886: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to th= e parent shell which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 11886@debbugs.gnu.org. --=20 11886: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11886 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1353969482-2993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 11886-done) by debbugs.gnu.org; 26 Nov 2012 22:37:54 +0000 Received: from localhost ([127.0.0.1]:40639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td7JJ-0000ly-PH for submit@debbugs.gnu.org; Mon, 26 Nov 2012 17:37:54 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:36949) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td7JG-0000lo-Ti for 11886-done@debbugs.gnu.org; Mon, 26 Nov 2012 17:37:52 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id F15D9A60003 for <11886-done@debbugs.gnu.org>; Mon, 26 Nov 2012 14:36:04 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0xkGA-CESmmh for <11886-done@debbugs.gnu.org>; Mon, 26 Nov 2012 14:36:04 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A9886A60001 for <11886-done@debbugs.gnu.org>; Mon, 26 Nov 2012 14:36:04 -0800 (PST) Message-ID: <50B3EED0.8040500@cs.ucla.edu> Date: Mon, 26 Nov 2012 14:36:00 -0800 From: Paul Eggert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: 11886-done@debbugs.gnu.org Subject: Re: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11886-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) This bug seems to have been fixed in the Emacs trunk, I assume as part of some signal-handling changes, so I'm taking the liberty of marking it as done. ------------=_1353969482-2993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Jul 2012 12:18:13 +0000 Received: from localhost ([127.0.0.1]:57652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoCuq-0000Ud-G7 for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:18:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33216) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SoCuo-0000UW-Uo for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:18:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoCpd-0000Sv-Rk for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:12:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoCpd-0000Sn-O0 for submit@debbugs.gnu.org; Mon, 09 Jul 2012 08:12:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoCpX-000076-HA for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 08:12:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoCpS-0000Pt-EK for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 08:12:42 -0400 Received: from vinc17.pck.nerim.net ([213.41.242.187]:61787 helo=smtp-xvii.vinc17.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoCpS-0000P2-2R for bug-gnu-emacs@gnu.org; Mon, 09 Jul 2012 08:12:38 -0400 Received: by xvii.vinc17.org (Postfix, from userid 1000) id 2683738C00A; Mon, 9 Jul 2012 14:12:35 +0200 (CEST) From: Vincent Lefevre To: bug-gnu-emacs@gnu.org Subject: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Date: Mon, 09 Jul 2012 14:12:34 +0200 Message-ID: <874nph2kwd.fsf@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) A Ctrl-G in an Emacs 24.1 running in a terminal sends a SIGINT to the parent shell. This can be seen with dash, mksh and posh under Debian. For instance: $ dash -c "/usr/local/emacs-24.1/bin/emacs -Q -nw" $ echo $? 130 Emacs 23 didn't have such a problem. In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-06-19 on xvii Configured using: `configure '--prefix=/usr/local/emacs-24.1' '--enable-asserts'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: en_DK value of $LANG: POSIX value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 0 ; 2 7 8 ; 0 c ESC ] 1 1 ; r g b : 0 0 0 0 / 0 0 0 0 / 0 0 0 0 ESC \ ESC x r e p o r t - b u g RET Recent messages: ("/usr/local/emacs-24.1/bin/emacs") Loading /home/vinc17/share/emacs/site-lisp/mutteditor.el (source)...done Loading time...done For information about GNU Emacs and the GNU system, type C-h C-a. goto-history-element: Beginning of history; no preceding item Load-path shadows: ~/share/emacs/site-lisp/sh-script hides /usr/local/emacs-24.1/share/emacs/24.1/lisp/progmodes/sh-script Features: (shadow sort gnus-util mail-extr warnings emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time cus-start cus-load time-date paren cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) ------------=_1353969482-2993-1-- From unknown Tue Sep 09 06:10:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dustin Hemmerling Subject: bug#12038: closed (Re: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell) Message-ID: References: <50B3EED0.8040500@cs.ucla.edu> <87a9yqhxc1.fsf@debian.Home> X-Gnu-PR-Message: they-closed 12038 X-Gnu-PR-Package: emacs Reply-To: 12038@debbugs.gnu.org Date: Mon, 26 Nov 2012 22:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1353969482-2993-3" This is a multi-part message in MIME format... ------------=_1353969482-2993-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #11886: 24.1; sudo emacs -nw crashes with C-g which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12038@debbugs.gnu.org. --=20 11886: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D11886 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1353969482-2993-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 11886-done) by debbugs.gnu.org; 26 Nov 2012 22:37:54 +0000 Received: from localhost ([127.0.0.1]:40639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td7JJ-0000ly-PH for submit@debbugs.gnu.org; Mon, 26 Nov 2012 17:37:54 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:36949) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Td7JG-0000lo-Ti for 11886-done@debbugs.gnu.org; Mon, 26 Nov 2012 17:37:52 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id F15D9A60003 for <11886-done@debbugs.gnu.org>; Mon, 26 Nov 2012 14:36:04 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0xkGA-CESmmh for <11886-done@debbugs.gnu.org>; Mon, 26 Nov 2012 14:36:04 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A9886A60001 for <11886-done@debbugs.gnu.org>; Mon, 26 Nov 2012 14:36:04 -0800 (PST) Message-ID: <50B3EED0.8040500@cs.ucla.edu> Date: Mon, 26 Nov 2012 14:36:00 -0800 From: Paul Eggert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: 11886-done@debbugs.gnu.org Subject: Re: 24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11886-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) This bug seems to have been fixed in the Emacs trunk, I assume as part of some signal-handling changes, so I'm taking the liberty of marking it as done. ------------=_1353969482-2993-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 23 Jul 2012 23:34:44 +0000 Received: from localhost ([127.0.0.1]:34103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StS9E-0007mk-6a for submit@debbugs.gnu.org; Mon, 23 Jul 2012 19:34:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47536) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1StS9B-0007mb-TV for submit@debbugs.gnu.org; Mon, 23 Jul 2012 19:34:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StS2m-0000Ez-Ei for submit@debbugs.gnu.org; Mon, 23 Jul 2012 19:28:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StS2m-0000Ev-Bn for submit@debbugs.gnu.org; Mon, 23 Jul 2012 19:28:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StS2l-0001KP-BH for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 19:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StS2k-0000Ei-2g for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 19:28:03 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:37165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StS2j-0000Ed-RR for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2012 19:28:02 -0400 Received: by pbbrp2 with SMTP id rp2so13772567pbb.0 for ; Mon, 23 Jul 2012 16:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=8yotKJnzZTFOaQbMpiMYWxVOrzl4OjpSqvFH2WnJkUg=; b=IQvSFxFxjxBAZfthOwdQ9rXpNaZmUyn3wkoazW4WSkFInJIjbyRUMhJf7lBzDkBZ4x 1IpPJDCq5LSFS5O7H4R5mc359Elp77izOzu4B/lQC/UozhPA9ul1fdK2tIxwVQS3O78R D8KXAXkqZiIS7r9TAI31LSFqVQnYdlVDsbZynWxBt957SQNWmhfFntu3a6+9uNMSGkoj rG6g0FnC9KlyfidLisXty7jQUUnY4qyv0K1Zn7ch8zQrrdhhGPAUPY9UU2whUSKp662I dN2YORC0VnI7ZT3gbptrsH+0E4+wkU3unxEWMQlcFW1CFYzsBPybMS6lkfIpilKCOjHG NlGA== Received: by 10.68.138.169 with SMTP id qr9mr39658721pbb.27.1343086080656; Mon, 23 Jul 2012 16:28:00 -0700 (PDT) Received: from debian.Home (d173-180-204-102.bchsia.telus.net. [173.180.204.102]) by mx.google.com with ESMTPS id gj10sm2284411pbc.18.2012.07.23.16.27.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 Jul 2012 16:27:59 -0700 (PDT) From: Dustin Hemmerling To: bug-gnu-emacs@gnu.org Subject: 24.1; sudo emacs -nw crashes with C-g Date: Mon, 23 Jul 2012 16:27:58 -0700 Message-ID: <87a9yqhxc1.fsf@debian.Home> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': sudo emacs -nw -Q C-g This suspends emacs, and when I try to raise to the foreground, I am asked if I want to autosave, then to Abort and dump core. If no, emacs is suspended again. If yes, then I get Fatal error (6). No core dump to be found, either. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/share/emacs/24.1/etc/DEBUG. In GNU Emacs 24.1.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2012-07-22 on debian Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_CA.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 1 ; 2 4 0 3 ; 0 c ESC x r e p o r t SPC b TAB RET Recent messages: ("emacs") For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) ------------=_1353969482-2993-3--