Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
It's not very different from a normal installation of Debian. Just select task-chinese-s for simplified Chinese support, or task-chinese-t for traditional Chinese support during installation. Note that Debian Potato does not correctly install all selected packages, so you may have to manually execute dselect and directly choose the Install option from the menu.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
Ensure that your /etc/apt/sources.list is correct, and run apt-get install task-chinese-s for simplified Chinese support, or apt-get install task-chinese-t for traditional Chinese support.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
Starting from libc6 2.2, locale files are no longer automatically generated. Edit /etc/locale.gen to remove locales that you do not need, and run the locale-gen program as root.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
Set up your environment variables. For bash users, the following sets up a simplified Chinese environment:
$(HOME)/.bashrc
alias ls=``ls -show-control-chars''
export LC_ALL=zh_CN.GB23122
export LC_CTYPE=zh_CN.GB2312
export LANG=zh_CN.GB2312
export XMODIFIERS=``@im=Chinput''3
stty cs8 -istrip
stty pass8
$(HOME)/.inputrc
set meta-flag on
set convert-meta off
set output-meta on
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
The software currently only supports the vt100 terminal. Execute the following: export TERM=vt100 before running it, or include the setting in $(HOME)/.bashrc.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
Make sure that you have installed the xfs-xtt font server package, and then add the following: FontPath ``nix/localhost:7100'' into your /etc/X11/XF86Config file under the Files section.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
XFree86 4.0.2 uses the xtt module to support TrueType fonts in the GB or Big5 encodings, and does not require xfs-xtt. Just add FontPath ``/usr/lib/X11/fonts/TrueType'' to the Files section of your /etc/X11/XF86Config-4 file, and replace Load ``freetype'' with Load ``xtt'' You can probably also remove the line FontPath ``unix/:7100''
Contributed by: mailto:foka@debian.orgAnthony Fok 2001/08/23
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
If you are running Woody or Sid, and your x-ttcidfont-conf is version 3.5 or above, please add the following:
FontPath ``/usr/lib/X11/fonts/defoma/TrueType/''to the ``Files''section of your /etc/X11/XF86Config-4.
FontPath ``/usr/lib/X11/fonts/defoma/CID/''
Contributed by: mailto:ygh@debian.orgYu Guanghui 2002/01/04
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
If you are running version 8 or above of x-ttcidfont-conf, add the following lines instead:
FontPath ``/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/''to the ``Files'' section of your /etc/X11/XF86Config-4.
FontPath ``/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID/''
Contributed by: mailto:ygh@debian.orgYu Guanghui 2001/10/20
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
It's a good idea to upgrade to version 7 or above of x-ttcidfont-conf, which fixes the problem of only having bold and italic fonts available when using the xtt font server.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
If you did not use the option ``-deferglyphs 16'' when starting X, xfs-xtt will attempt to load all characters into memory. You can use the following:
startx - -deferglyphs 16to start X, or if you are using xdm, add ``-deferglyphs 16'' to the /etc/X11/ xdm/Xserver file.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
Contributed by: mailto:foka@debian.orgAnthony Fok 2000/12/10
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
An easier method is to upgrade to xcin 2.5.2 in Debian 2.2r2, or xcin 2.5. 2.2 in unstable. You can then select ``XCINterm (Big5)'' or ``XCINterm (GB2312)'' from the ``XShell'' menu, or run xcinterm-big5 or xcinterm-gb from a shell. The system will automatically start the xcin server and a terminal emulator.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
Chinput has not been formally accepted into Debian, because it uses the UNICON input method, which has not yet been fully tested. You can download experimental debs for chinput and unicon from:
http://master.debian.org/~ygh/unicon-im_3.0-1_i386.debChinput also uses the XIM protocol, so only applications that support XIM will accept input from Chinput. Just set the XMODIFIERS environment variable to ``@im=Chinput in the shell or in $(HOME)/.bashrc, and use ctrl-space to toggle input methods. Note that the default chinput package uses TrueType fonts.
http://master.debian.org/~ygh/chinput_3.0.1-1_i386.deb
apt-get install chinput unicon-im
Contributed by: mailto:ygh@debian.orgYu Guanghui 2000/10/20
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
Note that chinput only supports 16-pixel fonts.
Translated by: mailto:szuwen.huang@attbi.comSteven Huang 2002/06/06
You need to manually configure icewm to reset the size of the font. First, copy /etc/X11/icewm/preferences to emph$(HOME)/.icewm/preferences. Look for the line:
#TitleFontName="-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*"and change it to one of the following:
TitleFontName="-default-song-bold-r-normal--16-160-72-72-c-160-gb2312.1980-0" or TitleFontName="-default-ming-bold-r-normal--16-160-72-72-c-160-big5-0"
Debian Chinese Project