> On 4/07/11 10:56 PM, Tim Chase wrote:
>> On 07/04/2011 03:07 AM, Kent wrote:
>>> last weekend I finally did the switch from .vim to
>>> vim-addon-manager. after the change, I made some small tests,
>>> almost everything looks fine. but the arrow key don't move
>>> cursor in INsert mode any longer, just ouput A, B, C, and D. I
>>> remembered that could be the vi-compatible problem.
>>
>> This sounds suspiciously like your terminal is sending an escape
>> sequence to move the cursor, and that the escape is being eaten.
>
> I just realised I'm seeing this, as I pressed an arrow key by mistake (I
> never usually use them)!
>
> So this may be a recent regression.
>
> Which Vim versions are you using?
>
> I might try to do a bisect with Mercurial to identify which changeset
> introduced the problem anyway.
Hmm. No, I don't think this is it. I tried doing a bisect, but trying to
find a good changeset didn't really work--Vim 7.3.2 has the problem, and
I definitely didn't experience the behaviour that long ago. I get the
problem with -u NONE, so it's not just configuration either. So I don't
know what's causing it yet.
To the OP: what system and Vim version etc. do you use? What Vim
features are compiled in? Probably easiest if you could post your
:version output. Mine is below.
Cheers,
Ben.
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jul 7 2011 11:01:12)
MacOS X (unix) version
Included patches: 1-219
Modified by Ben Schmidt et al.
Compiled by ben@thought.local
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
+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 +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 +vartabs +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 -D_REENTRANT
-I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng14 -DMACOS_X_UNIX -no-cpp-precomp -g -O2
-D_FORTIFY_SOURCE=1 -I/usr/X11/include
-I/System/Library/Frameworks/Tcl.framework/Headers -D_REENTRANT=1
-D_THREAD_SAFE=1 -D_DARWIN_C_SOURCE=1
Linking: gcc -L/opt/local/lib -L/usr/X11/lib -R/usr/X11/lib -L. -g -o
vim -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0
-lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lpng14 -lpango-1.0
-lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
-lintl -lXt -lX11 -lSM -lICE -lncurses -liconv -framework Cocoa
-L/opt/local/lib -fstack-protector
-L/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE -lperl -lm -lutil -lc
-framework Python -F/System/Library/Frameworks -framework Tcl -framework
CoreFoundation -lruby
--
You received this message from the "vim_use" 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
No comments:
Post a Comment