GNU bug report logs - #13222
24.2; C-c C-c in shell mode on OSX sends SIGINT

Previous Next

Package: emacs;

Reported by: "Tim Daly Jr." <tim <at> tenkan.org>

Date: Wed, 19 Dec 2012 06:36:02 UTC

Severity: important

Found in version 24.2

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 13222 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 13222 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>,
	"Tim Daly Jr." <tim <at> tenkan.org>
Subject: Re: bug#13222: 24.2; C-c C-c in shell mode on OSX sends SIGINT
Date: Sun, 23 Dec 2012 13:06:21 +0100
Hello.

The problem exists in 23.  Defining SIGNALS_VIA_CHARACTERS fixes the issue.

	Jan D.

21 dec 2012 kl. 21:02 skrev Glenn Morris <rgm <at> gnu.org>:

> Andreas Schwab wrote:
> 
>> "Tim Daly Jr." <tim <at> tenkan.org> writes:
>> 
>>> 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.
>> 
>> It looks like Darwin doesn't have SIGNALS_VIA_CHARACTERS defined.  Since
>> it's BSD-like I'd guess it really should.
> 
> 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
> 
> #define SIGNALS_VIA_CHARACTERS 1
> 
> (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.)
> 
> 





This bug report was last modified 12 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.