[TriLUG] Re: one more fresh system question: vi weird

Rick DeNatale rick.denatale at gmail.com
Thu May 11 15:35:12 EDT 2006


Actually it should be just

update-alternatives --configure vi

It will should then let you pick vi.

On 5/11/06, Rick DeNatale <rick.denatale at gmail.com> wrote:
> On 5/11/06, Brian Henning <brian at strutmasters.com> wrote:
> > Brilliant!  Edge is Debian, but so is Ubuntu (more or less), so the same
> > applies.  My 'update-alternatives --display vi' output:
> >
> > vi - status is auto.
> >   link currently points to /usr/bin/nvi
> > /usr/bin/nvi - priority 30
> >   slave vi.1.gz: /usr/share/man/man1/nvi.1.gz
> > /usr/bin/vim - priority 20
> >   slave vi.1.gz: /usr/share/man/man1/vim.1.gz
> > Current `best' version is /usr/bin/nvi.
> >
> > So you're correct.  'vi' is pointing at nvi, and not vim (though vim is
> > also present on the system, as you can see).  I'm going to just
> > uninstall nvi, but for curiosity's sake, short of removing it, what's
> > the right way to repoint 'vi' such that 'update-alternatives' is aware
> > of it?
>
> update-alternatives --configure vim
>
> Or something close. I'm posting this from an iMac at Schlotzkys
> --
> Rick DeNatale
>
> IPMS/USA Region 12 Coordinator
> http://ipmsr12.denhaven2.com/
>
> Visit the Project Mercury Wiki Site
> http://www.mercuryspacecraft.com/
>


-- 
Rick DeNatale

IPMS/USA Region 12 Coordinator
http://ipmsr12.denhaven2.com/

Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/



More information about the TriLUG mailing list