作为一个IT工作者,经常使用一些终端连接工具去连接Linux服务器。如putty、xshell、SecureCRT等。
今天说一个快捷键的小问题。
用SecureCRT的vim编辑一些文件的时候,不知什么原因,突然SecureCRT无法输入,没有任何反映,感觉进入假死状态。
原因:不小心按了Ctrl+S。
CTRL-S and CTRL-Q are called flow-control characters. They represent an antiquated way of stopping and restarting the flow of output from one device to another (e.g., from the computer to your terminal) that was useful when the speed of such output was low. They are rather obsolete in these days of high-speed networks. In fact, under the latter conditions, CTRL-S and CTRL-Q are basically a nuisance. The only thing you really need to know about them is that if your screen output becomes “stuck,” then you may have hit CTRL-S by accident. Type CTRL-Q to restart the output; any keys you may have hit in between will then take effect.
解决方法:按Ctrl+Q即可。
注:xshell、putty都会这样。




