[Novalug] What to do about a defective vi? [now:] still not right

Jon LaBadie novalugml@jgcomp.com
Thu Dec 3 17:36:28 EST 2009


On Thu, Dec 03, 2009 at 05:25:57PM -0500, Eric Dantan Rzewnicki wrote:
> On Thu, Dec 03, 2009 at 04:51:03PM -0500, Charles M Howe wrote:
> > Jon,
> > 
> > Still not right -- improved, but ...
> > 
> > Specifically, I give the command vi file but I got gedit file! Hunh?!
> 
> Ah. sounds like you might have an issue with alternatives.
> 
> check where your symlink for vi is pointing:
> ls -la /etc/alternatives/vi
> 
> if that is pointing to gedit, you are closer to your answer.
> 
> update-alternatives is the command to correct it in that case.
> 

Good thought!

I can't believe the number of /etc/alternatives on my Karmic laptop.

jl
-- 
Jon H. LaBadie                  jon@jgcomp.com
 JG Computing
 12027 Creekbend Drive		(703) 787-0884
 Reston, VA  20194		(703) 787-0922 (fax)



More information about the Novalug mailing list