Subject: 24.2; C-c C-c in shell mode on OSX sends SIGINT

From: "Tim Daly Jr." <[email-masked]>
Date: Tue, 18 Dec 2012 22:35:14 -0800

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.

In GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2012-08-27 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
 '--with-ns' 'build_alias=i686-apple-darwin'
 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''

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_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-> c a t SPC / e t c / i n i t / n o v a - n e t * 
<return> C-p C-f C-f C-f C-SPC C-e M-w M-> C-y <return> 
c h r o o t SPC / m n t / l a t e s t SPC b a s h <return> 
M-p M-p <return> c a t SPC / e t c / n o v a / n o 
v a . c o n f <return> y i n s t SPC l s SPC | g r 
e p SPC o b b <return> k C-a C-k c SPC / <backspace> 
<backspace> d SPC / e t c / g l a n c e <return> <return> 
l s <return> c a t SPC g l a n c e - a p i . c o n 
f <return> M-v M-v M-> g r r p SPC <backspace> <backspace> 
<backspace> e p SPC % SPC * <return> C-x C-f C-g M-p 
<return> <f3> <f1> q u i t <return> p s SPC a u x w 
w | g r e p SPC z o o k e e e <backspace> p e r <return> 
p w d <return> l s SPC / m n t / l a t e s t <return> 
l s <return> s e r v e r C-a C-k y i n s t SPC s t 
s a r <backspace> <backspace> <backspace> a r t SPC 
z o o k e e k e <backspace> <backspace> p e r _ s e 
r v e r <return> M-p M-b M-b M-b M-d i <return> <f2> 
<f3> M-p M-n <f2> M-x r e p o r t - b u g <return>

Recent messages:
Mark saved where search started
Mark set [2 times]
(No changes need to be saved)
Mark saved where search started [2 times]
/var/log 
Mark set [3 times]
Mark saved where search started [2 times]
No match
Mark saved where search started
Mark set [5 times]
Quit

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
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 mule-util rect nxml-uchnm rng-xsd xsd-regexp
rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse
rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln
nxml-rap nxml-util nxml-glyph nxml-enc xmltok conf-mode newcomment
derived cl byte-opt bytecomp byte-compile cconv macroexp vc-dispatcher
vc-svn jka-compr tabify man assoc make-mode cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-git
help-mode view pcmpl-unix dired-aux misearch multi-isearch sh-script
executable dired shell pcomplete warnings iswitchb compile comint
regexp-opt ansi-color advice help-fns advice-preload xcscope ring
easymenu slime-autoloads edmacro kmacro time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel ns-win 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 ns multi-tty
emacs)