离线工具Screen命令支持滚屏

配置文件:

不同的linux系统,配置文件screenrc位置也不同,这里建议使用全局搜索工具locate screenrc命令去查找,一般都是在/etc/screenrc 这里。

在配置文件里随便找个地方添加以下内容

termcapinfo xterm* ti@:te@
termcapinfo xterm|xterms|xs|rxvt 'hs:ts=\E]2;:fs=07:ds=\E]2;screen07'