On 28/11/08 02:47, Peng Yu wrote:
> Hi,
>
> Suppose I run some program vim, if it takes very long time to finish,
> I can not use control-C to close it.
>
> :some_program.exe
>
> I'm wondering if there is any short-cut to kill a program that is
> running from vim.
>
> Thanks,
> Peng
You may or may not be able to kill it by means of Ctrl-Break (in the
subprocess's window if there is one). If that doesn't work, I don't
think you kill a subprocess by anything you do in Vim; but you can do it
from the Windows Task Manager (taskman.exe, which can be loaded from the
Ctrl-Alt-Del popup) or under Linux from the KDE System Guard or the
Gnome System Monitor.
In any of the above, select the Processes tab (not the Applications
tab), sort it by process name, find the process you want to halt, select
it, and kill it. Beware: Any unsaved data in that process will be lost
forever!
Best regards,
Tony.
--
[Sir Stafford Cripps] has all the virtues I dislike and none of the
vices I admire.
-- Winston Churchill
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---