持久性 stty 设置? [英] Persistent stty Settings?

查看:37
本文介绍了持久性 stty 设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我可以通过执行 stty -ixon 来禁用终端输出挂起/恢复功能"(CTRL+S 和 CTRL+Q 废话).

Currently, I can disable the terminal output suspend/resume "feature" (CTRL+S and CTRL+Q nonsense) by executing stty -ixon.

不幸的是,这不是永久性的.我需要设置这个选项每次我启动 xterm.

Unfortunately this is not permanent. I need to set this option everytime I launch xterm.

是否有一个可以编辑的文件可以记住我的设置并在重新启动和重新启动时保持永久?

Is there a file that can be edited that would remember my setting and keep it permanent across re-launches and reboots?

推荐答案

学分归 PHS.将 .bashrc 符号链接到 .profile 确实有效.哇,我以为 bash 会默认读取 .profile.

Credits go to PHS. Symlinking .bashrc to .profile actually worked. Wow, I thought bash would read .profile by default.

谢谢博士.

这篇关于持久性 stty 设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆