From here I understand that to disable Ctrl+S the stty -ixon
command can be used and it works, but as soon as I close the terminal and open another I have to re-enter the command.
To permanently disable Ctrl+S I have made a startup.sh
that contains the stty -ixon
command and run it with crontab
at @reboot
but it does not work.
So what will be the solution to permanently disable Ctrl+S?
CTRL+S
by mistake, you can useCTRL+Q
to restore data flow from the terminal. – jjmontes Dec 26 '16 at 14:15startup.sh
does not work, but the accepted answer does work, is that it has to be done every time a new (pseudo)terminal is activated. – zwol Dec 27 '16 at 04:20