My guess is that there is only 1 binary for vim. It determines if it is to display the GUI based upon the value of argv[0]. Most likely, there is also a command line option that will enable the GUI as well, so you could set up an alias or create a shell script wrapper.

Alexander Horn wrote:
I'm trying to update my /usr/bin/vi to use gvim instead of vim. I have
been working with update-alternatives for those kinds of issues. As it
turns out though there is something weird going on with symbolic
links. I could boil down the problem to the following:

$ ls -l /usr/bin/gvim
gvim -> /usr/bin/vim

$ /usr/bin/gvim # starts GVIM for me ... yeah :-)
$ ln -s /usr/bin/gvim ~/myvi
$ ~/myvi # brings up VIM only (not GVIM).

I've did some googling but my result set is not very helpful. Could
someone push me in the right direction? Why my symbolic link (~/myvi)
to a symbolic link so messed up… Thank you in advance!


--
Alexander Horn
http://www2.truman.edu/~ah428

-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------


--
Peter Snoblin -- http://www.entropicaccess.net/

-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------

Reply via email to