In vim on xterm, when typing [/](search), [Shift]+[Any Alphabet], the search is canceled. (With [Control]+[Any Alphabet] key, it seems be happened too) It happens only when vim with xterm and TERM=xterm (and compatible TERMs), for example: * builtin_xterm of vim * xterm * xterm-r5 * kterm but not: * builtin_ansi of vim * ansi * vt100 * teraterm * konsole * x10term When using app-editors/neovim-0.4.3, it doesn't happen. When on x11-terms/eterm-0.9.6-r2, kterm-6.2.0-r6, urxvt of rxvt-unicode-9.22-r3 or mrxvt-0.5.4, it doesn't happen (even if TERM=xterm). When on uxterm, it happens. It doesn't happen, with vim's [:] commands. It doesn't happen, when typing [/], [CapsLock][Any Alphabet]. I have no idea who causes it, vim might be wrong, xterm might be wrong, terminfo might be wrong and/or these combinations might be wrong. Reproducible: Always Steps to Reproduce: 1./usr/bin/xterm -e /usr/bin/vim -T xterm 2.type [/], [Shift]+[Any Alphabet] Actual Results: Search command is canceled. Expected Results: Search command should be continued.
Created attachment 653859 [details] /var/db/pkg/app-editors/vim-8.2.0814/USE
Created attachment 653861 [details] /var/db/pkg/x11-terms/xterm-357/USE
Created attachment 653863 [details] emerge --info
Is there any file(s) to be attached, other than "emerge --info" and USE flags?
In following cases, vim works fine, even if on xterm. Case 1: "vim -u NONE" Case 2: "vim -u NONE" and then, :so /etc/vim/vimrc :so $VIMRUNTIME/vimrc_example.vim Case 3: "vim" and then, :se compatible In the following case, [/][Shift]+[Any Alphabet] was cancelled. "vim" and then, :se compatible :se nocompatible
Finally, vim + xterm works fine, after remove app-vim/searchcomplete-1.1-r1 from my box. The title of this bug might be to change as "app-vim/searchcomplete-1.1-r1 with xterm..." and so on.