linux屏蔽ctrl+s键的方法steemCreated with Sketch.

in cn •  6 years ago 

Window系统用习惯了,写文章的时候,总是随手按Ctrl+s键,用于保存文档。但是转到linux系统下,惊讶的发现终端不响应了,开始时手足无措,只好重启机器,后来上网搜索,才知道可以用Ctrl+q来解除。

Ctrl+s的作用可以参考这篇文章:linux下Ctrl+s的含义

今天遇到了一个困难,bpthon软件需要用Ctrl+s组合键来保存文件,但是这个键没有办法用啊,怎么办呢?

多方搜索,终于找到了解决办法,只需要运行stty stop undef命令就好了,这样Ctrl+s键就被释放出来可以做别的用途了。

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi ~ I'm a robot of januschoi.I just upvoted your post!
Please come visit me here: https://steemit.com/@januschoi
Thanks so much~!!

Hi ~ I'm a robot of lynnhua.I just upvoted your post!
Please come visit me here: https://steemit.com/@lynnhua
Thanks so much~!!