Problem: When used terminal with XON/XOFF flow control, vim tries to
still make CTRL-S mapping available, which results in severe
screen corruption, especially on large redraws, and even
spurious inputs
Solution: Disallow CTRL-S mapping if such terminal is recognized.
Don't remove IXON from the bitmask inversion.
closes: #12674 (well, at least CTRL-S mapping is disabled, cannot test vt420 corruption because I do not have such hardware)
When started with TERM=vt420:
TERM=vt420 vim
subsequent
:set termcap
shows t_xon=y
mapping
map <C-S> :echo "abc"<CR>
does nothing (after <C-S> output freezes and subsequent <C-Q>
unfreezes it)
When started with TERM=xterm:
TERM=xterm vim
subsequent
:set termcap
shows t_xon=
mapping
map <C-S> :echo "abc"<CR>
works (after <C-S> one see abc string echo-ed)
https://github.com/vim/vim/pull/14542
(4 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
thanks, I have made a few minor changes, mostly documentation and tests.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()