GNU bug report logs -
#13222
24.2; C-c C-c in shell mode on OSX sends SIGINT
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13222 in the body.
You can then email your comments to 13222 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13222
; Package
emacs
.
(Wed, 19 Dec 2012 06:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Tim Daly Jr." <tim <at> tenkan.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 19 Dec 2012 06:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13222
; Package
emacs
.
(Wed, 19 Dec 2012 08:56:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 13222 <at> debbugs.gnu.org (full text, mbox):
"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.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Severity set to 'important' from 'normal'
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 19 Dec 2012 17:04:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13222
; Package
emacs
.
(Fri, 21 Dec 2012 20:03:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 13222 <at> debbugs.gnu.org (full text, mbox):
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.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13222
; Package
emacs
.
(Fri, 21 Dec 2012 21:13:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 13222 <at> debbugs.gnu.org (full text, mbox):
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 <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.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13222
; Package
emacs
.
(Sun, 23 Dec 2012 12:07:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 13222 <at> debbugs.gnu.org (full text, mbox):
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.)
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13222
; Package
emacs
.
(Sun, 23 Dec 2012 20:13:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 13222 <at> debbugs.gnu.org (full text, mbox):
Jan Djärv wrote:
> The problem exists in 23. Defining SIGNALS_VIA_CHARACTERS fixes the issue.
Thanks. Any opinion on whether this change should go into emacs-24 or
trunk? Since the issue is present in 23 as well, that suggests trunk.
But if it's a safe fix, might as well go in emacs-24.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13222
; Package
emacs
.
(Mon, 24 Dec 2012 01:05:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 13222 <at> debbugs.gnu.org (full text, mbox):
>> The problem exists in 23. Defining SIGNALS_VIA_CHARACTERS fixes the issue.
> Thanks. Any opinion on whether this change should go into emacs-24 or
> trunk? Since the issue is present in 23 as well, that suggests trunk.
> But if it's a safe fix, might as well go in emacs-24.
It sounds like it can go into emacs-24.
Stefan
Reply sent
to
Andreas Schwab <schwab <at> linux-m68k.org>
:
You have taken responsibility.
(Mon, 24 Dec 2012 10:35:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Tim Daly Jr." <tim <at> tenkan.org>
:
bug acknowledged by developer.
(Mon, 24 Dec 2012 10:35:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 13222-done <at> debbugs.gnu.org (full text, mbox):
Done.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 21 Jan 2013 12:24:03 GMT)
Full text and
rfc822 format available.
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.