unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Tim Daly Jr." <tim@tenkan.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 13222@debbugs.gnu.org, Andreas Schwab <schwab@linux-m68k.org>
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	[thread overview]
Message-ID: <7874F722-9DC3-4EA7-9EFD-13E2CE8817F1@tenkan.org> (raw)
In-Reply-To: <9ad2y3fa29.fsf@fencepost.gnu.org>

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:
> 
>> "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.)






  reply	other threads:[~2012-12-21 21:12 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. [this message]
2012-12-23 12:06     ` Jan Djärv
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=7874F722-9DC3-4EA7-9EFD-13E2CE8817F1@tenkan.org \
    --to=tim@tenkan.org \
    --cc=13222@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    --cc=schwab@linux-m68k.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).