all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Glenn Morris <rgm@gnu.org>
Cc: 13222@debbugs.gnu.org, Andreas Schwab <schwab@linux-m68k.org>,
	"Tim Daly Jr." <tim@tenkan.org>
Subject: bug#13222: 24.2; C-c C-c in shell mode on OSX sends SIGINT
Date: Sun, 23 Dec 2012 13:06:21 +0100	[thread overview]
Message-ID: <61A88AF5-869A-4875-98B7-5DFDE786CB12@swipnet.se> (raw)
In-Reply-To: <9ad2y3fa29.fsf@fencepost.gnu.org>

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@gnu.org>:

> Andreas Schwab wrote:
> 
>> "Tim Daly Jr." <tim@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.)
> 
> 






  parent reply	other threads:[~2012-12-23 12:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19  6:35 bug#13222: 24.2; C-c C-c in shell mode on OSX sends SIGINT Tim Daly Jr.
2012-12-19  8:55 ` Andreas Schwab
2012-12-21 20:02   ` Glenn Morris
2012-12-21 21:12     ` Tim Daly Jr.
2012-12-23 12:06     ` Jan Djärv [this message]
2012-12-23 20:12       ` Glenn Morris
2012-12-24  1:03         ` Stefan Monnier
2012-12-24 10:33           ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61A88AF5-869A-4875-98B7-5DFDE786CB12@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=13222@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    --cc=schwab@linux-m68k.org \
    --cc=tim@tenkan.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.