Advertise on warmetal.nl!
Click for more information
about advertising here.

Did you find this website useful? Did I save you a lot of time?
Please consider donating to support this site:

 

Fix: Control S Freezes Putty

Whenever I press CTRL+S in putty the terminal seems to freeze. It's actually not, but it doesn't show anything. That is because CTRL+S initiates the XOFF command, which means it accepts keystrokes but doesn't show it. There are two fixes:

Fix One - Temporary

Press CTRL+Q to initiate the XON command. Anything you pressed will be shown.

Fix Two - Permanent

Add these lines to your .bashrc file:

stty ixany
stty ixoff -ixon

Now, when you press CTRL+S you'll see this:

sjoerd@sles:~>
(i-search)`':

What this does however… I have no clue. I like it more to just add this line:

stty ixany

Now, when you hit CTRL+S the XOFF gets initiated but any character will start XON.

Discussion

Joe Doe, 2012/01/10 16:17
Best answer is http://superuser.com/questions/124845/can-you-disable-the-ctrl-s-xoff-keystroke-in-putty/376881#376881
Enter your comment:
 
fixcontrolsputty.txt · Last modified: 2011/02/24 10:10 by sjoerd