发信人: zinger.bbs@cs3.xmu.edu.cn (小白鼠), 信区: cnlinux
标  题: [CLDP] Chinese-HOWTO (转载)
发信站: XMU CS BBS (Thu Nov 20 18:33:11 1997)
转信站: Lilac!ustcnews!ustcnews!sjtunews!xmucs
出  处: cs3.xmu.edu.cn

【 以下文字转载自 twlinux 讨论区 】
【 原文由 CLDP.bbs@physbbs.iams.sinica.edu.tw 所发表 】










     Chinese HOWTO 中译版

     作者: Hong Zhang zhangh@earthlink.net

    译者: C.W.Huang cwhuang@phys.ntu.edu.tw

 v0.11, 16 April 1997. 翻译日期: 7-14 May, 15-20 August, 1997.



   Abstract

     本文说明如何在 Linux
     的环境下使用中文.其中包括了如何取得,安装与设定各种不同的中文软体.请在下面地点取得本文的最新版本:
     ftp://turb10.seas.ucla.edu/pub/ChineseHOWTO/.
     中译版的最新版本可在下面取得:
     http://www.phys.ntu.edu.tw/~cwhuang/pub/os/linux/CLDP/Chinese-
     HOWTO.html



1.  简介

这是一篇迟来的文章,说明如何在 Linux 下使用中文.我期待这样的文章已经很久了.
显然目前在 Internet 上并没有这样的 HOWTO
文章[译注],所以我决定自己写一份.为的不过是使这一切变得更容易些.
请将您的批评与建议寄到 hongz@seas.ucla.edu.
本文没有版权,除了到法院告我因为看了本文而遭受任何的损失之外,您可以用它来做任何事情.

您可以在下列地点取得大部分的中文软体:


□<URL:http://cnapps.ifcss.org>

□<URL:ftp://linux.csie.nctu.edu.tw/pub/linux>

□<URL:http://irpslibrary.ucsd.edu/software/chinese_software/index.html>


   [译注]
 其实在台湾的各大 BBS 精华区已有部份的文章.而最近由 CdChen 也独立写了另一篇中文的 Chinese-HOWTO, 请参考

 <URL:http://linux.ntcic.edu.tw/doc/chinese/HOWTO/Linux-Chinese-HOWTO.v01.html>


2.  中文 X Windows

X Window 系统是 UNIX 下强而有力的图形环境. XFree86 由 MIT X Window 系统 X11R6
改版而来,它是免费的. 中文 X Windows (以下简称 CXWin)是 XFree86
的一个修补(patch),使得它可以在 X Windows 下显示中文字型. 作者为交大李欣睿1 .
目前的 CXWin 仅支援 Big5 编码.而且有 XFree86 3.1 与 3.2 的版本. CXWin
能让您拥有中文的下拉选单,中文视窗标题,以及在各种不同的视窗管理员及应用软体中显示中文.

2.1  如何取得






Chinese HOWTO 中译版       2



2.1.1  CXwin 3.1

XFree86 3.1 版的 CXWin 可以在这个中文软体收集站或其 mirror 站取得:

     <URL:ftp://ftp.ifcss.org/pub/software/linux/X11R6/CXwin/elf>


您仅需要取得您所需要的 X server 即可.对我而言,我要的是 XF86_SVGA.gz. 而
XF86_SVGA.gz 应该可以在大部份的显示卡上工作.

2.1.2  CXwin 3.2

最新版的 CXWin 是 XFree86 3.2.您可以在这里取得 Linux ELF 的格式:

     <URL:ftp://linux.csie.nctu.edu.tw/pub/linux/CXwin/elf>

2.1.3  修补档(Patches)

如果您有 XFree86 的原始程式码,您可以在同样的地点取得修补档并自行编译成执行档.

2.2  如何安装

首先,解开以 gzip 压缩的档案:

     # gzip -d XF86_SVGA.gz


然後以 root 的身份,先将原来的 X server 备份下来:

     # cd /usr/X11R6/bin
     # mv XF86_SVGA XF86_SVGA_BACKUP


把刚解开的 CXWin 放在适当的地方:

     # mv /tmp/XF86_SVGA /usr/X11R6/bin
     # chown root.bin XF86_SVGA
     # chmod 4755 XF86_SVGA


CXwin 还需要下面四种 BIG5 字型才能正常使用: taipei15, taipei16, taipeik20 与
taipeik24.  请按照 "安装中文字型 (section 5., page 8)" 一节来安装这些中文字型.

CXwin 3.1 有许多的 bugs,并且不太稳定.建议您升级到 XFree86 3.2 与 CXWin 3.2.
CXWin 尚在 alpha 测式阶段,所以请小心.但我已经用了三个月以上.它跑得很好!  在
<URL:http://turb10.seas.ucla.edu/~hongz> 您可以找到一些好用的桌上工具.


3.  CXterm 与 Hztty

CXterm 是一个类似 xterm 的终端机模拟程式,可以显示并输入中文. 它同时支援BIG5

____________________

1. <URL:mailto:srlee@csie.nctu.edu.tw>







Chinese HOWTO 中译版       3



与 GB 编码.配合上 hztty,您还可以读取 HZ
编码的文件,一种经常在中文新闻讨论群中使用的编码格式. 请参考 CXTERM.FAQ
(cs.purdue.edu:ftp/pub/ygz) 以取得详细的安装资讯. CXterm 的作者是 Yongguang
Zhang.

3.1  取得 cxterm 与 hztty

CXterm 的最新版本是 cxterm5.0.p3.tar.gz (5.0 版). 这个压缩档里已经包含了
CXterm 与中文字型.您可以在这里取得:


   cxterm5.0.p3.tar.gz
 ftp://ftp.ifcss.org/pub/software/x-win/cxterm

   hztty-2.0.tar.gz
 ftp://ftp.ifcss.org/pub/software/unix/convert


或在 sunsite 的 RPM 包装格式:


   cxterm-5.0-1.i386.rpm

   cxterm-big5-5.0-1.i386.rpm

   cxterm-gb-5.0-1.i386.rpm
 ftp://sunsite.unc.edu/pub/Linux/distributions/redhat/contrib/contrib-2.0.x/RPMS

3.2  安装 cxterm

解开压缩档:

     # tar -xvzf cxterm5.0.p3.tar.gz


这将会产生一个新目录 cxterm-5.0,然後:

     # cd cxterm-5.0
     # ./config.sh


如果想让系统上所有的使用者都能使用 CXterm,您必须使用 root 的权限来执行 "./con□
fig.sh". 然後您就可以按照下面的过程完成安装:



















Chinese HOWTO 中译版       4



     -----------------------------------------------------------------------------
 --- BASIC MENU ---
       0. Read COPYRIGHT Notice
       1. Compile, Install, and Configure "CXTERM 5.0" in One Step

 --- OPTION MENU ---
       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) :


如果您想让一切自动完成,请选 1.然後,输入安装的目录.像我是使用
/usr/local/chinese. 在这压缩档里还附有两个中文字型,选 1 和 3
都会自动安装这些字型. 您还可以选 4 安装额外的字型.安装完之後,确定有将 cxterm
与 CXterm 放在搜寻目录之中.在 C shell 与 Tcsh 下,用

     # set path (/usr/local/chinese/bin $path)


在 sh 与 bash 下:

     # PATH=$PATH:/usr/local/chinese/bin ; export PATH




   [译注]
 原文使用 setenv 是错误的用法.sh 与 bash 并无 setenv 指令.


CXterm 是一个 shell script,用来载入 X Window 资源与 cxterm. 如果要使用 GB
编码,请下:

     # CXterm -gb


或是使用 BIG5 编码:

     # CXterm -big5

3.3  安装 hztty

Hztty 可在不同中文编码格式做转换.首先解开 hztty-2.0.tar.gz

     # tar -xvzf hztty-2.0.tar.gz
     # cd hztty-2.0
     # make linux










Chinese HOWTO 中译版       5



编译完之後,将执行档 hztty 移到您的 bin 目录, 并将 man page 移到 man 目录.

     # mv hztty /usr/local/bin
     # chmod 555 /usr/local/bin/hztty
     # cp hztty.1 /usr/local/man/man1
     # chmod 444 /usr/local/man/man1/hztty.1


如何使用 hztty 请参考 hztty 的 man page.

3.4  CXterm 的 Color patch

在 ftp://ftp.ifcss.org/pub/software/x-win/cxterm 下还有 cxterm 的 color
patch.使用此修补档可使 cxterm 能显示 ANSI 的颜色. 假设您将 cxterm
的原始档放在 /tmp/cxterm-5.0

     # cp cxterm-5.0.p3-color.patch.gz /tmp
     # gzip -d cxterm-5.0.p3-color.patch.gz
     # patch < cxterm-5.0.p3-color.patch
     # cd cxterm-5.0
     # ./config.sh


Color-cxterm 看起来相当的酷.但好像有一点小问题,就是当我输入中文时,cxterm
下方的输入区域未能正确的重画.我必须按 "Ctrl-L" 来重画整个画面.这可能是 term□
cap 的问题.希望有人能为我解答这个问题.

3.5  排难解纷

有时候无法在 CXterm shell 下面使用剪贴功能.Tcsh 会截掉输入的第八个位元,
所以您要用 "setenv LANG" 或 "stty pass8" 来解决这个问题.


4.  中文编辑器

4.1  Celvis 与 CVim - 和 vi/ex 很像的东东

Celvis 是一个很像 UNIX 上标准编辑器 vi/ex 的东西. Celvis
支援编辑中文文章,英文文章,或同时含有中英文的文章. Celvis 几乎支援所有 vi/ex
的指令.Celvis 也同时支援 GB2312-80 和 BIG5 编码. 您必须在像 cxterm
的中文终端机模拟程式上才能使用 Celvis 来输入及显示中文.

4.1.1  取得 Celvis

由此取得


   celvis-1.3.tar.gz
 ftp://ftp.ifcss.org/pub/software/unix/editor

4.1.2  安装 Celvis

     # tar -xvzf celvis-1.3.tar.gz
     # cd celvis








Chinese HOWTO 中译版       6



您必须更改 tmp.c,把 93-95 行砍掉.

     #if OS9
       if we don't have write permission...
     #endif


然後就可以开始编译.

     # cp Makefile.s5 Makefile
     # make install


因为它的 Makefile 并非为 Linux
而写的,您可能会看到许多警告讯息,不过没关系,不管它!  编译完之後 celvis
会被安装在 /usr/local/bin.

4.1.3  Cvim

CVim 是一个 vim-4.2 的中文修补程式.CVim 包括了一些和 vi 很像但 celvis-1.3
所没有的特色,像是行号,回绕行,及大型档案的编辑.您可以自下面地点取得
vim-4.2-Chinese-patch 与 vim-4.2.tar.gz:

     ftp://ftp.csie.nctu.edu.tw/pub/Unix/Chinese/cvim


再按下面的方法解开:

     # tar -xvzf vim-4.2.tar.gz
     # cd vim-4.2/src
     # patch < ../../vim-4.2-Chinese-patch


您可更改 "vim-4.2/src/feature.h" 以符合您的需求.编译及安装很简单,就是

     # make
     # make install

4.2  Cjoe - Joe's Own Chinese Editor

JOE 是一个 UNIX 上免费专业的 ASCII 文字编辑器.JOE 用起来就像大部份 IBM PC
上的文字编辑器.虽然我自己并不使用,但它确实是一个很好的编辑器.

4.2.1  取得 cjoe

您可以在和 celvis-1.3.tar.gz 同样的地方找到 cjoe-2.8.tgz:


   cjoe-2.8.tgz
 ftp://ftp.ifcss.org/pub/software/unix/editor

4.2.2  编译与安装 cjoe

除非您要更改执行档或 man page 档案放置的位置,不然就直接:








Chinese HOWTO 中译版       7



     # make
     # make install

4.3  Cemacs 与 CChelp For Emacs

Cemacs 是一种使用 GNU Emacs
来显示与编辑中文档案的方法.您必须在中文终端机上执行 Emacs. CCHELP
是一套提供中文辅助讯息的系统.安装 CCHELP
之後,您可以用滑鼠在任意中文字上按下,
然後就会有那个字的说明讯息跑出来,包括它的拼音,英文解释等.它同时支援 GB 与
BIG5 编码.

4.3.1  取得 Cemacs 与 CChelp

Cemacs 与 CCHELP 皆可在 ftp://ftp.math.psu.edu/pub/simpson/chinese 取得.

4.3.2  安装

请按照 cemacs 与 cchelp 的 README 指示安装.

4.4  Mule 与 Xemacs 20.0

4.4.1  取得 Mule-2.3 与 Linux 的修补档


   mule-2.3.tar.gz
 ftp://ftp.ifcss.org/pub/software/mule/editor

 ftp://sunsite.unc.edu/pub/Linux/distribution/je/sources/mule

   mule-2.3+lx.diff.gz
 ftp://sunsite.unc.edu/pub/Linux/distribution/je/sources/mule


或是 RPM 的包装:


   mule-2.3-1.i386.rpm

   mule-common-2.3-1.i386.rpm

   mule-elispsrc-2.3-1.i386.rpm
 ftp://sunsite.unc.edu/pub/Linux/distributions/redhat/contrib/contrib-2.0.x/RPMS

4.4.2  编译与安装

解开压缩并加入修补档:

     # tar -xvzf mule-2.3.tar.gz
     # patch < mule-2.3+lx.diff
     # cd mule-2.3/
     # ./configure "i386-*-linux" --with-x11 --with-x-toolkit --with-gcc










Chinese HOWTO 中译版       8



如果您想将 mule 改成自己喜欢的样子,请阅读 "INSTALL" 档, 并用 "./configure
--help".  然後,更改 "src/Makefile", 将 "-lcurses" 改成 "-lncurses".再来

     # make
     # make install


预设的安装目录是 /usr/local.

4.4.3  在 Mule-2.3 使用中文

如果您已安装了字型,您可以用 mule 来输入与显示中文.大部份的字型都是 16 或 24
点的,所以用:

     # mule -fn 8x16 &




     # mule -fn 12x24 &


按 M-x load-library RETURN chinese RETURN .  "Ctrl-]" 用来切换输入法.

4.4.4  Xemacs 20.0

还没试过..


5.  安装中文字型

5.1  安装 X window 字型

5.1.1  何处取得 GB 与 BIG5 字型

很可能您的系统已经安装了某些中文字型.您可以用下法找出已安装的 GB 字型:

     # xlsfonts | grep gb
     -cclib-song-medium-r-normal--0-0-72-72-c-0-gb2312.1980-1
     -cclib-song-medium-r-normal--16-160-72-72-c-160-gb2312.1980-1
     -isas-fangsong ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0
     -isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
     -isas-song ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0
     -isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
     -isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0
     hanzigb13fs
     hanzigb13st
     hanzigb16fs
     hanzigb16st
     hanzigb24st


最後五个是前五个的别名.要得知已安装的 BIG5 字型用:









Chinese HOWTO 中译版       9



     # xlsfonts | grep big5
     -kc-kai-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -kc-kai-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
     -kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
     -kc-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -kc-ming-medium-r-normal-fantizi-15-150-75-75-c-160-big5.eten.3.10-1
     -kc-ming-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
     -uw-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -uw-ming-medium-r-normal-fantizi-16-160-75-75-c-160-big5.eten.3.10-1
     -uw-ming-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
     -uw-songti-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -uw-songti-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
     -uw-songti-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1


如果您还没有安装任何字型,或是想装更多的字型,都可以在
ftp://ftp.ifcss.org/pub/software/fonts/ 取得.其中 gb/bdf/ 是 GB 字型,big5/bdf
是 BIG5 字型.

5.1.2  安装 X 字型

假设您取得一 BIG5 字型 eb5-24k2.bdf.gz 与 GB 字型 gb24st.bdf.gz.首先将其转换为
..pcf 格式

     # gzip -cd eb5-24k2.bdf.gz | bdftopcf -t > eb5-24k2.pcf
     # gzip -cd gb24st.bdf.gz | bdftopcf -t > gb24st.pcf
     # compress *.pcf


然後安装在 /usr/X11R6/lib/X11/fonts/misc

     # mv *.pcf.Z /usr/X11R6/lib/X11/fonts/misc/
     # cd /usr/X11R6/lib/X11/fonts/misc
     # mkfontdir .


请观察 fonts.dir,现在应该包括下面两行

     eb5-24k2.pcf.Z -kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
     gb24st.pcf.Z -isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0


您可以为这些字型名称建立别名(aliases).这样当您使用中文软体时可以节省打字时间.
在 fonts.alias 加下面两行

     gb24st    "-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0"
     taipeik24 "-kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1"


再来告诉 X Server 重新读入字型

     # xset fp rehash










Chinese HOWTO 中译版      10



如果一切顺利,您就可以使用新字型了:

     # cxterm -GB -fn 12x24 -fh gb24st &

5.2  安装 HBF 字型

HBF 字型包括了标头档与字型图档.两种档案您都必须安装.您可在
ftp://ftp.ifcss.org/pub/software/fonts 找到 HBF 字型.

例如您想使用 ccfs24.hbf, 一种仿宋简体字型,您必须取得这三个档案: ccfs24.hbf,
cclib.n24 与 ccsym.24.在 ifcss 的字型目录下的 00index.txt 列出了所有 HBF
字型的档案名称.

您也可将 HBF 字型转换为 BDF 与 PCF 字型.在 ftp://ftp.ifcss.org/pub/soft□
ware/fonts/utils/hbf.tar.gz 可取得转换的工具程式

     # hbftobdf ccfs24.hbf > ccfs24.bdf
     # bdftopcf -t < ccfs24.bdf > ccfs24.pcf


6.  列印工具

6.1  CNPRINT

Cnprint 是一个将中文文章转换为 PostScript 档案以供列印的工具.
使用上就和标准的列印指令一样.它同时支援 GB, HZ 与 BIG5 格式.

6.1.1  何处取得

您可在 ftp://ftp.ifcss.org/pub/software/unix/print 找到 cnprint260.tar.gz.

6.1.2  安装 cnprint

cnprint260.tar.gz 只包含了四个档案

     # ls
     cnprint.1    cnprint.c  cnprint.cmd   cnprint.help


用下法编译

     # gcc cnprint.c -o cnprint
     # mv cnprint /usr/local/bin
     # mv cnprint.1 /usr/local/man/man1


您需要指定 HBF 字型的完整目录.在 csh 或 tcsh 下用

     # setenv HBFPATH "/usr/local/chinese/HBF/"


在 sh 或 bash

     # HBFPATH="/usr/local/chinese/HBF/"; export HBFPATH








Chinese HOWTO 中译版      11



档案 cnprint.cmd 中包含了 cnprint 的一些预设值.将它放到 $HBFPATH

     # cp cnprint.cmd $HBFPATH


现在您可用 "cnprint -w FILENAME" 将中文文章转换为 PostScript 档案.

6.2  GB2PS

GB2PS 是另一种可以列印 GB 与 HZ 编码的工具程式.

6.2.1  如何取得 GB2PS


   Package:

      gb2ps.2.02.tar.gz


 ftp://ftp.ifcss.org/pub/software/unix/print




   fonts:

      csong24.ccf     ckai24.ccf
      cfang24.ccf     chei24.ccf


 ftp://ftp.ifcss.org/pub/software/fonts/gb/misc


将字型放在某个目录下,例如 /usr/local/chinese/CFONT

6.2.2  安装 GB2PS

在编译 gb2ps 之前先更改 Makefile 的设定

     CFONT=/usr/local/chinese/CFONT/
     COVERPAGE=/usr/local/chinese/lib/cover.ps


然後打

     # make
     # cp gb2ps /usr/local/bin

6.3  DTop

我对它了解不多.











Chinese HOWTO 中译版      12



   [译注]
 DTOP 即六书.为国内厂商所研发之跨平台中文排版软体.Linux 版目前仍在 beta 阶段.
 由於国内市场太小,目前似已停止研发.实为爱好 Linux 使用者的一大损失.您可在此取得六书:
 ftp://ftp.ifcss.org/pub/software/linux/X11R6/dtop1.4/pub/.


7.  在 Netscape 下显示中文

Internet 上许多网页都讨论这个问题. Netscape (2.0 版以後) 同时支援 GB 与 BIG5
编码. 要在 Netscape 下显示中文有三个步骤:

  1.  安装 X 的中文字型.请参考安装中文字型 (section 5., page 8) 一节.

  2.  执行 netscape,选 Options/Document Encoding/Tranditional Chinese (Big5)

  3.  在 Options/General Preferences/fonts 选择您要使用的字型.

或许您会奇怪为何您只能使用 Fixed(HKU) Size 16.0. 这是因为
/usr/X11R6/lib/X11/app-defaults/Netscape 的设定. 假设您有下列这些 BIG5 字型

     # xlsfonts | grep big5
     -hku-fixed-medium-r-normal--0-0-72-72-c-0-big5.hku-0
     -hku-fixed-medium-r-normal--16-160-72-72-c-160-big5.hku-0
     -kc-kai-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -kc-kai-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
     -kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
     -kc-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -kc-ming-medium-r-normal-fantizi-15-150-75-75-c-160-big5.eten.3.10-1
     -kc-ming-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
     -uw-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -uw-ming-medium-r-normal-fantizi-16-160-75-75-c-160-big5.eten.3.10-1
     -uw-ming-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
     -uw-songti-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
     -uw-songti-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
     -uw-songti-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1


在 /usr/X11R6/lib/X11/app-defaults/Netscape 上加一行

     *documentFonts.charset*big5.eten.3.10-1:    x-x-big5


如此 Netscape 就能够使用这些字型了.


8.  中文 Tex

目前对它还不大了解...:p

8.1  CJK

8.2  Poor Man's Tex










Chinese HOWTO 中译版      13



8.3  ChTex


9.  在 Console 上使用中文-- Chdrv and WZCE

Chdrv 是一个中文终端机模拟程式.它不需要 X-Windows 就能够显示中文. 它使用
VGALIB,所以需要 VGA 或 SVGA 显示器. Chdrv 仅支援 BIG5,但您可以用 hztty
来观看 GB 档案.


   [译注]
 Chdrv 作者为台大物理所王佑中.

9.1  取得 chdrv


   chdrvbin-1.0.7.tar.gz
 ftp://sunsite.unc.edu/pub/Linux/util/nls

 ftp://ftp.ifcss.org/pub/software/linux/tty

   chdrvfont.tar.gz (HBF)
 ftp://ftp.ifcss.org/pub/software/linux/tty

9.2  安装 chdrv

解开二进位压缩档

     # tar -xvzf chdrvbin-1.0.7.tar.gz
     # mv chdrvfont.tar.gz chdrv-1.0.7/
     # cd chdrv-1.0.7


请阅读 INSTALL.1.0 的安装说明修改 installbin.如果您使用 shadow pass□
word,您还必须更改 chinese.conf,将下面这行的注解去掉

     LOGINPROGRAM /bin/telnet

再将这行变成注解

     LOGINPROGRAM /bin/login

现在您可以执行安装程式

     # ./installbin

9.3  看 GB 码的工具 - WZCE

WZCE(Wei Zhong Chinese Environment) 是一个能在 PC UNIX's VGA console
上支援中文讯息处理的工具.

9.3.1  如何取得

     wzce_linux_elf_2.21n.tgz  ftp.ifcss.org:/pub/software/linux/tty








Chinese HOWTO 中译版      14



9.3.2  安装

请阅读 wzce_linux.readme.


10.  中文文书处理器 -- ChinesePower

ChinesePower 是一个在 X window 上非常易於使用,所见即所得(WYSI□
WYG)的远东文书处理器. 它支援 GB, Big5, 日文,韩文混合输入,PostScript
列印与显示. 它可以为文件产生七种颜色的 GIF 图档,非常适合用来制作中文网页.
ChinesePower 使用 HBF 或 TTF 字型.

10.1  何处取得 chpower


   chpower-2.0.tar.gz
 ftp://ftp.ifcss.org/pub/software/x-win/editor/

10.2  安装 chpower

编译 Chpower 需要 HBF 字型与 Motif 程式库.首先修改 Makefile,然後

     # make


如此将产生二进位执行档.再来设定环境变数

     # setenv HBFPATH /usr/local/chinese/HBF/
     # setenv TTFPATH /usr/local/chinese/TTF/
     # setenv HZINPUTDIR /usr/local/chinese/dict/
     # setenv CHPOWERPATH path_of_chinesepower


11.  Wabi 2.2 与中文视窗系统

我曾在 NextStep 上使用 SoftPC.我将 Chinese Star 装在 SoftPC
上,它跑得很好.但是我对 Wabi 2.2 并不十分了解.如果您曾在 Wabi 2.2 for Linux
上使用中文软体,请让我知道.


12.  其它的酷玩意

12.1  Crxvt

在 xcin.tar.gz 压缩档中包含了中文 rxvt.它支援 ANSI
颜色显示,而且占用的记忆体比 cxterm 要少.xcin
本身是一中文输入伺服器.但我自己仅使用 crxvt.

12.1.1 取得 Crxvt


   xcin-2.1a.tgz
 ftp://ftp.ifcss.org/pub/software/x-win/xcin









Chinese HOWTO 中译版      15



12.1.2 编译与安装

下面是编译 crxvt 的过程 (xcin 需要倚天中文).

     # tar -xvzf xcin-2.1a.tgz
     # cd big5-pack/xcin
     # xmkmf
     # gcc -I/usr/X11R6/include -O2 -m486 -pipe -DDELETE_K=0 -DAuto_First=1 \
     > -c cli_xcin.c -o cli_xcin.o
     # cd ../crxvt
     # xmkmf
     # make
     # cp crxvt /usr/local/bin

12.2  Ktty

Ktty 是另一个跟 hztty 很像,用来在 kterm 或 pxvt 上阅读中文的工具. 您可在
ftp://ftp.ifcss.org/pub/software/unix/convert 取得 ktty1.3.tar.gz.然而它无法在
Linux 上编译. 您需要使用 hztty-2.0.tar.gz 中的 "tty.c",然後在 Makefile
中加上两行

     linux:  ${MAKE} ${MFLAGS} DEFINES='-DPOSIX -DSYSV -DUSE_SYSV_UTMP' ${PROG}

这样就可以编译了

     # make linux

12.3  TinTin++

TinTin++ 并非中文软体.它只是在您玩中文 mud 时非常的有用. 您可在此取得:
ftp://ftp.princeton.edu/pub/tintin++. 下面是一些中文 mud 站:

     FengYun       fengyun.com   5555
     Xi You Ji       129.105.79.24 6905
     Xia ke Xing       207.76.64.2   5555


13.  如何求助

请参考这些文章

   □ftp://rtfm.mit.edu/pub/usenet/news.answers/chinese-text/faq

   □CXterm.FAQ


14.  附录 - FTP.IFCSS.ORG 的中文软体列表

警告:预先编译好的 Linux 执行档多已过期,而且可能无法使用.













Chinese HOWTO 中译版      16



     ****
     UNIX
     ****

     ========
     UNIX:BBS
     ========

     software: Phoenix BBS
     version : 4.0, 1995.08.31
     function: o UNIX platform multiuser BBS system,
       o discussion boards, private email
       o multichannel chat, one-to-one chat
       o Internet Email, News gateway,
       o 0Announce : Gopher-like information query interface.
       o fine tuned to allow more than 256 users on-line
       o configurable menu, screen display
       o Chinese message
     URL     : ftp://ftp.ifcss.org/pub/software/unix/bbs/PhoenixBBS-4.0.tar.gz
     author  : Ji-Tzay Yang, Ming-Feng Chen, Tzung-Yu Wen

     ============
     UNIX:C-UTILS
     ============

     software: addpy
     version : 1.0
     function: To annotate Pinyin to rare Hanzi and a portion of
       randomly selected common Hanzi. Both GB (simplified) and
       Big5 (traditional) versions.  Based on statistics derived
       from huge Chinese corpus and well prepared hazni-freq-pinyin
       tables. Source code and raw data provided.
     URL     : ftp://ifcss.org/pub/software/unix/c-utils/addpy.tar.gz
     filename: README.addpy, b5addpy.l, gbaddpy.l, b5addpy.dat,
       gbaddpy.dat, makefile
     author  : Guo Jin

     software: rm4mat
     version : n/a
     function: remove formating codes for printing in some GB files
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/rm4mat.c
     author  : Chenghong Wang

     software: mail_hxwz
     version : 1.1
     function: It extracts HXWZ from your mail (Suppose you are subscribing
       it).  It is a Bourne shell program which works on most Unix
       systems.  It can rerun itself every Friday automatically.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/mail_hxwz
     author  : Yaoen Zhang

     software: auto_get_hxwz
     Version : 1.2
     Function: It gets the current issue of HXWZ in GB or postscipt format.








Chinese HOWTO 中译版      17



       It also process and print these files, and do the clean up.
       It save your time and server machine time.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/auto_get_hxwz
     author  : Yaoen Zhang

     software: Chinese less
     version : 290, 1995.5.25
     function: Browse BIG5 and GB text files
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/cless-290.tar.gz
     author  : Paul W. Shew
     comment : requires a chinese terminal, like cxterm.

     software: cscreen
     version : 3.2b
     function: This is a modified screen to minic ETen in cxterm.
       After you run cscreen in cxterm, it will intercept
       every key movement and examine if the current
       screen postion has a Chinese char. If it has,
       auto-key movements will be made accordingly.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/cscreen-3.2b.tar.gz
     author  : Shih-Kun Huang

     software: ytalk
     version : 3.0.2c6
     function: ytalk-3.02c provides better compatibility for DEC's
       workstations, two-byte refresh for terminal like cxterm, and
       capable of passing character code 254, internally used as erase
       function in ytalk-3.0; Compatible with ytalk-3.0, cytalk-3.0,
       cytalk-3.0.2, ytalk-3.02c0/1/2/3/4/5, that is, you can still use
       Delete, or Backspace key.  If both ends use ytalk-3.02c4, the code
       254 is transparent, you can use more Chinese words to talk to
       others.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/ytalk-3.0.2c6.tar.gz
     author  : Sze-Yao Ni

     software: lunar
     version : 2.1
     function: conversion program between Solar and Chinese lunar calendars;
       calculation of birthday in "4-column" astrology as well
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/lunar-2.1.tar.gz
     author  : Ricky Yeung and Fung Fung Lee
     comment : can output GB code, bitmap, or just ASCII

     software: DateStar - Chinese Calendar Producer
     version : 1.1
     function: Displays Chinese and western calendar in
       ASCII code, BIG-5 code (Hongkong, Taiwan),
   GuoBiao code (PRC Standard), and HZ code (Network)
       Prints on two most popular laser printers
   PostScript laser printers, and
   HP LaserJet (PCL) printers
       Generates four different format
   Yearly calendar, Monthly calendar,
   One-page Weekly calendar, and Two-page Weekly calendar








Chinese HOWTO 中译版      18



       Shows calendar with 24 Solar Terms (JieQi),
   the Heavenly Stems and Earthly Branches
   (TianGan DiZhi Eight Characters)
       Supports user defined annotations
       Applicable from year 1841 through to 2060
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/datestar-1.1.tar.gz
     author  : Youzhen Cheng
     comment : UNIX version works on SUN Workstation with SUN OS 4.1.x
       see /software/dos/c-utils for DOS version

     software: pull
     version : 2.9, 1996.4.7
     function: 1. Extracts the original file(s) from uuencoded/compressed/split
  file(s).
  a) uudecode a file and display the name of its decoded file
  b) decompress .zz (= .gz/.Z/.zip) file
  c) uudecode + decompress
  d) uudecode + cat (concatenate) + gunzip
       2. Packs file. Reverse the above `extracting' process.
  compresses, (splits), then encodes file(s)
     URL     : ftp://ftp.ifcss.org/pub/software/unix/utils/pull.c.gz
     author  : Yao Li

     software: utf-utils
     version : 15 Oct 1993.
     function: some utility programs for manipulating Unicode/ISO-10646 text
       in the FSS-UTF encoding.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/utf-utils.tar.gz
     author  : Ross Paterson

     software: gbfmt
     version : 1.0
     function: GB formatting with variable line width, GB<->HZ
     URL     : ftp://ftp.ifcss.org/pub/software/unix/c-utils/gbformat.tar.gz
     author  : Dongxiao Yue (http://www.cs.umn.edu/~dyue/wiihist/gbfmt.html)

     ===========
     UNIX:EDITOR
     ===========

     software: celvis
     version : 1.3
     function: vi editor with Chinese handling capabilities.
       Most run on some Chinese terminal, e.g. cxterm, or IBM-PC with
       some kind of Chinese DOS.  Work exactly like Unix vi editor,
       except that it side-scrolls long lines instead of wrapping.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/editor/celvis.tar.gz
       ftp://ftp.cs.purdue.edu/pub/ygz
     author  : Man-Chi Pong, Yongguang Zhang
     comment : comments, bug-reports, modifications to: c-elvis@cs.purdue.edu

     software: Chinese JOE (Joe's Own Editor)
     version : 2.8c
     function: Chinese BIG5 localized text screen editor.  The key sequences are








Chinese HOWTO 中译版      19



       remeniscent of WordStar and TURBO-PASCAL. Makes full use of
       termcap/terminfo, is designed to work well over slow networks and
       low baud rate modems, and has the best features of vi. Most
       useful for editing unformatted text, such as USENET news articles
       and for editing block-structured languages such as C and PASCAL.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/editor/joe2.8_c.tar.gz
     author  : <u8222034@cc.nctu.edu.tw>

     ============
     UNIX:CONVERT
     ============


     software: cn2jp
     version : 1.3.2, 1996.4.11
     function: code conversion routines for Chinese and Japanese
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/cn2jp1.3.2.tar.gz
     author  : Seke Wei

     software: ktty
     version : 1.3, 1996.4.11
     function: This is a kanji terminal translator among Chinese and Japanese.
       It allows online translation of codes so that you can view a
       specific code real time using your Chinese or Japanese terminal.
       It runs on Unix and is derived from the 'hztty' package
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/ktty1.3.tar.gz
     author  : Seke Wei

     software: code1
     version : 1.3, 1996.4.11
     function: This is a multilingual file browser for Chinese and Japanese.
       It runs on Unix and allows browsing of files in various codes
       using a Chinese or Japanese terminal.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/code1.3.tar.gz
     author  : Seke Wei

     software: HUG program
     version : 1.0, 1995.5.20
     function: Converting between HZ, Uudecode/uuencode, GB codes
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/shug.osf.zip
       ftp://ftp.ifcss.org/pub/software/unix/convert/shug.sun4.zip
     author  : Yinrong Huang

     software: hztty
     version : 2.0 Jan 29, 1994
     Function: This program turns a tty session from one encoding to another.
       For example, running hztty on cxterm can allow you to read/write
       Chinese in HZ format, which was not supported by cxterm.
       If you have many applications in different encodings but your
       favor terminal program only supports one, hztty can make life easy.
       For example, hztty can your GB cxterm into a HZ terminal, a
       Unicode (16bit, or UTF8, or UTF7) terminal, or a Big5 terminal.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/hztty-2.0.tar.gz
     author  : Yongguang Zhang








Chinese HOWTO 中译版      20



     software: EHZ
     version : 2.0
     function: Conversion among GB/BIG5/CNS and EHZ-BIG5/GB/CNS.
       Patch to hztty to support EHZ-BIG5/GB/CNS.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/EHZ-2.0.tar.gz
     author  : Ricky Yeung
     comment : Also contains the EHZ spec and Fung Fung Lee's EHZ-BIG5-CNS spec.

     software: b5cns
     version : prototype
     function: functions to convert Big5 <-> CNS
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/b5cns.tar.gz
     author  : Ross Paterson

     software: c2t
     version : n/a
     function: converts GB or BIG5 coded chinese to _pinyin_
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/c2t.tar.gz
     authors : Tommi Kaikkonen and Katya Ta

     software: BeTTY/CCF/B5Encode package
     version : 1.534, 1995.03.22
     function: a chinese code conversion package for codes widely used
       in Taiwan and the GB code widely used in Mainland, plus
       a 7-bit Big5 encoding method (B5Encode3/B5E3, an extension
       to HZ encoding for GB),
       including off-line converters (CCF/Chinese Code Filters and
       B5E/B5Encode) and an on-line converter (BeTTY) which simulates
       your native chinese terminal to become aware of the coding
       systems widely used in Taiwan and GB, HZ encoding.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/BeTTY-1.534.tar.gz
       ftp://hermes.ee.nthu.edu.tw/shin/betty/BeTTY-1.534.tar.gz
     author  : Jing-Shin Chang

     software: BeTTY-ws_2fl.p1
     version : 1.0 (patch to BeTTY-1.534) Oct. 1995.
     function: 1. makes BeTTY respect the window(tty) size.
       2. a second Chinese code converting filter can be added on.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/BeTTY-ws2fl.p1.tar.gz
     author  : Wei Dong

     software: c2gif
     version : 0.01, 1995.10.21
     function: convert a BIG5 text file to a GIF file
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/c2gif001.tar.gz
       http://www.math.ncu.edu.tw/~luors/c2gif/
     author  : Luoh Ren-Shan

     software: gb2jis
     version : 1.5, 1995.11.19
     function: convert GB (or HZ) to JIS with two-letter pinyin
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/gb2jis.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/bdf/guobiao16.bdf.gz
     author  : Koichi Yasuoka








Chinese HOWTO 中译版      21



     software: jis2gb
     version : 1.5, 1996.1.10
     function: convert JIS to GB (or HZ)
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/jis2gb.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/bdf/guobiao16.bdf.gz
     author  : Koichi Yasuoka

     software: HZ
     version : 2.0
     function: convert among GB, HZ and zW
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/HZ-2.0.tar.gz
     author  : Fung F. Lee

     software: HZ+ specification and conversion utilities
     version : 0.77
     function: HZ+ is a convenient 7-bit representation of mixed Big5, GB,
       and ASCII text for use in Internet e-mail, news, etc.
       Source code for Big5 <-> HZ+ and GB <-> HZ+ conversion
       utilities is here.  DOS executables can be found in
       another archive, /software/dos/convert/hzp.zip. New in
       this Unix version is a simple HZ+ terminal program for cxterm
       which allows the user to transparently read HZ+ mail and news.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/hzp.tar.gz
     author  : Stephen G. Simpson

     software: hc
     version : 3.0
     function: convert between GB and BIG5
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/hc-30.tar.gz
     author  : Fung F. Lee and Ricky Yeung

     software: Support Table for Hanzi Convert (hc)
     version : 1994/05/01
     function: Convert table supports the program Hanzi Convert
       (Author : Fung F. Lee and Ricky Yeung) GB<->Big5.
       Include Russian, number, Japanese, graphing symbols and
       "incorrect" codes. Text file, comments in it.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/sym-supp.tab
       ftp://ftp.ifcss.org/pub/software/unix/convert/in-corr.tab
     author  : Chi-Ming Tsai

     software: pbmbig5
     version : 0.01, 1995.11.2
     function: convert big5 coded Chinese text file to pbm graphic file
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/pbmbig5-0.01.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/big/hbf/kck24.hbf
       ftp://ftp.ifcss.org/pub/software/fonts/big/hbf/kcchin24.f02
     author  : Wei-Jou Chen

     software: UTF utilities
     version : 31 May 1994.
     function: various utilities for the UTF encoding of Unicode/ISO-10646,
       including conversion from ISO-2022 and (partially) back again.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/utf.tar.gz








Chinese HOWTO 中译版      22



     author  : Ross Paterson

     software: utf7
     version : prototype, use at your own risk
     function: functions to convert between UTF-7 and other codes
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/utf7.tar.gz
     author  : Ross Paterson

     software: ISO-2022-CN encoder and decoder
     version : beta 960408
     function: Convert between CN-GB and CN-CNS codes
     URL     : ftp://ftp.ifcss.org/pub/software/unix/convert/iso-cn.tgz
     author  : handa@etl.go.jp
     comment : BIG5 code is not yet supported.

     ===============
     UNIX:NETWORKING
     ===============

     software: gopher2.014c
     version : 2.0.14
     function: A Chinese localized gopher client capable of 8-bit BIG5 Chinese
       string search on IBM AIX, SUN OS, and any other machines.
       Compatable with any BIG5 Chinese system such as ET and
       cxterm. executable binary for ibm and sun included.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/networking/gopher2.014c.tar.gz
       ftp://ftp.ifcss.org/pub/software/unix/networking/gopher.ibm.tar.gz
       ftp://ftp.ifcss.org/pub/software/unix/networking/gopher.sun.tar.gz
     author  : Hoo-Tung Cheuk (NCTU CIS, Taiwan)

     software: Chinese Tin
     version : 1.2PL2a
     function: tin 1.2PL2 newsreader with English/Big5 message toggle.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/networking/ctin122a.tar.gz
     author  : Shih-Kun Huang

     software: NcFTP with chinese message compatible
     version : 2.3.0c, 1996.1.17
     function: Chinese (BIG5) patch to NcFTP.
       Now it can display any chinese message from ftp server instead
       of "\xxx".  ANSI color compatible in Line Mode.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/networking/ncftp-2.3.0.chinese.tgz
     author  : NCEMRSoft (orig), Aiken Sam (chinese patch)

     ==========
     UNIX:PRINT
     ==========

     software: C2PS
     version : 1.30 Aug 1 1995
     function: Translate Big5 coded Chinese document into Level 2 PostScript.
       This is the version for Sparcstation. Using Chinese TrueType fonts,
       you can create the most beautiful document with C2PS.
       This is a DEMO version. You can freely copied and use it.








Chinese HOWTO 中译版      23



     URL     : ftp://ftp.ifcss.org/pub/software/unix/print/c2ps130sos.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/big5/ms-win/
     author  : Hsueh-I Lu

     software: cnprint
     version : 2.60  JAN-25-95
     function: print GB/Hz/BIG5/JIS/KSC/UTF8 etc or convert to PostScript
       (conforms to EPSF-3.0). Fast.  Multicolumn. Vertical printing.
       Small disk space requirement. "Intelligent" treatment of
       punctuations.  Flexible change of fonts, char size,
       width/height, char and line spaces, paper orientation and
       margins, etc.  Support of European chars.  Special modes for
       printing HXWZ.  See readme for more
     URL     : ftp://ftp.ifcss.org/pub/software/unix/print/cnprint260.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/{gb,big5,misc,unicode}/hbf/
     author  : Yidao Cai
     comment : v2.60 is also for VMS, use v2.61 for DOS

     software: GBscript
     version : 1.11
     function: Convert GB/ASCII mixed text to PostScript output.
       High print speed (4ppm on LaserWriter NTX).
       Support Adobe-2.1.
       Small PS file size (400K for one HXWZ issue).
     URL     : ftp://ftp.ifcss.org/pub/software/unix/print/gbscript-1.11.tar.gz
     author  : Yan Zhou

     software: gb2ps
     version : 2.02
     function: convert GB/HZ to postscript, supports simple page formatting
       (change chinese fonts and font size, cover page, page
       number, etc). Five chinese fonts are provided in this
       release, they are Song, Kai, Fang Song, Hei and FanTi
       The HZ ENCODING is also supported.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/print/gb2ps.2.02.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/misc/fan24.ccf.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/misc/fang24.ccf.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/misc/hei24.ccf.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/misc/kai24.ccf.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/misc/song24.ccf.gz
     author  : Wei SUN

     software: news2ps
     version : n/a
     function: news2ps converts BIG5 to Postscript
     URL     : ftp://ftp.ifcss.org/pub/software/unix/print/news2ps.c
       ftp://ftp.ifcss.org/pub/software/fonts/big5/misc/chinese.16.new
     author  : The Society of HKU Postgraduate on Chinese Affairs
     comment : rename chinese.16.new to chinese.16

     software: hz2ps
     version : 3.1
     function: Convert hanzi (GB/BIG5) text to PostScript.
       Use HBF font files.








Chinese HOWTO 中译版      24



     URL     : ftp://ftp.ifcss.org/pub/software/unix/print/hz2ps-3.1.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/{gb,big5}/hbf/
     author  : Fung F. Lee

     ===========
     UNIX:VIEWER
     ===========

     software: ChiRK
     version : 1.2a
     function: GB/HZ/BIG5 text viewer on terminals (or emulations) capable
       of displaying Tektronics 401x graphics, such as GraphOn,DEC
       VT240/330, Xterm, Tektool on Sun, EM4105 on PC,
       VersaTerm-Pro on Mac, etc.
       displays up to 17x40 Chinese characters per screen. works directly
       under UNIX mail and news programs. Comes with four fonts.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/viewer/ChiRK-1.2a.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/hbf/cclib.v
       ftp://ftp.ifcss.org/pub/software/fonts/gb/hbf/cclib.16
       ftp://ftp.ifcss.org/pub/software/fonts/gb/hbf/cclibf.16.gz
       ftp://ftp.ifcss.org/pub/software/fonts/big5/misc/chinese.16.new.gz
     author  : Bo Yang
     comment : rename chinese.16.new to chinese.16

     software: Cbanner
     version : 1.10, 950821
     function: To show Chinese word's banner
     URL     : ftp://ftp.ifcss.org/pub/software/unix/banner/cbanner1.10.tar.gz
     author  : Sheen Cherng-Dar, rewritten by Jonen Liu
     comment : requires ETen Big5 Chinese System's fonts.

     software: gb2text
     version : n/a
     function: convert GB to text
     URL     : ftp://ftp.ifcss.org/pub/software/unix/viewer/gb2text.c
     author  : Ding Yijun

     software: hzbanner
     version : 1.1, Feb 15, 1995
     function: Display Song style GuoBiao in large ASCII characters,
       supports GB2312-80 (^[$A), GB2312-80 + GB8565-88 (^[$(E),
       Chinese-EUC (8-bit Guobiao) CNS Plane 1 & 2, BIG5 and HZ-encoding
       ( ?琅??)
     URL     : ftp://ftp.ifcss.org/pub/software/unix/viewer/hzbanner11.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/gb/bdf/guobiao16.bdf.gz
       ftp://ftp.ifcss.org/pub/software/fonts/cns/bdf/cns1hku16.bdf.gz
       ftp://ftp.ifcss.org/pub/software/fonts/cns/bdf/cns2hku16.bdf.gz
     author  : Koichi Yasuoka

     software: hzview
     version : 3.1
     function: Display hanzi (GB/BIG5) text on dumb terminal.
       Use HBF font files.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/viewer/hzview-3.1.tar.gz








Chinese HOWTO 中译版      25



       ftp://ftp.ifcss.org/pub/software/fonts/{gb,big5}/hbf/
     author  : Fung F. Lee

     Software: cnview
     Version : 3.1 (UNIX version. DOS version available under /software/dos/viewer)
     Function: View GB/Hz/Big5 encoded Chinese text file on * HP-UNIX (X-window) *
     URL     : ftp://ftp.ifcss.org/pub/software/unix/viewer/cnview.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/{big5,gb}/hbf/
     Author  : Jifang Lin

     software: readgb
     version : n/a
     function: convert GB to text
     URL     : ftp://ftp.ifcss.org/pub/software/unix/viewer/readgb.c
     author  : Yuzhao Lu
     comment : modified from readnews.c

     software: readnews
     version : n/a
     function: readnews converts BIG5 to ascii dot-matrix picture
     URL     : ftp://ftp.ifcss.org/pub/software/unix/viewer/readnews.c
       ftp://ftp.ifcss.org/pub/software/fonts/big5/misc/chinese.16.new.gz
     author  : The Society of HKU Postgraduate on Chinese Affairs
     comment : rename chinese.16.new to chinese.16

     ==========
     UNIX:INPUT
     ==========

     software: CCTeach
     version : 1.0
     function: Chinese Character input method Teacher.
       Help new user to learn CC input and some utility programs
   of "cxterm NewFace" for associate dictionary tool,
   hotkey tool, WuBi phrase encoder, and converter with
   ".tit" <==> ".titnf".
       Based on GB and Big5 (ETen and HongKong).
       Support all input method by external dictionary file.
       Need cxterm in unix, CC DOS or ZW DOS in PC.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/input/CCTeach1.0.tar.gz
     author  : Xiaokun Zhu

     =========
     UNIX:MISC
     =========

     software: ICCS 1.3
     version : 1.3, June 26, 1994
     function: Internet Chinese Chess Server
     URL     : ifcss.org:/software/unix/misc/iccs-1.3.tar.gz
     author  : Xi Chen
     comment : file off-lined due to legal status July 3, 1996. Please contact
       the author Xi Chen at xichen@abel.math.harvard.edu for further info.









Chinese HOWTO 中译版      26



     ========
     UNIX:WWW
     ========

     software: cdelegate
     version : 1.4a, 1996.5.1
     function: This is a Chinese patch on DeleGate, a gateway for the WWW services.
       provides code translation between Chinese/Japanese for WWW browsers
     URL     : ftp://ftp.ifcss.org/pub/software/unix/www/cdelegate1.4.tar.gz
     author  : Seke Wei

     software: Chinese Lynx
     version : 2.5FMc, 1996.7.19
     function: Chinese BIG5/GB patch to lynx, a WWW client for vt100 terminals.
       Volunteers needed to continue on the patch.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/www/clynx25.zip
     author  : Nelson Chin

     software: Internet MahJong Server (server + client applet)
     version : 0.2beta
     function: provides a server and a graphic client for playing MahJong on
       the Internet.
     URL     : ftp://ftp.ifcss.org/pub/software/unix/www/MJ_dist.tar.gz
     author  : Zuwei Thomas Feng
     *****
     LINUX
     *****

     software: D Series (Chinese Tools, ELF binary)
     version : 1.00,  March 25, 1995
     function: Binary distribution of various useful Chinese tools:
       Viewers -- cxterm, crxvt; Input server -- xcin; GB,Big5,HZ,B5E3
       code converters -- ccf, hc, hz2gb, gb2hz, zw2hz, b5decode,
       b5encode; Print tool -- lunar, ttf2ps; Pseudo tty -- hztty,
       betty; Various handy scripts, man pages, dictionaries, HBF fonts,
       xfonts included; chdrv, celvis, elm, sendmail
     URL     : ftp://ftp.ifcss.org/pub/software/linux/CLinux/CTool/d1
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/CTool/d2
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/CTool/d3
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/CTool/d4
     author  : Eric Lin
     comment : requires XFree86 3.1+, ELF libraries

     software: C Series (Chinese packages for Slackware)
     version : N/A
     function: The Chinese packages collected by Wei-Jou Chen can be installed by
       Slackware's setup tools. Basic idea are that we have right to install
       and remove Chinese softwares easily and beginners can play them
       without much trouble.
     URL     : ftp://ftp.ifcss.org/pub/software/linux/CLinux/c1/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/c2/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/c3/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/c4/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/c5/








Chinese HOWTO 中译版      27



     compiler: CHEN, Wei-Jou

     software: MU Series (Mule packages for Slackware)
     version : N/A
     function: The Multilingual Emacs 2.0 packages for XFree86 2.X and 3.1
       collected by Shawn Hsiao can be installed by Slackware's setup
       tools
     URL     : ftp://ftp.ifcss.org/pub/software/linux/CLinux/mu1/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/mu2/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/mu3/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/mu4/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/mu5/
       ftp://ftp.ifcss.org/pub/software/linux/CLinux/mu6/
     compiler: Shawn Hsiao

     =============
     LINUX:C-UTILS
     =============

     software: GNU fileutils-3.9
     version : 3.9, 1 August 1994
     function: Chinese version of the GNU file utility programs for Linux.
     URL     : ftp://ftp.ifcss.org/pub/software/linux/c-utils/fileutils-3.9-bin-chinese.tar.gz
     author  : Patrick D'Cruze

     software: C2PS
     version : 1.30 Aug 1 1995
     function: Translate Big5 coded Chinese document into Level 2 PostScript.
       This is the version for Linux. Using Chinese TrueType fonts, you
       can create the most beautiful Chinese documents with C2PS.
       This is a DEMO version. You can freely copied and use it.
     URL     : ftp://ftp.ifcss.org/pub/software/linux/chinese_utils/c2ps130lnx.tar.gz
       ftp://ftp.ifcss.org/pub/software/fonts/big5/ms-win/
     author  : Hsueh-I Lu

     ============
     LINUX:EDITOR
     ============

     software: ?????? for Linux (promotion version)
     version : v2.163
     function: PE2-like text editor, special designed for Chinese
     URL     : ftp://ftp.ifcss.org/pub/software/
     agent   : LU, Heman

     =========
     LINUX:TTY
     =========

     software: chdrv
     version : 1.0.7, 1995.12.20
     function: Chinese Terminal Simulator. Does not require X-Windows.
     URL     : ftp://ftp.ifcss.org/pub/software/linux/tty/chdrv-1.0.7.tar.gz
       ftp://ftp.ifcss.org/pub/software/linux/tty/chdrvbin-1.0.7.tar.gz








Chinese HOWTO 中译版      28



       ftp://ftp.ifcss.org/pub/software/linux/tty/chdrvfont.tar.gz
     author  : WANG, Yu-Chung

     ===========
     LINUX:X11R6
     ===========

     software: Behavior DTop (for Linux)
     version : 1.4, Beta
     function: A full-featured Chinese DeskTop Publishing Software Package
       characterized by object-oriented design for manipulating
       various document objects, including text, tables, graphics,
       equations, images, in an integrated way. Two outline fonts
       are provided in the Beta Version. PostScript output.
       Good as an English DeskTop Publishing Software Package too.
       (See the README's & formated DTop manual files for a long and
       complete list of functions and characteristics).
     URL     : ftp://ftp.ifcss.org/pub/software/linux/X11R6/dtop1.4/
     author  : DTop Development Group











































Chinese HOWTO 中译版      29





































































   CONTENTS



1.  简介 .................................................................... 1

2.  中文 X Windows .......................................................... 1
    2.1  如何取得 ........................................................... 1
    2.2  如何安装 ........................................................... 2

3.  CXterm 与 Hztty ......................................................... 2
    3.1  取得 cxterm 与 hztty ............................................... 3
    3.2  安装 cxterm ........................................................ 3
    3.3  安装 hztty ......................................................... 4
    3.4  CXterm 的 Color patch .............................................. 5
    3.5  排难解纷 ........................................................... 5

4.  中文编辑器 .............................................................. 5
    4.1  Celvis 与 CVim - 和 vi/ex 很像的东东 ............................... 5
    4.2  Cjoe - Joe's Own Chinese Editor .................................... 6
    4.3  Cemacs 与 CChelp For Emacs ......................................... 7
    4.4  Mule 与 Xemacs 20.0 ................................................ 7

5.  安装中文字型 ............................................................ 8
    5.1  安装 X window 字型 ................................................. 8
    5.2  安装 HBF 字型 ..................................................... 10

6.  列印工具 ............................................................... 10
    6.1  CNPRINT ........................................................... 10
    6.2  GB2PS ............................................................. 11
    6.3  DTop .............................................................. 11

7.  在 Netscape 下显示中文 ................................................. 12

8.  中文 Tex ............................................................... 12
    8.1  CJK ............................................................... 12
    8.2  Poor Man's Tex .................................................... 12
    8.3  ChTex ............................................................. 13

9.  在 Console 上使用中文-- Chdrv and WZCE ................................. 13
    9.1  取得 chdrv ........................................................ 13
    9.2  安装 chdrv ........................................................ 13
    9.3  看 GB 码的工具 - WZCE ............................................. 13

10. 中文文书处理器 -- ChinesePower ......................................... 14
    10.1 何处取得 chpower .................................................. 14
    10.2 安装 chpower ...................................................... 14

11. Wabi 2.2 与中文视窗系统 ................................................ 14

12. 其它的酷玩意 ........................................................... 14
    12.1 Crxvt ............................................................. 14
    12.2 Ktty .............................................................. 15
    12.3


       i









 TinTin++ .......................................................... 15

13. 如何求助 ............................................................... 15

14. 附录 - FTP.IFCSS.ORG 的中文软体列表 .................................... 15



















































       ii


--
CLDP homepgae: http://www.linux.org.tw/CLDP/
               http://www.phys.ntu.edu.tw/~cwhuang/pub/os/linux/CLDP/
CLDP mailing list: ldp-trans@linux.org.tw

[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:629.679毫秒