Last Updated: February 25, 2016
· victal

Disable Ctrl-S and Ctrl-Q on terminal

Usually these two key bindings are used for flow control, with <C-s> pausing output from terminal and <C-q> restoring it. If you want to disable this behaviour and use the bindings for other purposes, add the following lines to your .bashrc (in case you use bash) or equivalent file:

stty stop ''
stty start ''
stty -ixon
stty -ixoff

1 Response
Add your response

Are there any potential downsides/pitfalls to adding this to a bashrc?

over 1 year ago ·