中文化 Eterm 0.9.1 - FAQ
\Question{在 Eterm 中显示输入中文}
\contributor{Shell Hung}{shell@shellhung.org}{2001/08/09}
在 Debian 的 Unstable (SID) 的 Eterm 0.9.1 已经有了
中文 Big5 的 patches, 不过除了字型不正确外, 编译的
字元都是使用 Unicode, 而不是 Big5 的, 所以预设是没有
中文的支援.
.
要使 Eterm 能够显示及输入中文, 必需要有taipeifonts
及 xcin, 可以透过 apt-get 找取, 详见其他的 FAQ 项目.
.
1. 在您的使用者目录下建立一个 .Eterm 的目录
2. 在 $HOME/.Eterm/user.cfg 内输入以下的项目:
<Eterm-0.9.1>
.
begin attributes
font 1 8x16
font 2 12x24
end attributes
.
begin multichar
font 1 -*-fixed-medium-r-normal--16-*-*-*-*-*-big5.eten-0
font 2 -*-fixed-medium-r-normal--24-*-*-*-*-*-big5.eten-0
encoding big5
end multichar
.
begin xim
input_method xcin
preedit_type OverTheSpot
end xim
.
唯独要修改的可能是 <Eterm-0.9.1> 这句, 如果您是使用
Eterm 0.9, 请把后最的".1"移走, 否则这个档案会在Eterm
执行时因为读取错误而没有中文的支援.
.
注意一点, 预设会读取 font 2 字型, 您亦可以使用 font
default 1 来决定读取字型的预设值, 或是透过 Eterm的
设定来完成, 详见 Eterm 的使用手册.
ps. 我可以为 Eterm 提供到 screenshots (如果需要).
欢迎改进.
--
Best Regards,
Shell Hung <shell@shellhung.org>
http://www.shellhung.org
--
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.
Reply to: