I came across a sentence in vimdoc:
Note: CTRL-S does not work on all terminals and might block
further input, use CTRL-Q to get going again.
and using CTRL-S indeed hangs my vim. I was thinking that it was vims fault, since there was no problem when I used C-s
/C-x C-s
in emacs nox. However, just now, when I was reading a man page and pressed Ctrl-s
, it hung man
as well (less
was the output pager).
So, can someone tell me what's happening?
The terminal emulators I've testd are xterm
and lxterminal
. tty
also
has this problem. A Ctrl+q unhangs the terminal in all the cases.
C-q
to re-enable scrolling, right?ctrl-s
cause the process to hang.C-s
andC-q
were the old days "scroll lock toggle". you can disable this functionality by addingstty ixany
andstty ixoff -ixon
to your.bashrc