I've been snooping around, and it seems that we have good news. (I guess it wouldn't hurt to have a resident Linux guru onhand)
The major enterprise distibutions of linux do not compile /usr/bin/vim with GUI support as part of the base os. (RHEL, and SuSE). (It also seems this applys to debian and ubuntu, but I am having difficulty proving this) It seems the best practice is to locate the gvim utils elsewere on the filesystem: -rw-r--r-- root root 2064 Jul 1 01:11 /etc/gvimrc lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/egvim -> gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/eview -> gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/evim -> gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/gex -> gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/gvi -> gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/gview -> gvim -rwxr-xr-x root root 2260048 Jul 1 01:11 /usr/X11R6/bin/gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/gvimdiff -> gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/rgview -> gvim lrwxrwxrwx root root 4 Jul 1 01:11 /usr/X11R6/bin/rgvim -> gvim -rw-r--r-- root root 3883 Jul 1 01:12 /usr/share/applications/gvim.desktop drwxr-xr-x root root 120 Jul 1 01:12 /usr/share/doc/packages/gvim -rw-r--r-- root root 788 Jan 10 12:07 /usr/share/doc/packages/gvim/README.Japanese-XIM -rw-r--r-- root root 256 Jan 10 12:07 /usr/share/doc/packages/gvim/README.SuSE Different vim feature sets are keep in separate packages, But are built form the same source) SuSE maintains two packages: vim and gvim. RHEL keeps it as four separate packages, which I think is an interesting approach (IE: I like it).: vim-X11 - GUI vim vim-common - This package contains files shared by all non GUI-enabled vim variants (vim and vim-tiny currently) available in Debian. Examples of such shared files are: manpages, common executables like vimtutor and xxd, and configuration files. vim-enhanced - standard vim vim-minimal - tiny-vim Debian and ubuntu do it in a really funky way, using nested symlinks: http://debian-br.sourceforge.net/txt/debian_vs_redhat.html Debian and Ubuntu also have a bunch of language specific packages: http://packages.ubuntulinux.org/warty/source/vim (I just realized that tcl isn't a part of Solaris.) Cheers, Brian P.S. - I just had the most amusing thought. What if we made the default scripting language common lisp? This would further blur the line between emacs and vi)
_______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org