红联Linux门户
Linux帮助

vim&vi在编辑的时候突然卡死,不接收输入问题的解决

发布时间:2017-10-12 10:55:09来源:linux网站作者:东北小狐狸
vim&vi在编辑的时候突然卡死,不接收输入,多方查找解决方案无果,看了官方解释如下:
”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+s是shell控制键,在输入ctrl+q就可以恢复了,网上看到crt远程使用vim的时候也是发现这个问题,原因其实是一样的。
 
本文永久更新地址:http://www.linuxdiyf.com/linux/32774.html