争怎路由网/系统工具/内容

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

系统工具2024-06-10 阅读
Linux,全称GNU/Linux,是一种免费使用和自由传播的类UNIX操作系统,其内核由林纳斯·本纳第克特·托瓦兹于1991年10月5日首次发布,它主要受到Minix和Unix思想的启发,是一个基于POSIX的多用户、多任务、支持多线程和多CPU的操作系统。
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的时候也是发现这个问题,原因其实是一样的。

Linux是一套免费使用和自由传播的类Unix操作系统



……

相关阅读