Ctrl-S is probably the culprit; it stops your screen output in most terminals. As Michael mentioned, you can restore your screen to normal by entering
Ctrl-Q.
Theoretically, setting stty -ixon should prevent Ctrl-S from freezing your screen, but it's not working on my local Solaris 10 login.
http://stackoverflow.com/questions/3419820/sometimes-my-file-just-freezes-in-my-vi-vim-what-happened

本文探讨了在使用大多数终端时遇到的Ctrl+S导致屏幕冻结的问题,并提供了通过按下Ctrl+Q来恢复正常显示的方法。此外还讨论了理论上设置tty-ixon可以避免此问题,但在Solaris 10中并未生效。
1万+

被折叠的 条评论
为什么被折叠?



