* kill subjobs in shell buffer kills always the shell itself
@ 2004-03-10 10:52 leo
2004-03-10 16:48 ` Kin Cho
0 siblings, 1 reply; 2+ messages in thread
From: leo @ 2004-03-10 10:52 UTC (permalink / raw)
in a shell buffer when i try to interrrupt a subjob
(comint-interrupt-subjob) the shell itself (bash) is awlays
killed. same problem with `comint-kill-subkob'.
i have played around with the var `comint-ptyp', but that doesn't help:
nil results in killing the bash, t results in nothing happens apart
from the text `ESC x c o m i n t - i n t e r r u p t - s u b j o b'
appears in the buffer. %-|
i have this problem in emacs 21.3.50 on mac os and in 21.1 on windows 2k.
anybody any idea?
thanks, leo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kill subjobs in shell buffer kills always the shell itself
2004-03-10 10:52 kill subjobs in shell buffer kills always the shell itself leo
@ 2004-03-10 16:48 ` Kin Cho
0 siblings, 0 replies; 2+ messages in thread
From: Kin Cho @ 2004-03-10 16:48 UTC (permalink / raw)
That's because emacs knows nothing about your subjob.
To kill you subjob, send it a normal shell signal character such
as ^C, like this:
C-q C-c RET
-kin
leo <leo@bella.local> writes:
> in a shell buffer when i try to interrrupt a subjob
> (comint-interrupt-subjob) the shell itself (bash) is awlays
> killed. same problem with `comint-kill-subkob'.
>
> i have played around with the var `comint-ptyp', but that doesn't help:
> nil results in killing the bash, t results in nothing happens apart
> from the text `ESC x c o m i n t - i n t e r r u p t - s u b j o b'
> appears in the buffer. %-|
>
> i have this problem in emacs 21.3.50 on mac os and in 21.1 on windows 2k.
>
> anybody any idea?
>
> thanks, leo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-10 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 10:52 kill subjobs in shell buffer kills always the shell itself leo
2004-03-10 16:48 ` Kin Cho
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.