Screen, SecureCRT, UTF-8 and FreeBSD
Finally I got my environment on FreeBSD UTF-8-lized.
Note on SecureCRT: set Character encoding to 『UTF-8″
Note on Screen: set following command in .screenrc
defutf8 on
defc1 off
defencoding utf8
defc1 off
defencoding utf8
bind b encoding big5 utf8
bind u encoding utf8 utf8
Note on Screen with 256 color:
% cd /usr/ports/sysutils/screen
% make config # XTERM_256 Enable support for 256 colour xterm
% make deinstall reinstall clean
% make config # XTERM_256 Enable support for 256 colour xterm
% make deinstall reinstall clean
And set following command in .screenrc
term xterm
termcapinfo xterm ‘Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm’
attrcolor b 『.I』
attrcolor i 『+b』
defbce on
termcapinfo xterm ‘Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm’
attrcolor b 『.I』
attrcolor i 『+b』
defbce on
And re-start the screen (not just re-attach it)



十月 27th, 2009 at 7:41 下午
mlterm 256 color…
……