这篇文章类似于
this和
this,但是,没有腻子,边框可以正常显示.因此,我怀疑这是由旧版本的tmux引起的.
我正在运行FreeBSD 9.2-release和tmux 1.9a(最新的FreeBSD).
解决方法
从
tmux
FAQ:
I use
PuTTY
and mytmux
window pane separators are allqqqqqqqqq's
!
PuTTY
is using a character set translation that doesn’t support ACS line
drawing. With a Unicode font,try settingPuTTY
to use a different translation
on the Window -> Translation configuration page. For example,changeUTF-8
to
ISO-8859-1
orCP437
. It may also be necessary to adjust the wayPuTTY
treats
line drawing characters in the lower part of the same configuration page.
话虽这么说,我使用tmux 1.8与PuTTY 0.62,“UTF-8翻译”,“Unicode线条绘制代码点”和en_US.utf8的远程区域设置完美正常.
您可能已将PuTTY配置为使用Unicode而不在FreeBSD框上使用UTF-8语言环境,或者反过来(如果我将远程语言环境切换到C而不触及我的PuTTY设置,我会得到您描述的行为).