LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 987|回复: 9

TurboLinux 10 Cannot type Big-5 Chinese!!!

[复制链接]
发表于 2004-3-2 18:48:26 | 显示全部楼层 |阅读模式
Hello!
I just installed TurboLinux using Traditional Chinese Language.
And I used "Install Everything" for my setup.

After installation, I found that I can't type Chinese!!
Can anyone help ?
My locale is zh_TW.Big5

Thank you.

when I type xcin
It shows as follow:
XCIN (中文 XIM 輸入法程式) 版本 xcin 2.5.2.3。
(模組版本: 20000831, syscin 版本: 20000210)
(使用 "-h" 選項顯示使用說明)

xcin: 區域化設定 "zh_TW.Big5" 內碼 "big5"
xcin: 警告: 無效的字型: BIG5-0。
xcin: 錯誤: 字型設定錯誤。


my /etc/xcinrc is as follow
;
;  Xcin resource file for GNU/Linux
;
;  By T.H.Hsieh.
;

;
;  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 START_MAINWIN2                "YES")
(define MAINWIN2_GEOMETRY        "27x1+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 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            "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:,. 4Rt)(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            "tsi.db")
          (YIN_FNAME            "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.UTF-8 locale
;
(define zh_TW.UTF-8
  '((DEFAULT_IM                "cj")
    (DEFAULT_IM_MODULE        "gen_inp")
    (DEFAULT_IM_SINMD        "DEFAULT")
    (PHRASE                "default.phr")
    (CINPUT                (cj simplex phone jyutping bimspinyin bimsphone
                         array30 jyutping0 zh_hex))
    ;(FONTSET                "-sony-*-24-*-iso8859-1,-arphic technology co.-ar pl mingti2l big5-medium-r-normal--24-0-0-0-c-0-iso10646-1,-*-medium-r-*-24-*-*")
    ;(OVERSPOT_FONTSET        "-sony-*-16-*-iso8859-1,-arphic technology co.-ar pl mingti2l big5-medium-r-normal--16-0-0-0-c-0-iso10646-1,-*-medium-r-*-16-*-*")))
    ;(FONTSET                "-misc-zysong18030-medium-r-normal--0-0-0-0-c-0-iso10646-1,-adobe-times-medium-i-normal--24-240-75-75-p-125-iso8859-1,-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0,-baekmuk-gulimbdf-medium-r-normal--24-240-75-75-m-240-ksc5601.1987-0,-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0,-*-medium-r-*-16-*-*")
    (FONTSET                "-*-medium-r-*-24-*-*")
    (OVERSPOT_FONTSET        "-*-medium-r-*-16-*-*")))

(define cj@utf-8
        '((SETKEY               1)
          ))

(define simplex@utf-8
        '((SETKEY               2)
          ))

(define phone@utf-8
        '((SETKEY                3)
          (END_KEY                YES)
          (BEEP_DUPCHAR                YES)))

(define jyutping@utf-8
        '((SETKEY                4)
          (END_KEY                YES)
                (BEEP_DUPCHAR                YES)))

(define bimsphone@utf-8
        '((SETKEY                6)
          (MODULE                "bimsphone")))

(define bimspinyin@utf-8
        '((SETKEY                7)
          (MODULE                "bimsphone")))

(define array30@utf-8
        '((SETKEY                8)
                (BEEP_DUPCHAR                YES)
          (DISABLE_SEL_LIST        "w")
          (KEYSTROKE_REMAP        "t:0xaaba;T:0xaaba;")))

(define jyutping0@utf-8
        '((SETKEY                9)
          (BEEP_DUPCHAR                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 simplex phone bimspinyin bimsphone jyutping
                         array30 jyutping0 zh_hex))
    (FONTSET                "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-big5-0")
    (OVERSPOT_FONTSET        "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-big5-0")))
;
;  Here are detailed configuration of each IM (for zh_TW.Big5 locale).
;
(define cj@big5
        '((SETKEY               1)
          (INP_CNAME            "倉頡%%倉")))

(define simplex@big5
        '((SETKEY               2)
          (INP_CNAME            "簡易%%簡")))

(define phone@big5
        '((SETKEY                3)
          (INP_CNAME            "注音%%注")
          (END_KEY                YES)
          (BEEP_DUPCHAR                YES)))

(define jyutping@big5
        '((SETKEY                4)
          (INP_CNAME            "粵拼%%粵")
          (END_KEY                YES)
                (BEEP_DUPCHAR                YES)))

(define bimsphone@big5
        '((SETKEY                6)
          (INP_CNAME            "詞音%%詞")
          (MODULE                "bimsphone")))

(define bimspinyin@big5
        '((SETKEY                7)
          (INP_CNAME            "拼音%%拼")
          (MODULE                "bimsphone")))

(define array30@big5
        '((SETKEY                8)
          (INP_CNAME            "行列30%%行30")
                (BEEP_DUPCHAR                YES)
          (DISABLE_SEL_LIST        "w")
          (KEYSTROKE_REMAP        "t:0xaaba;T:0xaaba;")))

(define jyutping0@big5
        '((SETKEY                9)
          (INP_CNAME           "無調粵拼%%無")
          (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 shuangpin jtcj_gb wubizixing phonegb2
                         zh_hex))
    (FONTSET                "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-gb2312.1980-0")
    (OVERSPOT_FONTSET        "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-gb2312.1980-0")))
;
;  Here are detailed configuration of each IM (for zh_CN.GB2312 locale).
;
(define pinyin@gb2312
        '((SETKEY                1)
          (BEEP_DUPCHAR                YES)))

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

(define jtcj_gb@gb2312
        '((SETKEY                3)))

(define phonegb2@gb2312
        '((SETKEY                4)
          (END_KEY                YES)
          (BEEP_DUPCHAR                YES)))

(define wubizixing@gb2312
        '((SETKEY                5)))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  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 bimspinyin bimsphone jyutping
                         array30 jyutping0 zh_hex))
    (FONTSET                "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-big5hkscs-0,-*-24-*-c-*-big5hkscs-0")
    (OVERSPOT_FONTSET        "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-big5hkscs-0,-*-16-*-c-*-big5hkscs-0")))
;
;  Here are detailed configuration of each IM (for zh_HK.Big5HKSCS locale).
;
(define cj@big5hkscs
        '((SETKEY                1)))

(define simplex@big5hkscs
        '((SETKEY                2)))

(define phone@big5hkscs
        '((SETKEY                3)
          (END_KEY                YES)
          (BEEP_DUPCHAR                YES)))

(define jyutping@big5hkscs
        '((SETKEY                4)
          (END_KEY                YES)
          (BEEP_DUPCHAR                YES)))

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

(define bimspinyin@big5hkscs
        '((SETKEY                7)
          (MODULE                "bimsphone")))

(define array30@big5hkscs
        '((SETKEY                8)
          (BEEP_DUPCHAR                YES)
          (DISABLE_SEL_LIST        "w")
          (KEYSTROKE_REMAP        "t:0xaaba;T:0xaaba;")))

(define jyutping0@big5hkscs
        '((SETKEY                9)
          (END_KEY                YES)
          (BEEP_DUPCHAR                YES)))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  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)))

发表于 2004-3-2 20:26:37 | 显示全部楼层


我都是用简体中文安装的。
你是选择繁体中文安装的吗?

记得默认情况下,在scim的智能拼音里面,可以选择,简/繁的。

你是用只能拼音吗?

tl10自带了scim,默认进入kde就能看到。
如果你是进入了gnome的话,你需要在面板上添加一个通知区域就可以了。:rolleyes:


别的我就不知道了。
james_su有没有什么好方法?
 楼主| 发表于 2004-3-2 21:41:37 | 显示全部楼层
是呀!
我用繁體中文安裝的

我連 scim 也看不到呢~

但是如果我在 Language Selector 選擇簡體中文
logout 再 login 後..就能用scim打到中文...(簡體)

如果在 Language Selector 選擇回繁體中文
scim 仍然看不到
发表于 2004-3-3 06:48:53 | 显示全部楼层
最初由 hee 发表
是呀!
我用繁體中文安裝的

我連 scim 也看不到呢~

但是如果我在 Language Selector 選擇簡體中文
logout 再 login 後..就能用scim打到中文...(簡體)

如果在 Language Selector 選擇回繁體中文
scim 仍然看不到


那就用简体吧。
简体里面可以打繁体字的。:rolleyes:
 楼主| 发表于 2004-3-3 09:52:13 | 显示全部楼层
還有別的辦法嗎?
发表于 2004-3-3 19:05:06 | 显示全部楼层
最初由 hee 发表
還有別的辦法嗎?


一会儿我去看看啊。:rolleyes:
发表于 2004-3-3 22:08:11 | 显示全部楼层
最初由 hutigers 发表
一会儿我去看看啊。:rolleyes:


你看看这个。
[hutigers@www hutigers]$ locale
LANG=zh_CN.GB18030
LC_CTYPE="zh_CN.GB18030"
LC_NUMERIC="zh_CN.GB18030"
LC_TIME="zh_CN.GB18030"
LC_COLLATE="zh_CN.GB18030"
LC_MONETARY="zh_CN.GB18030"
LC_MESSAGES="zh_CN.GB18030"
LC_PAPER="zh_CN.GB18030"
LC_NAME="zh_CN.GB18030"
LC_ADDRESS="zh_CN.GB18030"
LC_TELEPHONE="zh_CN.GB18030"
LC_MEASUREMENT="zh_CN.GB18030"
LC_IDENTIFICATION="zh_CN.GB18030"
LC_ALL=
[hutigers@www hutigers]$

在繁体中文的情况下,进入打开一个终端。
将你的Locale调成如上的。
之后scim -d执行scim
之后应该就可以输入汉子了。

??
不是说scim是不依赖于locale的吗?
 楼主| 发表于 2004-3-4 20:38:57 | 显示全部楼层
沒有用呀
還是不能輸入中文
发表于 2004-3-9 16:54:02 | 显示全部楼层
推, 我又想知道, 因為我都是用繁體字, 沒有中文輸入, 很不方便.
发表于 2004-3-9 22:20:32 | 显示全部楼层
最初由 BenTong 发表
推, 我又想知道, 因為我都是用繁體字, 沒有中文輸入, 很不方便.


看看别人知不知道吧。

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表