* Interrupting shell-command @ 2005-11-13 2:45 August Karlstrom 2005-11-13 5:03 ` Li Duo ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: August Karlstrom @ 2005-11-13 2:45 UTC (permalink / raw) Hi, Does anyone know how to interrupt a command invoked with the function shell-command? August -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Interrupting shell-command 2005-11-13 2:45 Interrupting shell-command August Karlstrom @ 2005-11-13 5:03 ` Li Duo 2005-11-13 10:37 ` Peter Dyballa ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: Li Duo @ 2005-11-13 5:03 UTC (permalink / raw) C-c C-c ? 2005/11/13, August Karlstrom <fusionfive@comhem.se>: > Hi, > > Does anyone know how to interrupt a command invoked with the function > shell-command? > > > August > > -- > I am the "ILOVEGNU" signature virus. Just copy me to your > signature. This email was infected under the terms of the GNU > General Public License. > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Interrupting shell-command 2005-11-13 2:45 Interrupting shell-command August Karlstrom 2005-11-13 5:03 ` Li Duo @ 2005-11-13 10:37 ` Peter Dyballa [not found] ` <mailman.15065.1131878433.20277.help-gnu-emacs@gnu.org> [not found] ` <mailman.15045.1131858197.20277.help-gnu-emacs@gnu.org> 3 siblings, 0 replies; 5+ messages in thread From: Peter Dyballa @ 2005-11-13 10:37 UTC (permalink / raw) Cc: help-gnu-emacs 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.15065.1131878433.20277.help-gnu-emacs@gnu.org>]
* Re: Interrupting shell-command [not found] ` <mailman.15065.1131878433.20277.help-gnu-emacs@gnu.org> @ 2005-11-13 13:42 ` August Karlstrom 0 siblings, 0 replies; 5+ messages in thread From: August Karlstrom @ 2005-11-13 13:42 UTC (permalink / raw) Peter Dyballa wrote: > 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 do 'M-x shell-command <RET> ls -lR <RET>' I can stop this too > with C-g. OK, thanks. For some reason I never tried `C-g', the most obvious keyboard command in this situation. August -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <mailman.15045.1131858197.20277.help-gnu-emacs@gnu.org>]
* Re: Interrupting shell-command [not found] ` <mailman.15045.1131858197.20277.help-gnu-emacs@gnu.org> @ 2005-11-13 13:51 ` August Karlstrom 0 siblings, 0 replies; 5+ messages in thread From: August Karlstrom @ 2005-11-13 13:51 UTC (permalink / raw) Li Duo wrote: > C-c C-c ? `C-c C-c' is undefined by default. As far as I know, keyboard commands starting with `C-c C-' are (meant to be) mode specific. August -- I am the "ILOVEGNU" signature virus. Just copy me to your signature. This email was infected under the terms of the GNU General Public License. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-13 13:51 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-11-13 2:45 Interrupting shell-command August Karlstrom 2005-11-13 5:03 ` Li Duo 2005-11-13 10:37 ` Peter Dyballa [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
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).