SPY.tit 1.0 Author: Li Dongfeng DATE: May 1, 1997 URL: ftp://ftp.ifcss.org/pub/software/x-win/cxterm/dict/SPY.tit ftp://ftp.ifcss.org/pub/software/x-win/cxterm/dict/SPY.readme SPY.tit is the Shuang1Pin1 method for GB inputing used by Chinese Star for MS windows, and it is very similar to the DOS WPS Shuang1Pin1. It is very different from the CCDOS Jian3Pin1. This file is intended to be used by cxterm 5.0. To use it, you must use tit2cit SPY.tit > SPY.cit to convert it to .cit format and add it to your own dictionary path (the value of your $HZINPUTDIR, or in your X resource, the cxterm*hanziInputDir). This file was converted from the cxterm PY.tit file. You can use and distribute this file according to the same term as cxterm. Below is part of my X resource file (.Xdefauts) to use with the input methods: cxterm*hanziInputDir: /am/kore/home/li/dicts cxterm*hanziMode: SPY cxterm*hanziAssociation: /am/kore/home/li/dicts/simple.lx cxterm*hanziLineSpacing: 4 cxterm*VT100.Translations: #override\ Shift_L,Shift_L: set-HZ-parameter(input-conv=toggle) \n\ F1: set-HZ-parameter(input-conv=toggle) \n\ F2: switch-HZ-mode(IC) \n\ ~Shift F3: switch-HZ-mode(SPY) \n\ Shift F3: switch-HZ-mode(TONEPY) \n\ ~Shift F4: switch-HZ-mode(PY) If you add this to your own .Xdefauts file, you should modify it to point to your dictionary directory(containing the .cit files and the Ci2Zu3 file simple.lx). The key remapping make it possible to switch between ASCII and Chinese input with a single press of the SHIFT key(like in Chinese Star for MS windows). Keyboard Definition for SPY er,ing ei en eng ong,iong ch sh uo ou Q W E R T Y U I O P ai ao an ang iang,uang ian iao in A S D F G H J K L : un uai,ue uan zh,ui ia,ua iu ie , . / Z X C V B N M README in GB 作者: 李东风 日期: 1997.5.1 SPY.tit 是配合 UNIX X windows 上的 cxterm 5.0 汉字终端模拟软件的一种GB 码输入法. 本方案采用中文之星的缺省双拼方案, 这也与DOS WPS的双拼方案基 本相同. 要使用这一输入法, 先用 tit2cit SPY.tit > SPY.cit 把它转换成 .cit 文件, 然后把 SPY.cit 放在你的汉字输入字典目录中. 你可 以用下文介绍的方法指定输入法字典和词组文件. 双拼键盘 er,ing ei en eng ong,iong ch sh uo ou Q W E R T Y U I O P ai ao an ang iang,uang ian iao in A S D F G H J K L : un uai,ue uan zh,ui ia,ua iu ie , . / Z X C V B N M 注意: (1)女,吕等的韵母用v键. (2)而,二等用eq输入. (3)爱,挨等直接用ai输入. (4)奥,傲等直接用ao输入. (5)昂,肮等用ag输入. (6)恩,摁等直接用en输入. (7)而,二等需要用eq输入. (8)欧,偶等直接用ou输入. 在cxterm设置使用词组文件时可以利用词组. 使用诀窍: 你可以修改自己的 X window 资源文件 .Xdefaults, 在里面指定自 己使用的输入法和词组文件位置, 你可以修改词组文件加入缺少的词组. 使用键 盘重映射, 可以达到类似DOS操作系统下的天汇, UCDOS 及 MS Windows 上的中 文之星汉字输入用 SHIFT 键就可以切换 ASCII 和中文输入的目的. 下面是我的 .Xdefaults 文件的一部分, 你需要修改其中的hanziInputDir和 hanziAssociation两项使其指向你自己的输入方法文件(.cit文件)所在目录及自 己的词组文件. 更多的输入法可以在 ftp://ftp.ifcss.org/pub/software/x-win/cxterm/dict/ 目录下找到. 按这样的定义, cxterm 在启动时处于双拼输入状态, 你可以用 SHIFT键或F1功能键切换汉字输入和ASCII(英文)输入: cxterm*hanziInputDir: /am/kore/home/li/dicts cxterm*hanziMode: SPY cxterm*hanziAssociation: /am/kore/home/li/dicts/simple.lx cxterm*hanziLineSpacing: 4 cxterm*VT100.Translations: #override\ Shift_L,Shift_L: set-HZ-parameter(input-conv=toggle) \n\ F1: set-HZ-parameter(input-conv=toggle) \n\ F2: switch-HZ-mode(IC) \n\ ~Shift F3: switch-HZ-mode(SPY) \n\ Shift F3: switch-HZ-mode(TONEPY) \n\ ~Shift F4: switch-HZ-mode(PY)