From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Interrupting shell-command
Date: Sun, 13 Nov 2005 11:37:52 +0100 [thread overview]
Message-ID: <58582d5879c76cb39c36562c0ba9ce0d@Web.DE> (raw)
In-Reply-To: <RMxdf.150511$dP1.508391@newsc.telia.net>
Am 13.11.2005 um 03:45 schrieb August Karlstrom:
> Does anyone know how to interrupt a command invoked with the function
> shell-command?
>
When I type ! in dired-mode on a directory and type then 'ls -lR <RET>'
I can stop this recursive listing with C-g.
When I do 'M-x shell-command <RET> ls -lR <RET>' I can stop this too
with C-g.
This won't work when you make the shell command an asynchronous one,
one which ends in & and is executed in the background without
connection to a terminal (tty). This one can only be stopped with 'kill
<pid>.'
--
Greetings
Pete
Without vi there is only GNU Emacs
next prev parent reply other threads:[~2005-11-13 10:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-13 2:45 Interrupting shell-command August Karlstrom
2005-11-13 5:03 ` Li Duo
2005-11-13 10:37 ` Peter Dyballa [this message]
[not found] ` <mailman.15065.1131878433.20277.help-gnu-emacs@gnu.org>
2005-11-13 13:42 ` August Karlstrom
[not found] ` <mailman.15045.1131858197.20277.help-gnu-emacs@gnu.org>
2005-11-13 13:51 ` August Karlstrom
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=58582d5879c76cb39c36562c0ba9ce0d@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.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.
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).