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
8. Useful Chinese Softwares8.1 cjoe - Joe's Own Chinese EditorJOE is a free and professional ASCII codes' editor operated on UNIX platform, which is just like other text editors on IBM PC.
To use Chinese in JOE, you have to modify http://www.neto.net/~bv1al/linux/cjoe.html CJOE is a Chinese version of JOE. Get it from here below: ftp://ftp.ifcss.org/pub/software/unix/editor/cjoe-2.8.tgz It is very simple to compile and install. Unless you want to change locations of binary or man page files, or just follows the steps below:
8.2 celvisCelvis is a vi/ex-like editor on UNIX, which is almost supporting all instructions that vi/ex has. You can edit articles including Chinese and English by using Celvis. Simultaneously, it also supports GB2312-80 and BIG5 codes. You can get it from here below, ftp://ftp.ifcss.org/pub/software/unix/editor/celvis-1.3.tar.gz Decompress it,
You need to change tmp.c , erasing 93-95 lines.
#if OS9 if we don't have write permission... #endif Then you can continue to compile it.
Because its Makefile is not for Linux particularly, you may see many warning message while compiling and linking; however, don't mention it, just keep it away.
After it is done, the celvis will be installed under /usr/local/bin .
8.3 cvimcvim is a Chinese patch program out of vim-4.2, including some features like vi but has no track in celvis-1.3, such as line number, circling lines and large files' editions.
You can take ftp://ftp.csie.nctu.edu.tw/pub/Unix/Chinese/cvimUntar and unzip following the steps below:
Change
8.4 hehe was a famous editor on DOS, and is a diversion of Linux version. But this is a shareware program, limited with a hundred lines' edition. Obtain it from here, ftp://linux.cis.nctu.edu.tw/packages/he_linux/he_linux.tar.Z Login as root,
Refer to
8.5 hzttyHztty can make transformations among various Chinese codes. Decompress
After compilation, move the binary file hztty to the directory bin , and move man pages to the directory man .
Please refer to the on-line manual of hztty to use it.
8.6 kttyThis is another tool, like hztty, using for reading Chinese on kterm or pxvt. Get it at this site: ftp://ftp.ifcss.org/pub/software/unix/convert/ktty1.3.tar.gz However, it cannot be compiled on Linux, that you need use the ``
Then, you can make it work.
8.7 Cemacs and CChelp For EmacsCemacs, using the GNU Emacs to show and edit Chinese files, has to run Emacs under Chinese virtual terminals while CCHELP is a system of providing Chinese assistant messages. After installed CCHELP, you can slip mouse to any Chinese word and click it without loosing, then there coming out with the messages about that word , including its pronunciation, English explanation and so forth. It supports both GB and BIG5 codes. You can get them from this site: ftp://ftp.math.psu.edu/pub/simpson/chinese/ Install cemacs and cchelp in accordance with the README file.
8.8 MuleThe MULE is an abbreviation of MULtilingual Enhancement to GNU Emacs. In simplicity, it adds some materials to GNU Emacs to make it dealing with multi-languages(encoding systems). It encodes the encoding system of multi bytes again in its inner mechanism; hence, a piece of paper can simultaneously use Chinese(BIG5 and GB), Japanese, Korean, English, Thai, and so on.
Obtaining Mule-2.3 and patch for LinuxYou can get ftp://sunsite.unc.edu/pub/Linux/distributions/je/sources/mule/ If your system is Red Hat Linux, you can take ftp://sunsite.unc.edu/pub/Linux/distributions/redhat/contrib/contrib-2.0.x/RPMS/
Compiling and InstallationDecompress packed files and add the patch in.
If you want to rectify the out-looking of mule to fit your taste, read INSTALL file, please.
And run ``./configure --help ''.
Then, correct ``src/Makefile '', changing ``-lcurses '' to ``-lncurses ''.
Then,
Default installing directory is /usr/local .
Using Chinese in Mule-2.3If you have already installed fonts, you can use mule to enter and show Chinese. Most fonts are 16 or 24 points, so you can:
or
According to M-x load-library RETURN chinese RETURN .
``Ctrl-] '' to shift inputs.
8.9 hcThis is a program of conversion for BIG5 and GB codes. Get it at this site: ftp://ftp.ifcss.org/pub/software/unix/convert/hc-30.tar.gzDecompress and install it:
For converting GB into BIG5 , using
For exchanging BIG5 into GB, using
You can write a shell script to simplify that instructions.
8.10 ctinThe ctin a news reader of all complete Chinese messages. Get it from here, ftp://linux.cis.nctu.edu.tw/packages/chinese/ctin/ctin-970625.src.bin.tgz Set environment variables
Then run tin .
8.11 Some Other ToysYou can find several small tools capable of showing Chinese, such as ftp://ftp.vit.edu.tw/unix/linux/chinese/
Next Previous Contents |