[ubuntu-in] Erratic Vi on FeistyFawn

Baishampayan Ghose b.ghose at ubuntu.com
Sun May 13 20:49:50 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 14 May 2007 12:37 AM, Gora Mohanty cobbled together some
glyphs to say:
>> But, that doesn't explain why that problem is occuring in the first place.
>> In fact, if it's the same application being called if you type vi or vim then
>> the behaviour should be the same, but it's not, in his case.  
> 
> I believe what he is saying is that, in your case, vi and vim, are *not*
> symlinks to the same application, as some other package (e.g., vile) has
> replaced vi or vim. You can check for yourself by doing a
> "ls -l `which vi`", and a "ls -l `which vim`", and following the
> symlinks till you come to the actual application used. It is also
> possible that the application looks at how it has been invoked, and
> changes behaviour accordingly, though I have no idea if vim does that.

$ sudo update-alternatives --config vi
and
$ sudo update-alternatives --config vim

can also provide some useful information.

Regards,
BG

- --
Baishampayan Ghose <b.ghose at ubuntu.com>
Ubuntu -- Linux for Human Beings
http://www.ubuntu.com/

1024D/86361B74
BB2C E244 15AD 05C5 523A  90E7 4249 3494 8636 1B74

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGR2veQkk0lIY2G3QRAoR4AJ9n0/CV/XNng2Rxk9G9q1sK0AtQ7QCcCwC5
47/glSMkzMQLp/fqxzwobIA=
=cgJS
-----END PGP SIGNATURE-----



More information about the ubuntu-in mailing list