Apparent conflict between scrollback and vim
By dominique.or... on February 05, 2013 15:29 (imported from Google Code)
What steps will reproduce the problem?
- Perform operations in iTerm2 so as to be able to scroll back
- Open a file with Vim in terminal mode in the same iTerm2, scroll down a screen or two and close the file.
- Scroll back in iTerm2
What is the expected output? What do you see instead?
Expected: the commands and output that were in iTerm prior to opening Vim.
Instead: the contents of the file just opened in Vim.
What version of the product are you using? On what operating system?
iTerm2 Build 1.0.0.20130122
Vim 7.3 (all compilation options listed below).
Please provide any additional information below.
The result is the same whether I use "unlimited scrollback" or not.
OSX 10.8.2.
The behavior described above has been consistent since I've been using iTerm2 (it's not new).
Vim compiled from Homebrew with my own changes to the compilation options.
$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 18 2012 16:01:05)
MacOS X (unix) version
Included patches: 1-444
Compiled by dpo@Aragorn.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 +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"
fall-back for $VIM: "/usr/local/Cellar/vim/7.3.444/share/vim"
Compilation: cc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: cc -L. -L/usr/local/lib -o vim -lXt -lX11 -lSM -lICE -lm -lncurses -liconv -framework Cocoa -framework Python -lruby -lobjc