Great Circle Associates

XCIN Mail-list
(July 2000)


Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: 關於打包 xcin
From: Andrew Lee <andrew@cle.linux.org.tw>
Date: Sun, 30 Jul 2000 18:05:11 +0800 (CST)
To: xcin@linux.org.tw
Reply-To: xcin@linux.org.tw

居士兄,

小弟剛剛在打包 xcin 時發現 SETKEY 只有 ctrl-alt 1,2,3,4 可以正常切換,
按 ctrl-alt 5,6,7 都沒反應,不知道是我設錯了還是有 bugs ?! 我附上 xcinrc。

另外網頁上只有註明大易三碼/四碼的表格並非符合 GPL 或 BSD License
的自由軟體,那其餘的都是符合嗎?? 我記得詞音好像也不是...!?
剛剛試著連 http://chewing.oio.cx 發現又查不到這個 domain 了,

阿里巴巴兄的 GB 碼注音輸入法原本就在 CLE SRPM 中,所以我想這個 License 應
該不成問題,另外趙惟倫兄 chaoweilun@sinanet.com 提供的繁體倉頡輸入法 1.0
版就不確定了,而 dayi3.cin 是否有 License 文件? 我想一起打包起來會比較好。

還有 xcinrc 預設 gb2312 的地方漏了好多個輸入法的設定,我全都補上去,但我
不知道正確應該怎麼 SETKEY ? 所以就照順序 1~7,請知道的朋友告訴我正確的
SETKEY :-)

-- 
Andrew Lee
andrew@xlinux.com	XLinux Inc. R.O.C. Taipei.
andrew@cle.linux.org.tw	Chinese GNU/Linux Extension
MandrakeCLE ftp://mdk.linux.org.tw/pub/Mandrake-CLE/
;
;  Xcin resource file.
;
;  By T.H.Hsieh.
;
;  $Id: xcinrc.in,v 1.14 2000/01/23 15:18:44 thhsieh Exp $
;

;
;  Directories.
;
(define XCIN_DEFAULT_DIR      "/usr/X11R6/lib/X11/xcin")
(define XCIN_USER_DIR         ".xcin")

;
;  This defines GUI attribute.
;
(define INDEX_FONT  		"-sony-*-16-*-iso8859-1")
(define FG_COLOR    		"white")
(define BG_COLOR    		"blue")
(define M_FG_COLOR  		"yellow")
(define M_BG_COLOR  		"darkred")
(define ULINE_COLOR		"cyan")
(define GRID_COLOR		"white")
(define X_GEOMETRY  		"45x2+200-1")
(define XCIN_HIDE   		"NO")
(define XKILL_DISABLE		"NO")
(define ICCHECK_DISABLE 	"NO")
(define SINGLE_IM_CONTEXT	"NO")
(define IM_FOCUS_ON		"NO")
(define KEEP_POSITION_ON	"NO")
(define DISABLE_WM_CTRL		"NO")

;
;  XIM Input Style Adjustments.
;
(define INPUT_STYLE		'(Root OverTheSpot))
(define OVERSPOT_DRAW_AREA3	"YES")
(define OVERSPOT_DRAW_LCCH	"NO")
(define OVERSPOT_USE_CLICOLOR	"NO")

;
;  Special Trigger Keys.
;
;(define FKEY_ZHEN		"ctrl space")
;(define FKEY_2BSB		"shift space")
;(define FKEY_CIRIM		"ctrl shift")
;(define FKEY_CIRRIM		"shift ctrl")
;(define FKEY_CHREP		"ctrl alt r")
;(define FKEY_SIMD		"ctrl alt i")
;(define FKEY_IMFOCUS		"ctrl alt f")
;(define FKEY_IMN		"ctrl alt")
;(define FKEY_QPHRASE		"shift alt")

;
;  IM module default resources.
;
(define gen_inp_default
        '((AUTO_COMPOSE         YES)
          (AUTO_UPCHAR          YES)
          (AUTO_FULLUP          NO)
          (SPACE_AUTOUP         NO)
          (SELKEY_SHIFT         NO)
          (SPACE_IGNORE         NO)
          (SPACE_RESET          YES)
          (AUTO_RESET           NO)
          (WILD_ENABLE          YES)
          (SINMD_IN_LINE1       NO)
          (END_KEY              NO)
          (QPHRASE_MODE         0)      ; 1: shift, 2: ctrl, 4: alt
          (DISABLE_SEL_LIST     "NONE")
          (BEEP_WRONG           YES)
          (BEEP_DUPCHAR         NO)))

(define bimsphone_default
        '((N_SELECTION_KEY      9)
          (SELECTION_KEYS       0)      ; 0: "1234567890", 1: "asdfgjkl;"
          (PAGE_KEYS            5)      ; 1:<> 2:,. 4:(Rt)(Lt)
          (QPHRASE_MODE         1)      ; 1: shift, 2: ctrl, 4: alt
        ;
        ; This is only valid for "bimsphone*" IM name.
          (AUTO_SELECTION       YES)
          (KEYMAP               0)      ; 0: 零壹, 1: 倚天, 2: 倚天26, 3: 許氏
        ;
        ; This is only valid for "bimspinyin*" IM name.
          (PINPHO_MAP           "bims_pinyin")
        ;
        ; The following has effect only when AUTO_SELECTION is YES
          (TSI_FNAME            "tsi.db")
          (YIN_FNAME            "yin.db")
          (SPACE_SELECTION      NO)
          (PHRASE_SELECTION     YES)
          (N_SELECTION_PHR      4)
        ;
        ; The following has effect only when AUTO_SELECTION is NO
          (AUTO_UPCHAR          YES)))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  This is the global configuration of the zh_TW.Big5 locale 
;
(define zh_TW.Big5 
    '((DEFAULT_IM         "cj")
      (DEFAULT_IM_MODULE  "gen_inp")
      (DEFAULT_IM_SINMD   "DEFAULT")
      (PHRASE  	          "default.phr")
      (CINPUT             (cj phone bimsphonesimple bimsphone array30 zh_hex))
      (FONTSET		 ("-schumacher-clean-medium-r-normal--16-160-75-75-c-80-iso8859-1"
			  "-default-ming-medium-r-normal--16-*-*-*-c-*-big5-0"))))
;
;  Here are detailed configuration of each IM (for zh_TW.Big5 locale).
;
(define cj@big5
	'((SETKEY		1)))

(define phone@big5
	'((SETKEY		3)
	  (END_KEY		YES)
	  (BEEP_WRONG		YES)
	  (BEEP_DUPCHAR		NO)))

(define bimsphonesimple@big5
	'((SETKEY		5)
	  (AUTO_SELECTION	NO)
	  (BEEP_WRONG		YES)
	  (MODULE		"bimsphone")))

(define bimsphone@big5
	'((SETKEY		6)
	  (MODULE		"bimsphone")))

(define array30@big5
	'((SETKEY		8)
      	  (AUTO_FULLUP		YES)
	  (DISABLE_SEL_LIST	"w")))

(define pinyin@big5
        '((SETKEY               9)
          (BEEP_DUPCHAR         YES)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  This is the global configuration of the zh_CN.GB2312 locale 
;
(define zh_CN.GB2312
    '((DEFAULT_IM         "pinyin")
      (DEFAULT_IM_MODULE  "gen_inp")
      (DEFAULT_IM_SINMD   "DEFAULT")
      (PHRASE  	          "default.phr")
      (CINPUT (pinyin biaoxingma phonegb2 jtcj_gb shuangpin wubizixing zhiranma zh_hex))
      (FONTSET            ("-schumacher-clean-medium-r-normal--16-160-75-75-c-80-iso8859-1"
	                   "-default-ming-medium-r-normal--16-*-*-*-c-*-gb2312.1980-0"))))
;
;  Here are detailed configuration of each IM (for zh_CN.GB2312 locale).
;
(define pinyin@gb2312
	'((SETKEY		1)
	  (BEEP_DUPCHAR		YES)))

(define biaoxingma@gb2312
	'((SETKEY		2)
	  (BEEP_WRONG		YES)
	  (BEEP_DUPCHAR 	YES)))

(define phonegb2@gb2312
	'((SETKEY		3)
	  (END_KEY		YES)
	  (BEEP_WRONG		YES)
	  (BEEP_DUPCHAR		NO)))

(define jtcj_gb@gb2312
	'((SETKEY		4)
	  (BEEP_DUPCHAR		YES)))

(define shuangpin@gb2312
	'((SETKEY		5)
	  (BEEP_DUPCHAR		YES)))

(define wubizixing@gb2312
	'((SETKEY		6)
	   (BEEP_DUPCHAR	YES)))

(define zhiranma@gb2312
	'((SETKEY		7)
	   (BEEP_DUPCHAR	YES)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  This is the global configuration of the zh_HK.Big5HKSCS locale 
;
(define zh_HK.Big5HKSCS
    '((DEFAULT_IM         "cj")
      (DEFAULT_IM_MODULE  "gen_inp")
      (DEFAULT_IM_SINMD   "DEFAULT")
      (PHRASE  	          "default.phr")
      (CINPUT             (cj zh_hex))
      (FONTSET            ("-schumacher-clean-medium-r-normal--16-160-75-75-c-80-iso8859-1"
	                   "-default-ming-medium-r-normal--16-*-*-*-c-*-big5hkscs-0"))))
;
;  Here are detailed configuration of each IM (for zh_CN.GB2312 locale).
;
(define cj@big5hkscs
	'((SETKEY		1)))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  This is the global configuration of the zh_CN.GBK locale 
;
(define zh_CN.GBK
    '((DEFAULT_IM         "zh_hex")
      (DEFAULT_IM_MODULE  "gen_inp")
      (DEFAULT_IM_SINMD   "DEFAULT")
      (PHRASE  	          "default.phr")
      (CINPUT             (zh_hex))
      (FONTSET            ("-schumacher-clean-medium-r-normal--16-160-75-75-c-80-iso8859-1"
	                   "-default-ming-medium-r-normal--16-*-*-*-c-*-gbk-0"))))

;
;  The zh_hex module (zh_hex input method) is a special IM, which can be
;  used both in zh_TW.Big5 and zh_CN.GB2312 locales.
;
(define zh_hex 
	'((SETKEY		0)
	  (MODULE		zh_hex)
	  (INP_CNAME_big5	"0xa4ba+0xbd58")
	  (INP_CNAME_big5hkscs	"0xa4ba+0xbd58")
	  (INP_CNAME_gb2312	"0xc4da+0xc2eb")
	  (INP_CNAME_gbk	"0xc4da+0xc2eb")
	  (BEEP_WRONG		YES)))

Indexed By Date Previous: vcv最優惠的價格只有桑妮!!
From: cxv@kimo.com.tw
Next: 打包 xcin
From: Andrew Lee <andrew@cle.linux.org.tw>
Indexed By Thread Previous: vcv最優惠的價格只有桑妮!!
From: cxv@kimo.com.tw
Next: 打包 xcin
From: Andrew Lee <andrew@cle.linux.org.tw>