On Nov 14, 7:52 am, Ben Schmidt <[EMAIL PROTECTED]> wrote:
> > The only solution I found at this time, was to modify the call to
> > CreateProcess in os_win32.c and change the parameter "Creation Flags"
> > to use CREATE_NO_WINDOW instead of CREATE_NEW_CONSOLE.
>
> IIRC, you can use Vim's system() function instead of the :! command to
> avoid the dosbox/console window. Or some other Vim function. I seem to
> remember there's something you can use that doesn't require modifying
> the source (I seem to remember somebody pointing it out when I asked
> basically the same question a while back!). Maybe give it a try and let
> us know what you find?
>
> Ben.

Ben,

Thanks for the advice. I attempted this already. It was suggested by a
person on the vim_use mailing list.
I had problems setting up my mappings though:

  map <silent> <f2>  :silent! !chmod u+w `cygpath "%"`<CR>

As I said before, I only use about 1/1000th of the features, and most
of that is 'out-of-the-box'.

The reason I didn't progress down this path too much, is that I also
found using simple tag jumping
caused the mouse to jump [Perhaps this was part of 'ctags.vim', but
whatever the case, I'd have to
hunt down the root cause of that]. I'd be happy to test out the system
call though, if someone could assist
me on converting the above mapping to a call to 'system'. Please note
that my shell is bash, and my version
of vim is built for Windows. [I use a Cygwin/Windows hybrid setup], I
call the Windows gvim  from bash.

Thanks,
Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui