1. start a vim session with 'vim -u NONE' in xterm (or st) running bash 2. start a vim terminal with ':term' 3. inside the vim terminal start another vim session with 'vim -u NONE "+set nocompatible" 4. type <c-z> in the child vim session (do not press any other keys) Result: the first character pressed in the vim terminal after stopping the child vim session is appended to some junk text. e.g. if you type j then ?12;2$yj gets echoed (i.e. the string '?12;2$y' followed by 'j').
The bug is not seen when the child/nested vim session is ':set compatible'. If a single key is pressed in the child/nested vim session before <c-z> then the bug is not seen. ====== Vim versions tested: v8.0.1331, v8.0.1297 ====== Tested with Bash under both xterm and st on archlinux Linux archlinux 4.13.12-1-ARCH #1 SMP PREEMPT Wed Nov 8 11:54:06 CET 2017 x86_64 GNU/Linux GNU bash, version 4.4.12(1)-release (x86_64-unknown-linux-gnu) xterm patch 330 st 0.7 https://st.suckless.org/ ====== Here is the output of :version for v8.0.1331: VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 22 2017 22:13:12) Included patches: 1-1331 Compiled by jeremy@archlinux Huge version with X11-Athena GUI. Features included (+) or not (-): +acl +cmdline_compl -ebcdic -hangul_input -lua +mouse_xterm -python +tag_binary +vertsplit +xpm +arabic +cmdline_hist +emacs_tags +iconv +menu +multi_byte -python3 +tag_old_static +virtualedit +xsmp_interact +autocmd +cmdline_info +eval +insert_expand +mksession +multi_lang +quickfix -tag_any_white +visual +xterm_clipboard -autoservername +comments +ex_extra +job +modify_fname -mzscheme +reltime -tcl +visualextra -xterm_save +balloon_eval +conceal +extra_search +jumplist +mouse +netbeans_intg +rightleft +termguicolors +viminfo +balloon_eval_term +cryptv +farsi +keymap +mouseshape +num64 -ruby +terminal +vreplace +browse +cscope +file_in_path +lambda +mouse_dec +packages +scrollbind +terminfo +wildignore ++builtin_terms +cursorbind +find_in_path +langmap +mouse_gpm +path_extra +signs +termresponse +wildmenu +byte_offset +cursorshape +float +libcall -mouse_jsbterm -perl +smartindent +textobjects +windows +channel +dialog_con_gui +folding +linebreak +mouse_netterm +persistent_undo +startuptime +timers +writebackup +cindent +diff -footer +lispindent +mouse_sgr +postscript +statusline +title +X11 +clientserver +digraphs +fork() +listcmds -mouse_sysmouse +printer -sun_workshop +toolbar +xfontset +clipboard -dnd +gettext +localmap +mouse_urxvt +profile +syntax +user_commands +xim system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" system gvimrc file: "$VIM/gvimrc" user gvimrc file: "$HOME/.gvimrc" 2nd user gvimrc file: "~/.vim/gvimrc" defaults file: "$VIMRUNTIME/defaults.vim" system menu file: "$VIMRUNTIME/menu.vim" fall-back for $VIM: "/home/jeremy/o/vim/v8.0.1331/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl -lm -ltinfo -lelf -lnsl -lacl -lattr -lgpm -ldl -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
