Disable the Ctrl-S in terminal

The Ctrl+S and Ctrl+Q is actually the XON/XOFF protocol. It lives with Unix/linux for long time.

You can disable it by:

stty -ixon

or

stty stop undef

We could check by stty -a before and after the change.

easier is, try the commands above, and press Ctrl-S to see if it worked.

reset terminal/tty

stty sane

to reset the terminal.

For example. after find...|xargs vim

misc

\x1b = ESC in shell script

<<Back