Monday, December 14, 2009

Re: vim vs gvim -v

On Mon, Dec 14, 2009 at 09:30:48AM -0800, Gary Johnson wrote:
> diff <(vim --version) <(gvim --version)
>
>I suspect that your vim and your gvim are different binaries and
>that gvim has support for the mouse compiled in whereas vim does
>not.

My golly, you are right! I'll paste the diff below. I guess I'll have to compile with +X11, unless I can start gvim like -v but with compatible mode set? I put :set compatible in my .gvimrc and started it with 'gvim -v' but it gave a whole load of E errors due probably to my other compatible-only settings.

1c1
< VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug 24 2009 20:04:48)
---
> VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Aug 24 2009 20:05:51)
4,7c4,7
< Huge version without GUI. Features included (+) or not (-):
< +arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
< -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
< +cryptv +cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic
---
> Huge version with GTK2 GUI. Features included (+) or not (-):
> +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
> +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
> +cryptv +cscope +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic
11c11
< +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec +mouse_gpm
---
> +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm
13c13
< +multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra +perl +postscript
---
> +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra +perl +postscript
17,19c17,19
< -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
< +vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
< -xterm_clipboard -xterm_save
---
> +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
> +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim
> +xsmp_interact +xterm_clipboard -xterm_save
22a23,25
> system gvimrc file: "$VIM/gvimrc"
> user gvimrc file: "$HOME/.gvimrc"
> system menu file: "$VIMRUNTIME/menu.vim"
24,25c27,28
< Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -I/usr/include/python2.6 -pthread
< Linking: gcc -Wl,-E -L/usr/local/lib -o vim -lncurses -lacl -lgpm -Wl,-E -L/usr/local/lib -L/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -lperl -lcrypt -lutil -lc -L/usr/lib/python2.6/config -lpython2.6 -lpthread -lutil -lm -Xlinker -export-dynamic
---
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -D_FORTIFY_SOURCE=1 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -I/usr/include/python2.6 -pthread
> Linking: gcc -Wl,-E -L/usr/lib -L/usr/local/lib -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lXt -lncurses -lacl -lgpm -Wl,-E -L/usr/local/lib -L/usr/lib/perl5/5.10.0/i486-linux-thread-multi/CORE -lperl -lcrypt -lutil -lc -L/usr/lib/python2.6/config -lpython2.6 -lutil -lm -Xlinker -export-dynamic

--

.

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: