Skip to content

优海

人,技术,生活。

  • 常用
  • 生活
  • 历史
  • 技术
  • 编程
  • 软件

字符乱了

recover terminal tty

March 23, 2022July 28, 2021 by euhat

When my terminal is in gui mode using such as ncurses library, if exception occurs, my console may be soiled. Just blindly type command below to recover it.

1
2
#reset
stty sane <press enter key>

#reset stty sane <press enter key>

Categories 技术 Tags console, recover, terminal, tty, 字符乱了, 恢复, 控制台, 终端
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Apr    

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Email:
euhat@hotmail.com
wolinux@163.com

鄂ICP备14020742号-1

Tags

Android bash c Chrome cmake debug dpdk epoll Euhat fedora ffmpeg gdb include ipsec jni kernel Linux mat MFC mp4 NDK ofp opencv openssl printf python qt Rtsp source StrongSwan tcp ubuntu UE4 vmware win32 Windows 命令行 失败 年表 控件 日语 源码 皇帝 禁止 编译
© 2025 优海 • Built with GeneratePress