📄 00000008.htm
字号:
chinese software ftp site <BR> ftp.ifcss.org:/pub/software/linux/X11R6/CXwin/elf or its mirror sites. <BR> You only need to get one X server for yourself. In my case, I need <BR> XF86_SVGA.gz. But XF86_VGA16.gz should work for most of the graphics <BR> cards. <BR> <BR> 2.1.2. CXwin 3.2 <BR> <BR> As I know, the latest version for CXwin is XFree86 3.2 . You can <BR> fetch the linux ELF format of CXwin 3.2 at <BR> linux.csie.nctu.edu.tw:/pub/linux/CXwin/elf <BR> <BR> 2.1.3. Patches <BR> <BR> If you have the source for XFree86, you can get patch at the same <BR> place and compile the binary file by yourself. <BR> <BR> 2.2. How to install it <BR> <BR> Uncompress the gzipped file, in my case it is /tmp/XF86_SVGA.gz <BR> <BR> # gzip -d XF86_SVGA.gz <BR> <BR> Become superuser (root) and make a backup copy of your orignal X <BR> server <BR> <BR> # cd /usr/X11R6/bin <BR> # mv XF86_SVGA XF86_SVGA_BACKUP <BR> <BR> Move the CXwin to its place <BR> <BR> # mv /tmp/XF86_SVGA /usr/X11R6/bin <BR> # chown root.bin XF86_SVGA <BR> # chmod 4755 XF86_SVGA <BR> <BR> CXwin also _n_e_e_d_s _f_o_u_r _B_I_G_5 _f_o_n_t_s to work properly, namely taipei15, <BR> taipei16, taipeik20 and taipeik24. Please refer to ``Section ``'''' <BR> for how to intall Chinese fonts. <BR> <BR> CXwin 3.1 is buggy and unstable. It is recommended that you upgrade to <BR> XFree86 3.2 and use CXwin 3.2. CXwin is in alpha state, you may use it <BR> at your own risk. But I have been using it for over three months, it <BR> works just great. At <<A HREF="http://turb10.seas.ucla.edu/">http://turb10.seas.ucla.edu/</A> hongz>, you will <BR> find some nice screenshots of my desktop. <BR> <BR> 3. The CXterm and Hztty <BR> <BR> CXterm is a terminal simulator just like xterm but with the ability of <BR> displaying and inputting chinese charactors. It supports GB, BIG5 <BR> coding. Along with hztty, you can also read HZ encoded text which is <BR> commonly used in chinese newsgroup. You may read CXTERM.FAQ <BR> (cs.purdue.edu:ftp/pub/ygz) for installation details. Yongguang Zhang <BR> is the author of this great software. <BR> <BR> 3.1. Getting the cxterm package and hztty <BR> <BR> cxterm5.0.p3.tar.gz is the latest version of cxterm (version 5.0). <BR> This single package includes cxterm and chinese fonts. It is very easy <BR> to install the cxterm. You can get cxterm and hztty from <BR> <BR> cxterm5.0.p3.tar.gz ftp.ifcss.org:/pub/software/x-win/cxterm <BR> hztty-2.0.tar.gz ftp.ifcss.org:/pub/software/unix/convert <BR> <BR> 3.2. Installing cxterm <BR> <BR> Unpacking the cxterm package <BR> <BR> # tar -xvzf cxterm5.0.p3.tar.gz <BR> <BR> Which will creat a new directory cxterm-5.0 <BR> <BR> # cd cxterm-5.0 <BR> # ./config.sh <BR> <BR> If you want to install cxterm for all the users on the system, you <BR> need to become root before you run the command ``./config.sh''. Now <BR> you can follow the instruction to compile and to install cxterm. <BR> <BR> ----------------------------------------------------------------------------- <BR> --- BASIC MENU --- <BR> 0. Read COPYRIGHT Notice <BR> 1. Compile, Install, and Configure "CXTERM 5.0" in One Step <BR> <BR> --- OPTION MENU --- <BR> 2. Compile cxterm (not to install) <BR> 3. Install cxterm (after successful compilation in 2) <BR> 4. Install additional Chinese font(s) for your X window <BR> 5. Configure your account for using cxterm (after installation in 3) <BR> <BR> x. Exit <BR> ----------------------------------------------------------------------------- <BR> Please choose (0/1/2/3/4/5/x) : <BR> <BR> Choose option 1 if you want the installation script to do everything <BR> for you. At the middle, you will be prompt to enter the installing <BR> directory. In my case, I installed cxterm in /usr/local/chinese. <BR> There are also two fonts come with the cxterm package, choose option 1 <BR> and 3 will install the fonts automatically. You can also install extra <BR> fonts using option 4. After installing cxterm, make sure the <BR> executables cxterm and CXterm in your search path. For C shell and <BR> Tcsh <BR> <BR> # set path (/usr/local/chinese/bin $path) <BR> <BR> For sh and bash <BR> <BR> # setenv PATH=$PATH:/usr/local/chinese/bin ; export PATH <BR> <BR> CXterm is a shell script for loading X window resources and bringing <BR> up the cxterm. For using cxterm in GB mode, try this <BR> <BR> # CXterm -gb <BR> <BR> Or in BIG5 mode <BR> <BR> # CXterm -big5 <BR> <BR> 3.3. Installing hztty <BR> <BR> Hztty translates Chinese between different encoding. Unpacking <BR> hztty-2.0.tar.gz <BR> <BR> # tar -xvzf hztty-2.0.tar.gz <BR> # cd hztty-2.0 <BR> # make linux <BR> <BR> After compiling, move the executable hztty to your bin directory and <BR> the man page to your man directory. <BR> <BR> # mv hztty /usr/local/bin <BR> # chmod 555 /usr/local/bin/hztty <BR> # cp hztty.1 /usr/local/man/man1 <BR> # chmod 444 /usr/local/man/man1/hztty.1 <BR> <BR> Read the hztty man page for how to use hztty. <BR> <BR> 3.4. Color patch for cxterm <BR> <BR> There are also one patch file cxterm-5.0.p3-color.patch.gz locate in <BR> the same directory as cxterm5.0.p3.tar.gz at <BR> ftp.ifcss.org:/pub/software/x-win/cxterm. You can patch the cxterm <BR> source to get ANSI color for cxterm. Here suppose you have the cxterm <BR> source tree in /tmp/cxterm-5.0 <BR> <BR> # cp cxterm-5.0.p3-color.patch.gz /tmp <BR> # gzip -d cxterm-5.0.p3-color.patch.gz <BR> # patch < cxterm-5.0.p3-color.patch <BR> # cd cxterm-5.0 <BR> # ./config.sh <BR> <BR> The color-cxterm is kind of cool. But There is one annoying thing when <BR> I try to input Chinese in color-cxterm: the input area at the low bot- <BR> tom of cxterm does not redraw properly, I have to press ``Ctrl-L'' to <BR> redraw the whole screen. This maybe just a termcap problem. Hope some- <BR> one will give me a hint. <BR> <BR> 3.5. Trouble shooting <BR> <BR> Sometimes Cut Paste may not working in cxterm shell prompt. Tcsh <BR> strips the 8th bit. You need to type ``setenv LANG'' to correct this. <BR> Also try ``stty pass8''. <BR> <BR> 4. Chinese Ediors <BR> <BR> 4.1. Celvis and CVim - clones of vi/ex <BR> <BR> C-Elvis is a clone of vi/ex, the standard UNIX editor. C-Elvis <BR> supports editing of Chinese text, English text, and the mixture of <BR> both. C-Elvis supports nearly all the vi/ex commands, in both visual <BR> mode and ex (colon) mode, for both Chinese and English characters. You <BR> can use C-Elvis for both GB2312-80 standard and Big5 encoding Chinese <BR> text. You need to use it in a Chinese terminal such as cxterm to <BR> input/output Chinese character. <BR> <BR> 4.1.1. Getting the celvis <BR> <BR> The ftp site for celvis is <BR> <BR> celvis-1.3.tar.gz ifcss.org:/pub/software/unix/editor <BR> <BR> 4.1.2. Installing celvis <BR> <BR> # tar -xvzf celvis-1.3.tar.gz <BR> # cd celvis <BR> <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -