++wythern++

X presents Y for a better Z

Disable XON/XOFF in Putty

Sometimes I use putty to login my ubuntu machine, and use emacs to edit some text files.
But it always stop working when I save my edition in emacs ( Ctrl-x Ctrl-s ). I firstly thought it was a network problem, but the frequent happening with fix pattern(hang in save) made me do some investigation.
Answer founded here. To be briefly, the Ctrl-s is the flow control key which send XOFF to terminal and let it stop output, one may use Ctrl-Q to send XON and enable the output.
Here is the way to disable this behavior.
   echo "stty -ixon" >> ~/.bashrc
Now, putty seems ok.

posted on 2013-09-10 11:42 wythern 阅读(315) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   博问   Chat2DB   管理