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
Written by Guilherme Victal
Related protips
1 Response
Are there any potential downsides/pitfalls to adding this to a bashrc?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#