【问题标题】:Programmatically set the terminal window size以编程方式设置终端窗口大小
【发布时间】:2014-02-25 12:52:53
【问题描述】:

我在 Unix 中编程,并使用终端客户端将 ssh 连接到远程开发服务器。 现在每次我打开一个新的终端窗口时,我都需要使用 “Ctrl +右键单击”并将大小重置为“大”或“巨大”。

我想设置我的 .profile 以便这可以通过编程方式发生。 你能告诉我如何实现同样的目标吗?

【问题讨论】:

    标签: unix configuration terminal window


    【解决方案1】:

    在 bash 中,你可以使用命令“resize -s [rows] [cols]” 见:http://tldp.org/LDP/abs/html/terminalccmds.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-12-03
      • 2012-09-08
      相关资源
      最近更新 更多