s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
4. Display and Input ChineseFor environments of Chinese system under DOS or of Windows 95 for Chinese that you have been always using to get through Linux hosts, there is no doubt that you don't need to take a good look at this section. However, when your local host is Linux-based system, configurations for Chinese system are definitely necessary. 4.1 xcin+crxvtIt is truly suggested that you can take the combinations of xcin and crxvt as a pathway to solve the problems of Chinese I/O if the X Window System is acquainted with you. Xcin, with a contraction of X Window Chinese INput, is a Chinese Input System executed under the X mode. Because xcin is utilizing the architecture of client/server, all you have to do is just to start one xcin window so that you can manipulate with many crxvt virtual terminals under the same window, which can exhaust much little resources. Also, it offers some wise programs of input, like Wang-Hsing Input or Natural Input, which can select the matching phases by themselves. In the early age, in order to convert fonts and inputs table to fit with xcin, you need the ETen Chinese System mounted first before the installation of xcin. After the man, Tung-Han Hsieh, < thhsieh@twclx.phys.ntu.edu.tw> became responsible for the voluntary maintenance of xcin, this terrible problem had been resolved! The newest version is 2.3.02 now. But this one is just a version of beta. For the more stable one, I advise you to fetch the xcin-2.1d for a suggestion in my mind.
Getting the softwareDownload the sources of xcin from this ftp site below: ftp://linux.cis.nctu.edu.tw/packages/chinese/xcin/xcin-2.1d.tar.gz
Installation of xcinYou need the xcin-2.3.02.tar.gz file at hand first to setup xcin of version 2.3.02 and untar and unzip it under any certain directory.
So, you have finished the setup of xcin of version 2.3.02 from now on. You can also get the same sort of xcin, named xcin-2.3.02.i386.rpm, maintained by Cd Chen for RedHat Linux System. ftp://linux.ntcic.edu.tw/personal/cdchen/Chinese-RedHat-Packages/XCIN/RPMS/xcin-2.3.02-1.i386.rpm Install it by
4.2 yactyact is the system of displaying and inputing Chinese running under the terminal mode. The most different point from chdrv is that yact uses your computers' displaying card through svgalib library. Without the information of your video card contained in the svgalib, you may not probably make yact work on your Linux. The most admirable point for yact is that the fonts are scanned with 24x24 on the monitor and are more beautiful than other terminal Chinese input system. And it is more smooth than the others in dealing with scrolling pages. The newest version of yact is yact-p4 now. You can get yact here below, ftp://linux.cis.nctu.edu.tw/packages/chinese/yact/yactp4.tar.gzThe ways to setup yact are simple, too. After getting the sources of yact, decompress it and examine whether the Makefile file is correct or not, then type make all install directly on shell prompt to complete the installation of bits files. Read the README file for more detailed information. Next is the step of fonts' setup. yact uses the HBF fonts, but you can't find the fonts in the packages of yact, which means you need to take extra actions to make it available. Having ETen Chinese System mounted is an original recommendation from the founder for its fonts. Copy the HBF fonts' description file The free HBF fonts are available, too. Change names of these 256 ASCII fonts as
4.3 bcs16Because yact needs the svgalib 1024x768 mode to work, many netters without ET4000 series cards cannot get well supports from it, causing their sickness of this excellent Chinese system. The bcs16 is modified from yact according to this drawbacks. It needs only 640x480 and can work very well on most video cards. Get bcs16 from this site: ftp://linux.cis.nctu.edu.tw/packages/chinese/bcs/bcs007a.tgz Installation
The founder of bcs16 is cnoize.bbs@bbs.cis.nctu.edu.tw.
4.4 chdrvchdrv is a Chinese emulator program displaying and entering Chinese through console. Because chdrv access the tty device directly, it must be activated by the root. Now, chdrv is maintained by Yu-Chung Wang < wycc@iis.sinica.edu.tw> and the newest one is chdrv-1.0.10.
Getting chdrvYou can get it from ftp://linux.cis.nctu.edu.tw/packages/chinese/chdrv/Get the source package, chdrv-1.0.10.tar.gz, binary package, chdrvbin-1.0.10.tar.gz, and fonts package, chdrvfont.tar.gz, respectively.
Installation of chdrvUnzip and untar the compressed binary file,
Read the illustrations for installation in file INSTALL.1.0 to modify file install . If you want your shadow password to works, you need to change the settings in chinese.conf . Erase the following comments off,
LOGINPROGRAM /bin/telnetFreeze this line into remarks, LOGINPROGRAM /bin/loginNow, you can execute the installation script.
4.5 cxtermcxterm is a Chinese virtual terminal running under X Window System, and is the oldest Chinese displaying and inputing virtual terminal, which is provided various codes for Chinese, including BIG5 codes, GB codes, HZ codes and so on. Because each cxterm opened needs to load Chinese data into the main memory, system resources are exhausted quite largely for it.
Getting cxtermThe newest one is version of 5.0.p3 named ftp://ftp.ifcss.org/pub/software/x-win/cxterm/Or the rpm at ftp.redhat.com : cxterm-color-5.0p3-1.i386.rpm , cxterm-color-big5-5.0p3-1.i386.rpm , cxterm-color-gb-5.0p3-1.i386.rpm .
ftp://ftp.redhat.com/pub/contrib/hurricane/i386/
Installation of cxtermDecompress the packed,
The upper instruction will produce a new directory cxterm-5.0 , and then invoke instructions as follows:
You need login as root to execute ``./config.sh '' if you wish all users on your computer can use cxterm well, then you can finish the steps of setup following the descriptions below:
0. Read COPYRIGHT Notice 1. Compile, Install, and Configure "CXTERM 5.0" in One Step 2. Compile cxterm (not to install) 3. Install cxterm (after successful compilation in 2) 4. Install additional Chinese font(s) for your X window 5. Configure your account for using cxterm (after installation in 3) x. Exit Please choose (0/1/2/3/4/5/x) : If you wish all things going through automatically, please choose
For BIG5 codes, invoke this following command,
Color patch of CXtermOn the website
4.6 XA (Xcin Anywhere)XA is a small tool of an abbreviation for Xcin Anywhere, which can let you enter Chinese words with xcin under any common X-based softwares. If making XA coordinating with CXWin(or XA+CV), you can get an environment of accessing Chinese for softwares not supported with Chinese. Thus, the xterm will become cxterm-like naturally. Cool, doesn't it? XA is now extremely unstable as though, and you have to take charge of all risks if you want to explore it. As most things do, before working with XA, you must make xcin installed first. You can pick XA up into your pocket from here below: ftp://linux.cis.nctu.edu.tw/packages/chinese/xcin/XA/ Decompress the packed. Run
Then, just follow the general method of using xcin.
Founder of XA is weijr.bbs@bbs.ntu.edu.tw.
4.7 New Added InputsAt present, there are two common formats of input table, namely I will take the Bo-Shia-My input as an example to show how to add it under each kind of Chinese system.
The input tables mentioned here can be found at Other
xcinMake use of utility
It will produce the two files: boshiamy.tab and boshiamy.tab.rev . Put them into the directory of xcin and activate xcin next:
To use Bo-Shia-My input, press the combination keys CTRL-ALT-9 .
yact & bcs16yact takes the use of cit of version 2, and the same as cxterm. You can use the tool Move
Like xcin does, Hit CTRL-ALT-9 for calling Bo-Shia-My input.
chdrvAt first, put BEGIN INPUT PHONETIC /usr/local/lib/chinese/phone.def MULTI /usr/local/lib/chinese/boshiamy.tbl END INPUT Finally, use utility chconfig of chdrv to make the contents of /etc/chinese.conf effective.
cxtermChange
4.8 Problems coming with inputAfter you accomplished the establishments of Chinese System, you have already been able to display Chinese on your Linux through monitors.
However, as using a Chinese editor, you will find that the Linux system can only display Chinese but cannot accept the input of Chinese.
You have to modify two spots, by yourself, to make Linux system becoming acceptable with output and input of Chinese if you want to improve these problems
At beginning, you need to add the locale setting to the shell profile file (Referring to the locale mini-HOWTO when concerning with locale).
Additionally, adding sets about inputs for the Bash Shell:
Appending the following contents into stty cs8 -istrip stty pass8 export LANG=C export LC_CTYPE=iso-8859-1 Tcsh Shell:
Appending the following contents into stty cs8 -istrip stty pass8 setenv LANG C setenv LC_CTYPE iso-8859-1
set convert-meta off set output-meta on Eventually, prepare a text file contained with Chinese words by yourself, and use tool
Next Previous Contents |