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: ______________________feature.h____________________________ /* * +clipboard Clipboard support. Always used for the GUI. * +xterm_clipboard Unix only: Include code for handling the clipboard * in an xterm like in the GUI. */ #ifdef FEAT_GUI # ifndef FEAT_CLIPBOARD # define FEAT_CLIPBOARD # ifndef FEAT_VISUAL # define FEAT_VISUAL # endif # endif #endif #if defined(FEAT_NORMAL) && defined(FEAT_VISUAL) \ && (defined(UNIX) || defined(VMS)) \ && defined(WANT_X11) && defined(HAVE_X11) # define FEAT_XCLIPBOARD # ifndef FEAT_CLIPBOARD # define FEAT_CLIPBOARD # endif #endif ______________________feature.h____________________________ These settings tell me that xterm_clipboard will be available, if other stuff are defined, like UNIX and X11. And I think those should be already defined as I am using Ubuntu Desktop.I also have tried making big and huge builds but none of them helped with the clipboard usage. Here is what I get when I do vim --version: XXXX@XXXXlaptop:~/Downloads/vim/vim73/src$ vim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jan 28 2012 17:29:17) Compiled byXXXX@XXXXlaptop Normal 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 -conceal +cryptv -cscope +cursorbind +cursorshape +dialog_con +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 -multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +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 -xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/local/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall -D_FORTIFY_SOURCE=1 Linking: gcc -L/usr/local/lib -o vim -lm -lncurses Any help will be highly appreciated to point out what I might be missing to tackle this copy&paste usage under linux. Thanks -- 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
