≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1751

Bug #1751: arrow keys doesn't work correct in screen

Kind bug
Product Command-T
When 2010-11-30T09:05:36Z
Status closed
Reporter anonymous
Tags no tags

Description

Way to reproduce:

  • open screen session
  • run vim
  • try to find smth using command-t
  • press down key to start selecting any file in results area

Env:

OS: Mac OS X 10.6.5

shell: zsh 4.3.10 (i386-apple-darwin10.4.0)

screen: Screen version 4.00.03 (FAU) 23-Oct-06

vim --version:

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Nov 17 2010 22:25:48)
MacOS X (unix) version
Compiled by kasya@kasya-mac-2.local
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 
+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: "/Users/kasya/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX -no-cpp-precomp  -g -O2 -D_FORTIFY_SOURCE=1     -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -DRUBY_VERSION=18 
Linking: gcc   -L.     -L/usr/local/lib -o vim       -lm -lncurses  -liconv -framework Cocoa     -framework Python   -lruby -lpthread -ldl 

Comments

  1. Greg Hurrell 2010-11-30T09:17:51Z

    This is a duplicate of ticket #1558, so I'll mark this one as closed.

    In the meantime, the short version:

    This is due to the terminal emulation provided inside the screen session.

    As a work around you can either use other movement keys (eg. <C-k>, <C-j>) or define your own mappings designed to work with your terminal. Note that you may need to look into Vim's timeout, ttimeout and related settings if you to that. Changing the TERM used inside screen fixed the issue for the original poster of ticket #1558.

    For more examples of how the terminal emulation can cause problems, and the things you can do to work around it, see this forum topic and also other tickets like issue #1625.

  2. Greg Hurrell 2010-11-30T09:19:49Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets