Sunday, March 27, 2011

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

On 28/03/11 07:58, Benjamin R. Haskell wrote:
> On Mon, 28 Mar 2011, Tony Mechelynck wrote:
>
>> On 28/03/11 04:13, Benjamin R. Haskell wrote:
>>> [...]
>>> "with GUI" doesn't imply that you have to use it.
>>
>> Under Windows it does: a Windows executable is either a GUI or a
>> console program but never both, unlike on Linux.
>
> Woops, yes, of course. I was thinking that Windows console Vim worked
> like PC-ALPINE (Windows version of the Alpine mail program), where on
> Windows it does its own terminal emulation (so it's a PE32 (GUI),
> despite being a console-based program).
>

I don't know about PC-Alpine; vim.exe for Windows is started from a
cmd.exe (or similar) command prompt and runs in the terminal from which
it was launched. It cannot become a GUI but you can switch it between
full-screen (text-only monitor) and windowed (xterm-like) modes without
restarting. It uses the terminal's fonts which can be changed from the
terminal's menu (the one you get by clicking the window icon) just like
with any other Windows console application. OTOH, gvim.exe may be
started from a cmd.exe prompt but it will display its own GUI window
(with its own fonts governed by the 'guifont' option) and cannot be made
to run in console mode. If gvim needs to display something before the
GUI is started (e.g. because something in the vimrc causes a message to
be displayed) it will do it in a popup window.

The above description is based on Windows XP and earlier: Vista and W7
were published after I had gone Linux-only.


Best regards,
Tony.
--
Cunnilingus is next to godliness.

--
You received this message from the "vim_use" 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

No comments:

Post a Comment