Vim and gVim
Wed Sep 30 09:00:00 GMT 2009
On Sep 30 00:38, Yaakov S wrote:
> On 16/09/2009 20:49, Yaakov (Cygwin/X) wrote:
>> I would like to change how we are handling the vim/gvim installation.
>> gvim.exe still includes the terminal interface, and will use it if
>> $DISPLAY is unset or if called as vim, except that it accepts the '-g'
>> argument. (Same goes for view/vimdiff/rvim/rview). This becomes
>> important where vim is run from a script, an example of which is
>> $ alias vless='/usr/share/vim/vim72/macros/less.sh'
>> $ vless README
>> $ vless -g README
>> E25: GUI cannot be used: Not enabled at compile time
>> If gvim is installed, it would be nice to have that work. emacs has the
>> same issue, so I suggest we use the same solution:
>> 1) build/install vim.exe as vim-nox.exe;
>> 2) ship symlinks ex and vi to vim-nox.exe (as I don't think GUI versions
>> of these two make any sense);
>> 3) ship the attached postinst/prerm scripts in the vim package, which
>> will use alternatives create symlinks for vim/view/rvim/rview.
>> (Consequently, alternatives will be an added dependency.)
>> I will then rebuild gvim with similar alternatives usage, with a higher
>> rank so that it takes priority when installed.
Oops, I missed that, sorry.
Well, it sounds good. I'll try to come up with a new vim package in the
next couple of days, which follows your suggestion. I guess we can base
vim and gvim on the same latest bugfix level 264 then, right?
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
More information about the Cygwin-apps