SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


fixcontrolsputty
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fixcontrolsputty [2013/04/21 09:38] (current)
sjoerd created
Line 1: Line 1:
 += 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:
 +<​code>​
 +stty ixany
 +stty ixoff -ixon
 +</​code>​
 +
 +Now, when you press CTRL+S you'll see this:
 +<​code>​
 +sjoerd@sles:​~>​
 +(i-search)`':​
 +</​code>​
 +What this does however... I have no clue. I like it more to just add this line:
 +<​code>​
 +stty ixany
 +</​code>​
 +
 +Now, when you hit CTRL+S the XOFF gets initiated but any character will start XON. 
 +
 += More Resources =
 +http://​superuser.com/​questions/​124845/​can-you-disable-the-ctrl-s-xoff-keystroke-in-putty/​376881#​376881  ​
 +
 +
 +{{tag>​fix linux}}
fixcontrolsputty.txt ยท Last modified: 2013/04/21 09:38 by sjoerd