-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 28 February 2003 20:28, Robert Storey wrote: > Great! I definitely owe you one. Xcin works well for me now on BIG5, > which is what I use 95% of the time. The last 5% of my problem is GB. > When I type "xcinterm-gb" it does indeed open up a Chinese xterm, but the > input line (the box that says "yinshu banxing" in BIG5) is nowhere to be > seen. If you can enlighten me as to what I'm doing wrong, I'd be > eternally grateful. > > By the way, once I do get this working 100%, I will be happy to write up > a HOW-TO and post it somewhere (maybe on the Debian site?) so that others > will be informed about how to set up Xcin.
There is already pretty much documentation for xcin. Look on http://xcin.linux.org.tw/ and in the /usr/share/doc/xcin/ directory. I don't know what your poblem is with gb, mine just works. you know that you can change between chinese and english by pressing ctrl+space? and to change between input methods press ctrl+shift or shift+ctrl to cycle through them for- or backwards. Attached is my xcinrc (/etc/), it has root-over-the-spot only by default. Cheers Arne BTW: we also have a debian-chinese-big5 maling list where you can ask such questions... :) there are more chinese speaking/using people who can help you. - -- Arne Goetje <[EMAIL PROTECTED]> (Spam catcher. Address might change in future!) PGP/GnuPG key: 1024D/685D1E8C Fingerprint: 2056 F6B7 DEA8 B478 311F 1C34 6E9F D06E 685D 1E8C Key available at wwwkeys.pgp.net. Encrypted e-mail preferred. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+X3Efbp/QbmhdHowRArBNAKCLhnYSEWdtSldw5CtP9ao3hZbxxgCggfoZ HoPCF8AdA07+4izVC8KKCb0= =EeCm -----END PGP SIGNATURE-----
; ; Xcin resource file for GNU/Linux ; ; By T.H.Hsieh. ; ; ; Directories. ; (define XCIN_DEFAULT_DIR "/usr/lib/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 START_MAINWIN2 "YES") (define MAINWIN2_GEOMETRY "27x1+200-1") (define XCIN_HIDE "YES") (define XKILL_DISABLE "NO") (define ICCHECK_DISABLE "NO") (define SINGLE_IM_CONTEXT "NO") (define IM_FOCUS_ON "NO") (define KEEP_POSITION_ON "NO") (define DIFF_BEEP "YES") (define KEYBOARD_TRANSLATE "NO") (define LOCALE '(zh_TW.Big5 zh_HK.Big5HKSCS zh_CN.GB2312 zh_CN.GBK)) ; ; XIM Input Style Adjustments. ; (define INPUT_STYLE '(Root OverTheSpot)) (define OVERSPOT_USE_USRCOLOR "YES") (define OVERSPOT_USE_USRFONTSET "YES") (define OVERSPOT_WINDOW_ONLY "YES") ; ; 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, 8:fallback (DISABLE_SEL_LIST "NONE") (KEYSTROKE_REMAP "NONE") (BEEP_WRONG YES) (BEEP_DUPCHAR NO) (TSI_FNAME "/usr/lib/tabe/tsi.db") (HINT_SELECT NO) (HINT_TSI 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, 8:fallback ; ; This is only valid for "bimsphone*" IM name. (AUTO_SELECTION YES) (KEYMAP 0) ; 0:zozy, 1:et, 2:et26, 3:hsu ; ; This is only valid for "bimspinyin*" IM name. (PINPHO_MAP "bims_pinyin") ; ; The following has effect only when AUTO_SELECTION is YES (TSI_FNAME "/usr/lib/tabe/tsi.db") (YIN_FNAME "/usr/lib/tabe/yin.db") (TSI_USERDEF_FNAME "utsi.db") (YIN_USERDEF_FNAME "uyin.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 "bimsphone") (DEFAULT_IM_MODULE "gen_inp") (DEFAULT_IM_SINMD "DEFAULT") (PHRASE "default.phr") (CINPUT (cj simplex phone dayi3 wubi_b5 bimsphone chewing array30 bimspinyin jyutping0 jyutping zh_hex)) (FONTSET "-sony-*-24-*-iso8859-1,-eten-*-medium-r-*-24-*-c-*-big5-0") (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-eten-*-medium-r-*-16-*-c-*-big5-0"))) ; ; Here are detailed configuration of each IM (for zh_TW.Big5 locale). ; (define [EMAIL PROTECTED] '((SETKEY 1))) (define [EMAIL PROTECTED] '((SETKEY 2))) (define [EMAIL PROTECTED] '((SETKEY 3) (END_KEY YES))) ; 本設定建議感謝網友 黃政維 <[EMAIL PROTECTED]> 提供 ; (define [EMAIL PROTECTED] '((SETKEY 4) (AUTO_COMPOSE YES) (AUTO_UPCHAR YES) (AUTO_FULLUP NO) (SPACE_AUTOUP NO) (SELKEY_SHIFT YES) (SPACE_IGNORE YES) (SPACE_RESET YES) (AUTO_RESET YES) (WILD_ENABLE YES) (SINMD_IN_LINE1 NO) (END_KEY NO) (BEEP_WRONG YES) (BEEP_DUPCHAR YES) (INP_CNAME "大易%%易"))) (define [EMAIL PROTECTED] '((SETKEY 5))) (define [EMAIL PROTECTED] '((SETKEY 6) (MODULE "bimsphone") (INP_CNAME "詞音%%詞"))) (define [EMAIL PROTECTED] '((SETKEY 7) (KB_TYPE "KB_DEFAULT") (MODULE "chewing"))) (define [EMAIL PROTECTED] '((SETKEY 8) (DISABLE_SEL_LIST "w") (KEYSTROKE_REMAP "t:0xaaba;T:0xaaba;") (INP_CNAME "行列30%%行30"))) (define [EMAIL PROTECTED] '((SETKEY 9) (MODULE "bimsphone"))) (define [EMAIL PROTECTED] '((SETKEY 10) (END_KEY YES) (INP_CNAME "粵拼%%粵"))) (define [EMAIL PROTECTED] '((SETKEY 11) (INP_CNAME "粵拼[無調]%%粵[無調]"))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; 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 shuangpin jtcj_gb wubizixing phonegb2 array30 zh_hex)) (FONTSET "-sony-*-24-*-iso8859-1,-isas-*-medium-r-*-24-*-c-*-gb2312.1980-0") (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-isas-*-medium-r-*-16-*-c-*-gb2312.1980-0"))) ; ; Here are detailed configuration of each IM (for zh_CN.GB2312 locale). ; (define [EMAIL PROTECTED] '((SETKEY 1))) (define [EMAIL PROTECTED] '((SETKEY 2))) (define [EMAIL PROTECTED] '((SETKEY 3))) (define [EMAIL PROTECTED] '((SETKEY 4) (END_KEY YES))) (define [EMAIL PROTECTED] '((SETKEY 5))) (define [EMAIL PROTECTED] '((SETKEY 8) (DISABLE_SEL_LIST "w") (KEYSTROKE_REMAP "t:0xb5c4;T:0xb5c4;") (INP_CNAME "俴蹈30%%俴30"))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; 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 simplex phone dayi3 wubi_b5 bimsphone chewing array30 bimspinyin jyutping0 jyutping zh_hex)) (FONTSET "-sony-*-24-*-iso8859-1,-arphic-ar mingti light b5-medium-r-*--24-*-*-*-c-*-big5hkscs-0,-*-*hkscs-medium-r-*--24-*-*-*-c-*-big5hkscs-0") (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-arphic-ar mingti light b5-medium-r-*--16-*-*-*-c-*-big5hkscs-0,-*-*hkscs-medium-r-*--16-*-*-*-c-*-big5hkscs-0"))) ; ; Here are detailed configuration of each IM (for zh_HK.Big5HKSCS locale). ; (define [EMAIL PROTECTED] '((SETKEY 1))) (define [EMAIL PROTECTED] '((SETKEY 2))) (define [EMAIL PROTECTED] '((SETKEY 3) (END_KEY YES))) ; 本設定建議感謝網友 黃政維 <[EMAIL PROTECTED]> 提供 ; (define [EMAIL PROTECTED] '((SETKEY 4) (AUTO_COMPOSE YES) (AUTO_UPCHAR YES) (AUTO_FULLUP NO) (SPACE_AUTOUP NO) (SELKEY_SHIFT YES) (SPACE_IGNORE YES) (SPACE_RESET YES) (AUTO_RESET YES) (WILD_ENABLE YES) (SINMD_IN_LINE1 NO) (END_KEY NO) (BEEP_WRONG YES) (BEEP_DUPCHAR YES) (INP_CNAME "大易%%易"))) (define [EMAIL PROTECTED] '((SETKEY 5))) (define [EMAIL PROTECTED] '((SETKEY 6) (MODULE "bimsphone") (INP_CNAME "詞音%%詞"))) (define [EMAIL PROTECTED] '((SETKEY 7) (KB_TYPE "KB_DEFAULT") (MODULE "chewing"))) (define [EMAIL PROTECTED] '((SETKEY 8) (DISABLE_SEL_LIST "w") (KEYSTROKE_REMAP "t:0xaaba;T:0xaaba;") (INP_CNAME "行列30%%行30"))) (define [EMAIL PROTECTED] '((SETKEY 9) (MODULE "bimsphone"))) (define [EMAIL PROTECTED] '((SETKEY 10) (END_KEY YES) (INP_CNAME "粵拼%%粵"))) (define [EMAIL PROTECTED] '((SETKEY 11) (INP_CNAME "粵拼[無調]%%粵[無調]"))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; 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 "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-gbk-0") (OVERSPOT_FONTSET "NONE"))) ; ; The zh_hex module (zh_hex input method) is a special IM, which can be ; used in many different encodings. ; (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)))