skywind wrote:
> > I am on the fence on this one.
> > If Vim shells out to run something and that something is taking a _very_
> > long time, your Vim is essentially hung.
> > This happens to me frequently.
> > At least with the Window there, I can close it, which returns an error to
> > Vim (via the system() call) and I get my Vim back.
> > Without that I have to terminate Vim, and that is a real pain.
> >
> > DavidĀ
> --------------
> So, how can you stop these __very__ long time tasks from non-windows
> platform, which won't pop up a cmd window ?
>
> __very__ long time tasks are supposed to be launched via async jobs in
> the latest vim version.
>
> Could windows gvim stop the child processes by a Ctrl_C/Ctril_Break ?
>
> There is an internal win32 message loop at line 4159 of os_win32.c:
>
> https://github.com/vim/vim/blob/master/src/os_win32.c#L4159
>
> which is used to update gui while waiting for child process finished.
>
> Can we add a Ctrl_C/Ctrl_Break detection there to allow user stop a
> long time running process ?
>
> (I haven't read the whole part of os_win32.c, just do some search and
> find this
> routine.)
>
> If the child processes of 'system()' could be stop by
> ctrl_break/ctrl_c, could we make `system()` act the same way to the
> other vim versions ?
I'm not sure if that can be made to work. CTRL-Break sometimes behaves
strange.
On Unix you would use "kill" to stop the process. On MS-Windows you can
use the task manager for this, right?
In general I don't mind the flickering, it's feedback that something is
happening. (I liked to hear my harddisk rattling, to know how busy it
is, SSDs broke that. I liked to hear my modem produce noise, so that I
knew what was going over the line. Now I have fiber...).
--
### Hiroshima 45, Chernobyl 86, Windows 95 ###
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.