📄 00000008.htm
字号:
You need to edit tmp.c, delete line 93-95 <BR> <BR> ______________________________________________________________________ <BR> #if OS9 <BR> if we don't have write permission... <BR> #endif <BR> ______________________________________________________________________ <BR> <BR> Then you can compile it by <BR> <BR> # cp Makefile.s5 Makefile <BR> # make install <BR> <BR> Because the Makefile is not for Linux, you may get a lot of warning <BR> messages. But you can ignore all of them. The celvis will installed in <BR> in /usr/local/bin. <BR> <BR> 4.1.3. Cvim <BR> <BR> CVim is a patch to add Chinese support for vim-4.2. CVim includes <BR> some vi's features which are not supported by celvis-1.3, such as line <BR> number, line wrap, and large file editing. you can get <BR> vim-4.2-Chinese-patch and vim-4.2.tar.gz at <BR> ftp.csie.nctu.edu.tw:/pub/Unix/Chinese/cvim <BR> <BR> # tar -xvzf vim-4.2.tar.gz <BR> # cd vim-4.2/src <BR> # patch < ../../vim-4.2-Chinese-patch <BR> <BR> The file ``vim-4.2/src/feature.h'' can be edited to match your prefer- <BR> ences. Compiling is simple, just do <BR> <BR> # make <BR> # make install <BR> <BR> 4.2. Cjoe - Joe's Own Chinese Editor <BR> <BR> JOE is a professional freeware ASCII text screen editor for UNIX. JOE <BR> has the feel of most IBM PC text editors. Although I am not using it <BR> myself, it is definitly a great editor. <BR> <BR> 4.2.1. Getting cjoe <BR> <BR> You can find cjoe-2.8.tgz at the same place as celvis-1.3.tar.gz <BR> <BR> cjoe-2.8.tgz ifcss.org:/pub/software/unix/editor <BR> <BR> 4.2.2. Compiling and Installing cjoe <BR> <BR> Edit the Makefile file if you want to change the locations for <BR> binaries, keymap initialization files and man page. Otherwise, just do <BR> the following <BR> <BR> # make <BR> # make install <BR> <BR> 4.3. Cemacs and CChelp For Emacs <BR> <BR> Cemacs is a method of using GNU Emacs to display and edit Chinese <BR> files. To use Cemacs, it is necessary to run Emacs on a Chinese <BR> terminal or under a Chinese terminal emulator program such as cxterm. <BR> CCHELP is a system to obtain instant helpful information on Chinese <BR> characters. Once CCHELP is installed, you can click the mouse on any <BR> Chinese character and a help messag will appear giving the character <BR> itself, its PinYin pronunciation, and an indication of its English <BR> meaning. Both GB- and Big5-coded Chinese are supported. <BR> <BR> 4.3.1. Getting Cemacs and Chelp <BR> <BR> Both cemacs and cchelp can be fetched at <BR> ftp.math.psu.edu:/pub/simpson/chinese <BR> <BR> 4.3.2. Installing <BR> <BR> Follow the README files for cemacs and cchelp. <BR> <BR> 4.4. Mule and Xemacs 20.0 <BR> <BR> 4.4.1. Getting Mule-2.3 and the Patch for Linux <BR> <BR> mule-2.3.tar.gz ftp.ifcss.org:/pub/software/mule/editor <BR> sunsite.unc.edu:/pub/Linux/distribution/je/sources/mule <BR> mule-2.3+lx.diff.gz sunsite.unc.edu:/pub/Linux/distribution/je/sources/mule <BR> <BR> 4.4.2. Coompilng and Installing <BR> <BR> Unpack the package and apply the patch <BR> <BR> # tar -xvzf mule-2.3.tar.gz <BR> # patch < mule-2.3+lx.diff <BR> # cd mule-2.3/ <BR> # ./configure "i386-*-linux" --with-x11 --with-x-toolkit --with-gcc <BR> <BR> If you want to customize your mule, read the file ``INSTALL'' and try <BR> ``./configure --help''. After the configuration, you need to modify <BR> the file ``src/Makefile'' a little bit, change ``-lcurses'' to <BR> ``-lncurses''. Now <BR> <BR> # make <BR> # make install <BR> <BR> The default installation directory is /usr/local. <BR> <BR> 4.4.3. Use Chinese in Mule-2.3 <BR> <BR> If you have fonts intalled, you can use mule for input/output Chinese. <BR> Most of the Chinese fonts are 16 pts or 24 pts, so try <BR> <BR> # mule -fn 8x16 & <BR> <BR> Or <BR> <BR> # mule -fn 12x24 & <BR> <BR> In mule type M-x load-library RETURN chinese RETURN . The command <BR> ``Ctrl-]'' toggles input methods. <BR> <BR> 4.4.4. Xemacs 20.0 <BR> <BR> Haven't try yet. <BR> <BR> 5. Installing Chinese fonts <BR> <BR> 5.1. Installing X window fonts <BR> <BR> 5.1.1. Where to get GB and BIG5 fonts <BR> <BR> Most likely you may already have some Chinese fonts sitting in your <BR> system. You can find GB fonts by <BR> <BR> # xlsfonts | grep gb <BR> -cclib-song-medium-r-normal--0-0-72-72-c-0-gb2312.1980-1 <BR> -cclib-song-medium-r-normal--16-160-72-72-c-160-gb2312.1980-1 <BR> -isas-fangsong ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0 <BR> -isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0 <BR> -isas-song ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0 <BR> -isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0 <BR> -isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0 <BR> hanzigb13fs <BR> hanzigb13st <BR> hanzigb16fs <BR> hanzigb16st <BR> hanzigb24st <BR> <BR> The last five fonts in this case are just the aliases of the first <BR> five fonts. Or to find BIG5 fonts <BR> <BR> # xlsfonts | grep big5 <BR> -kc-kai-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1 <BR> -kc-kai-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1 <BR> -kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1 <BR> -kc-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1 <BR> -kc-ming-medium-r-normal-fantizi-15-150-75-75-c-160-big5.eten.3.10-1 <BR> -kc-ming-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1 <BR> -uw-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1 <BR> -uw-ming-medium-r-normal-fantizi-16-160-75-75-c-160-big5.eten.3.10-1 <BR> -uw-ming-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1 <BR> -uw-songti-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1 <BR> -uw-songti-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1 <BR> -uw-songti-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1 <BR> <BR> If you don't have any Chinese fonts installed or just want more fonts, <BR> you may look into ftp.ifcss.org:/pub/software/fonts/ where gb/bdf/ is <BR> for GB fonts, big5/bdf is for BIG5 fonts. <BR> <BR> 5.1.2. Installing X fonts <BR> <BR> Suppose you get BIG5 font eb5-24k2.bdf.gz and GB font gb24st.bdf.gz. <BR> To build the fonts into .pcf format <BR> # gzip -cd eb5-24k2.bdf.gz | bdftopcf -t > eb5-24k2.pcf <BR> # gzip -cd gb24st.bdf.gz | bdftopcf -t > gb24st.pcf <BR> # compress *.pcf <BR> <BR> Install the fonts into /usr/X11R6/lib/X11/fonts/misc <BR> <BR> # mv *.pcf.Z /usr/X11R6/lib/X11/fonts/misc/ <BR> # cd /usr/X11R6/lib/X11/fonts/misc <BR> # mkfontdir . <BR> <BR> After installing the fonts, looking into the file fonts.dir, which now <BR> contains two lines <BR> <BR> eb5-24k2.pcf.Z -kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1 <BR> gb24st.pcf.Z -isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0 <BR> <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -