> When gVim.exe is used on Microsoft Windows and an external program
> is called, a flashing DOS box displaying on Windows status bar is
> a constant pain.
>
> It is getting worse when system() call if frequently used, as we
> found while working on VimIM plugin, in which every single keyboard
> type may be sent to "input Cloud", if user sets that option.
>
> The workaround, as we found, is to use lib call instead. To make it
> happen, a special Windows DLL is created:
> http://vimim.googlecode.com/svn/mycloud/client/libvimim.dll
>
> The source code is also made available at
> http://vimim.googlecode.com/svn/mycloud/
>
> Basically, it can be used to replace any system("wget " ...) call from
> within gVim.
>
> Welcome to share more ideas to make Microsoft Windows really
> useful. :)
A Japanese gentleman had written an dll as a replacement of system(). You may
find it inside vim wikia.
/*
* Usage:
* :echo libcall("mysystem", "mysystem", "cmd.exe\ndir\n")
* :echo libcall("mysystem", "mysystem", "wget http://foo/bar.html")
*
* Reference:
* http://support.microsoft.com/kb/190351/
*
* Only work for Gvim.
*
* XXX: no error handling
*/
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment