From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tim Daly Jr." Newsgroups: gmane.emacs.bugs Subject: bug#13222: 24.2; C-c C-c in shell mode on OSX sends SIGINT Date: Fri, 21 Dec 2012 13:12:30 -0800 Message-ID: <7874F722-9DC3-4EA7-9EFD-13E2CE8817F1@tenkan.org> References: <50E21696-8D0E-4E50-90A9-06391A6BEE54@tenkan.org> <9ad2y3fa29.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1356124387 17350 80.91.229.3 (21 Dec 2012 21:13:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 21:13:07 +0000 (UTC) Cc: 13222@debbugs.gnu.org, Andreas Schwab To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 22:13:20 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 1Tm9u3-0006UT-KW for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 22:13:11 +0100 Original-Received: from localhost ([::1]:58290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm9tp-0001if-CJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2012 16:12:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm9tj-0001iP-88 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 16:12:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tm9tf-00067J-Dt for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 16:12:51 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tm9tf-00066z-Ad for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 16:12:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tm9tu-0007Dg-AF for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2012 16:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Tim Daly Jr." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Dec 2012 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13222 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13222-submit@debbugs.gnu.org id=B13222.135612437027731 (code B ref 13222); Fri, 21 Dec 2012 21:13:02 +0000 Original-Received: (at 13222) by debbugs.gnu.org; 21 Dec 2012 21:12:50 +0000 Original-Received: from localhost ([127.0.0.1]:54645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tm9ti-0007DE-KS for submit@debbugs.gnu.org; Fri, 21 Dec 2012 16:12:50 -0500 Original-Received: from tenkan.org ([216.114.78.229]:34835) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tm9th-0007D7-Eo for 13222@debbugs.gnu.org; Fri, 21 Dec 2012 16:12:49 -0500 Original-Received: from dhcpx-197-215.corp.yahoo.com (nat-dip3.cfw-a-gci.corp.yahoo.com [209.131.62.145]) by tenkan.org (Postfix) with ESMTPSA id 34DEEA5582F9; Fri, 21 Dec 2012 21:12:31 +0000 (UTC) In-Reply-To: <9ad2y3fa29.fsf@fencepost.gnu.org> X-Mailer: Apple Mail (2.1283) 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.x 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:68873 Archived-At: I had it in emacs 23 as well. I'll do a build of the latest with that = change RSN. Thanks, Tim On Dec 21, 2012, at 12:02 PM, Glenn Morris wrote: > Andreas Schwab wrote: >=20 >> "Tim Daly Jr." writes: >>=20 >>> If you ssh someplace in shell mode and hit C-c C-c, it kills the ssh >>> process. It wasn't always that way. The intended effect is just to >>> kill the foreground process on the remote host, as if you'd hit C-c >>> at a terminal. >>=20 >> It looks like Darwin doesn't have SIGNALS_VIA_CHARACTERS defined. = Since >> it's BSD-like I'd guess it really should. >=20 > Could someone with a Mac try this out with the emacs-24 branch, and = see > if it fixes the issue and doesn't cause any obvious problems? > One way to do it is to run configure as normal, then edit src/config.h > and uncomment >=20 > #define SIGNALS_VIA_CHARACTERS 1 >=20 > (Seems surprising this has not been reported before. AFAICS, S_VIA_C = has > never been defined on Darwin, so this issue should be present in Emacs > 23 as well. Would be good if someone could check that too.)