unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kin Cho <ignore-this-prefixkin@techie.com>
Subject: Re: kill subjobs in shell buffer kills always the shell itself
Date: 10 Mar 2004 08:48:27 -0800	[thread overview]
Message-ID: <7i8yi8bqck.fsf@neoscale.com> (raw)
In-Reply-To: m2vfld55z9.fsf@bella.local

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

      reply	other threads:[~2004-03-10 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-10 10:52 kill subjobs in shell buffer kills always the shell itself leo
2004-03-10 16:48 ` Kin Cho [this message]

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=7i8yi8bqck.fsf@neoscale.com \
    --to=ignore-this-prefixkin@techie.com \
    /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.
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).