Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1171803
  • 博文数量: 115
  • 博客积分: 950
  • 博客等级: 准尉
  • 技术积分: 1734
  • 用 户 组: 普通用户
  • 注册时间: 2011-12-08 20:46
文章分类

全部博文(115)

文章存档

2015年(5)

2014年(28)

2013年(42)

2012年(40)

分类: LINUX

2012-03-15 16:11:39

Putty: Control-S Recovery

If you ever accidentally hit CTL-S in Putty, your terminal seems to lock. After a bunch of searching, Pat found an answer for why this happens on an old 2004 mailing list.

"Every time I accidentally press Ctrl+s in Putty when connected to any Linux box via ssh, my session stops responding. How do I restore it?"

The reason:

"This is software flow control - left over from the days of serial connections. Control+S sends XOFF and Control+Q sends XON and together they make XON/XOFF, or "software," flow control. Hardware flow control is known as RTS/CTS and involves switching the signal on a couple of the pins connected to the serial port."

Original Post:

So, when that happens, just hit CTL-Q, and you are running again.

IMPORTANT NOTE: All / Any keys you hit after hitting ctl-s will be BUFFERED and SENT when you hit ctl-q.

MORE IMPORTANT WARNING: Don't send mad/frustrated commands. Because if you hit ENTER, it gets buffered too. All those commands WILL BE SENT and EXECUTED.

阅读(1679) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:ubuntu11.04_apt-get_command

给主人留下些什么吧!~~