Skip to content

Linux Screen解决乱码问题

Tags:

可以在全局的screenrc文件里加 (通过whereis screenrc)

也可以在用户 ~/.screenrc 里加入如下设置:

apt install -y screen && cat > ~/.screenrc <<EOF
# 编码
defutf8 on
defencoding utf8
encoding UTF-8 UTF-8
# 新建screen,则能正确显示
EOF

Leave a Reply

Your email address will not be published.