红联Linux门户
Linux帮助

CentOS下禁止screen建立新窗口时更改窗口尺寸

发布时间:2015-12-24 15:46:30来源:linux网站作者:linux人

Xshell或Putty之类的连接到Centos下使用screen时会改变窗口的尺寸,非常烦人,可以通过如下方法修改使其不更改窗口尺寸。


编辑/etc/screenrc或~/.screenrc 加入下面的代码:

# Change the xterm initialization string from is2=\E[!p\E[?3;4l\E[4l\E>
# (This fixes the "Aborted because of window size change" konsole symptoms found
#  in bug
#134198)
termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'


Linux技巧:使用Screen管理你的远程会话:http://www.linuxdiyf.com/linux/12018.html

screen管理Linux远程会话:http://www.linuxdiyf.com/linux/8359.html

Screen Linux会话管理:http://www.linuxdiyf.com/linux/8934.html

Linux在线安装软件screen使用方法:http://www.linuxdiyf.com/linux/6152.html

Linux screen的使用:http://www.linuxdiyf.com/linux/5277.html