vim: errors launching "/usr/bin/vi
Lee
ler762@gmail.com
Wed Dec 20 18:34:42 GMT 2023
On Wed, Dec 20, 2023 at 9:01 AM marco atzeri wrote:
>
> On Wed, Dec 20, 2023 at 6:04 AM Marco Atzeri wrote:
> >
> > On 20/12/2023 03:47, Beau James via Cygwin wrote:
> > > This problem appeared with my most recent Cygwin update that included an
> > > update to "vim".
> >
> > vi is usually an alias to vim
> >
> > $ alias | grep vi
> >
> > alias vi='vim'
> >
> > so you are in reality calling vim
> >
> > $ which vim
> > /usr/bin/vim
> >
> >
> > I am investigating the /usr/bin/vi issue
> >
>
> -2 version should have solved the issue
I don't get any error or warning messages now but 'vi' still doesn't
always get me the same thing:
$ vi --version | head -5
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:57:02)
Included patches: 1-2155
Modified by <cygwin@cygwin.com>
Compiled by <cygwin@cygwin.com>
Huge version without GUI. Features included (+) or not (-):
$ /bin/sh
$ vi --version | head -5
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 06:53:22)
Included patches: 1-2155
Modified by <cygwin@cygwin.com>
Compiled by <cygwin@cygwin.com>
Tiny version without GUI. Features included (+) or not (-):
Would you please let me know how to make an /etc/alternatives for vi/vim?
I want 'vi' to always invoke 'vim' and everything I tried with
alternatives failed :(
Thanks
Lee
More information about the Cygwin
mailing list