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-qto re-enable scrolling, right? – h3rrmiller Apr 11 '13 at 15:40ctrl-scause the process to hang. – Hongxu Chen Apr 11 '13 at 15:41C-sandC-qwere the old days "scroll lock toggle". you can disable this functionality by addingstty ixanyandstty ixoff -ixonto your.bashrc– h3rrmiller Apr 11 '13 at 15:42