On 2012-02-06, Alp Burcay wrote: > Hello, > > I am new to vim_dev group. I have read several posts regarding a > similar issue before I make this post > (http://vim.wikia.com/wiki/Accessing_the_system_clipboard and > such). And the more I read, the more I got confused. That's why I > am sending this email. > > I am using vim, not Gvim, in terminal window. I had had vim 7.2 > which I installed using ubuntu software center. It didn't have > xterm_clipboard feature. So, I decided to get the source files of > Vim 7.3 and compile it by myself. Obviously I have been missing > something because no matter what I did, I couldn't get > xterm_clipboard feature enabled for vim 7.3. I can compile, > install Vim 7.3 without any glitch, so missing any dependencies is > not an issue here, I believe. > > I didn't make any change in Makefile. Here is the portion of > feature.h file, which is making reference to the +xterm_clipboard > setting:
One of my systems runs Ubuntu 10.04 and the vim I built works fine with X11 and the clipboard. Here is all I think I did besides obtaining the vim source. sudo apt-get build-dep vim ./configure make sudo make install If you have already compiled vim, then you might have to execute make distclean before ./configure to make sure that the configure script picks up the new build-dep files. Here is the output of "vim --version". VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Feb 5 2012 16:31:33) Included patches: 1-434 Compiled by gary@phoenix Normal 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 -conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap -lua +menu +mksession +modify_fname +mouse +mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse +mouse_xterm -mouse_urxvt +multi_byte +multi_lang -mzscheme +netbeans_intg +path_extra -perl +persistent_undo +postscript +printer -profile -python -python3 +quickfix +reltime -rightleft -ruby +scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "$VIM/gvimrc" user gvimrc file: "$HOME/.gvimrc" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/usr/local/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -D_REENTRANT -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/gio-unix-2.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/directfb -I/usr/include/libpng12 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lnsl -lselinux -lacl -lattr -lgpm I have never built a version with X11 and clipboard support but no other GUI features, so I'd be guessing about the ./configure options for that. Tony has more experience there. You might take a look at the output of ./configure --help to see the possible configure options. HTH, Gary -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php