lijianying10 / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

Registers do not work properly in ConqueTerm #97

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open conque term
2. See list of registers using :reg
3. Paste from any other register than default register

What is the expected output? What do you see instead?
I expected to receive content of different register. I received output of 
default register. I ran the same command on plain vim without ConqueTerm and it 
worked.

What version of the product are you using? On what operating system?
Mac OS X, Version 10.8.3
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 23 2012 13:50:52)
I am using: https://github.com/carlhuda/janus

Please provide any additional information below.

Original issue reported on code.google.com by rob...@sumologic.com on 1 Jun 2013 at 6:29

GoogleCodeExporter commented 8 years ago
I approached this while having a problem which in my opinion is more important:

If I cmd+v something to shell opened in Conque it doesn't run the command. I 
have to Cmd+v a piece of text, then yank it and paste using p. Ideally I would 
like to have a way of running Clipboard content in one step.
I tried: ":r !pbpaste", but then it again doesn't make Conque evaluate result.

I have a .vimrc setting: "set clipboard=unnamed" . If I copy something outside 
of vim, then I can paste it to vim using p while editing a file in MacVim:
http://vim.wikia.com/wiki/Mac_OS_X_clipboard_sharing
Sadly if I use "p" for Conque it doesn't use content of my system clipboard

Original comment by rob...@sumologic.com on 1 Jun 2013 at 11:16

GoogleCodeExporter commented 8 years ago
Maybe mising flag "-xterm_clipboard" in MacVim could be the reason. I posted 
question on MacVim issue site:
https://code.google.com/p/macvim/issues/detail?id=449&thanks=449&ts=1370175273

Original comment by rob...@sumologic.com on 2 Jun 2013 at 12:16

GoogleCodeExporter commented 8 years ago
I should say that copying from Conque to system clipboard works well (I can 
yank something from Conque and it is there, in system clipboard). The problem 
is only with copying something from system clipboard to Conque.

Original comment by rob...@sumologic.com on 2 Jun 2013 at 12:21

GoogleCodeExporter commented 8 years ago
Two more important facts:
1. I run MacVim:
Macvim version:
:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 11 2013 21:30:27)
MacOS X (unix) version
Included patches: 1-754
Compiled by robert@robert-macbookpro.local
Huge version with MacVim 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()
+fullscreen -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_sgr 
-mouse_sysmouse +mouse_urxvt +mouse_xterm +multi_byte +multi_lang -mzscheme 
+netbeans_intg +odbeditor
+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 +transparency +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"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall 
-Wno-unknown-pragmas -pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O2 
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/Sy
stem/Library/Frameworks/Tcl.framework/Headers  -D_REENTRANT=1  -D_THREAD_SAFE=1 
 -D_DARWIN_C_SOURCE=1
Linking: clang   -L.   -L.        -L/usr/local/lib -o Vim -framework Cocoa 
-framework Carbon      -lncurses -liconv -framework Cocoa    -fstack-protector 
-L/usr/local/lib  -L/System/Librar
y/Perl/5.12/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -framework 
Python  -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation 
-framework Ruby

2. If I run :reg from conque, then system register (*") have proper value, but 
Conque is using "" register instead of *" to paste, even if I tell it to use "* 
register.

Original comment by rob...@sumologic.com on 2 Jun 2013 at 12:35

GoogleCodeExporter commented 8 years ago
I am experiencing the exact same bug: no matter which register I'm trying to 
paste from into conqueterm, the " register is used.

I'm experiencing this on Linux (Ubuntu), Vim 7.3.429, with Conque 2.3
So it's not a MacVim specific problem.

Original comment by ahar...@gmail.com on 14 Aug 2013 at 6:46