Great Circle Associates

XCIN Mail-list
(January 2001)


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

Subject: 出現[英數][半形],可是按ctrl+space卻沒辦法切換輸入法,不知道該如何解決
From: "X-windows" <biau@ms1.phes.hcc.edu.tw>
Date: Thu, 25 Jan 2001 16:10:13 +0800
To: <xcin@tlug.sinica.edu.tw>
Delivered-To: xcin-gate@tlug.sinica.edu.tw
Delivered-To: xcin-list@tlug.sinica.edu.tw
Reply-To: xcin@tlug.sinica.edu.tw

曾看過您幫忙解答這個問題,敝人最近也遭遇一樣的問題
也嘗試您的方法解決,但是依舊無解
可否勞駕您幫忙看一下下列步驟有沒有任何疏失
承蒙回答感激倍至

 
 
最近架了FreeBSD 4.2-STABLE + Xwindows 3.3.6(用afterstep 1.7.157管理)
想在  X 下能夠輸入中文所以裝了 xcin2.5.2
(用 pkg_add zh-xcin-2.5.2.tgz+zh-libtabe-0.1.8.tgz,裝在/usr/X11R6/下)
也裝了rxvt 2.7.2 99         裝法如下
                                         tar rxvt-2.7.2.tar.gz         
                                         cd rxvt-2.7.2    
                                         ./configure --enable=xim --enable-language
                                         make;make install
 以上都無錯誤訊息,進入 X- window,在 x term (版本 3.3.3)下執行
 
 ms2# setenv LANG zh_TW.Big5
 ms2# xcin2.5 &
 ms2# setenv XMODIFIER="@im=xcin"
 ms2# rxvt -pt Root -fm -*-16-*-big5-0 -fn 8x16 -km big5
 
 XCIN (中文 XIM 輸入法程式) 版本 xcin 2.5.2。
(模組版本: 20000831, syscin 版本: 20000210)
xcin: XIM 名稱 "xcin" 區域化設定 "zh_TW.Big5" 傳輸埠 "X/"
xcin: 輸入模式: Root OverTheSpot
 
出現[英數][半形],可是按ctrl+space卻沒辦法切換輸入法,不知道該如何解決

以下是 /usr/X11R6/etc/xcinrc 檔
;*******************************************************************************************
;*******************************************************************************************
;  Xcin resource file for FreeBSD.
;
;  By T.H.Hsieh.
 
;
;  Directories.
;
(define XCIN_DEFAULT_DIR      "/usr/X11R6/lib/X11/xcin25")
(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  "NO")
(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 DISABLE_WM_CTRL  "NO")
(define DIFF_BEEP  "NO")
 
;
;  XIM Input Style Adjustments.
;
(define INPUT_STYLE  '(Root OverTheSpot))
(define OVERSPOT_USE_USRCOLOR "YES")
(define OVERSPOT_USE_USRFONTSET "NO")
(define OVERSPOT_WINDOW_ONLY "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")
   (KEYSTROKE_REMAP "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: 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/local/share/tabe/tsiyin/tsi.db")
          (YIN_FNAME            "/usr/local/share/tabe/tsiyin/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 simplex phone bimspinyin bimsphone jyutping
    array30 zh_hex))
    (FONTSET  "-sony-*-24-*-iso8859-1,-*-24-*-big5-0")
    (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-*-16-*-big5-0")))
;
;  Here are detailed configuration of each IM (for zh_TW.Big5 locale).
;
(define cj@big5
 '((SETKEY  1)))
 
(define simplex@big5
 '((SETKEY  2)))
 
(define phone@big5
 '((SETKEY  3)
   (END_KEY  YES)
   (BEEP_DUPCHAR  YES)))
 
(define jyutping@big5
 '((SETKEY  4)
   (END_KEY  YES)
   (BEEP_DUPCHAR  YES)))
 
(define bimspinyin@big5
 '((SETKEY  5)
   (MODULE  "bimsphone")))
 
(define bimsphone@big5
 '((SETKEY  6)
   (MODULE  "bimsphone")))
 
(define array30@big5
 '((SETKEY  8)
         (BEEP_DUPCHAR  YES)
   (DISABLE_SEL_LIST "w")
   (KEYSTROKE_REMAP "t:0xaaba;")))
 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  This is the global configuration of the zh_CN.EUC locale
;
(define zh_CN.EUC
  '((DEFAULT_IM  "pinyin")
    (DEFAULT_IM_MODULE "gen_inp")
    (DEFAULT_IM_SINMD "DEFAULT")
    (PHRASE  "default.phr")
    (CINPUT  (pinyin shuangpin jtcj_gb wubizixing zh_hex))
    (FONTSET  "-sony-*-24-*-iso8859-1,-*-24-*-gb2312.1980-0")
    (OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-*-16-*-gb2312.1980-0")))
;
;  Here are detailed configuration of each IM (for zh_CN.EUC locale).
;
(define pinyin@euc
 '((SETKEY  1)
   (BEEP_DUPCHAR  YES)))
 
(define shuangpin@euc
 '((SETKEY  2)
   (BEEP_DUPCHAR  YES)))
 
(define jtcj_gb@euc
 '((SETKEY  3)))
 
(define wubizixing@euc
 '((SETKEY  5)))
 

;
;  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_euc "0xc4da+0xc2eb")
   (BEEP_WRONG  YES)))
 
 
 
 
 

 

Follow-Ups:
Indexed By Date Previous: Re: [FWD:] rxvt 對 blink/bold 顯示錯誤的解決法
From: ID5 <id5id5@seed.net.tw>
Next: Re: 出現[英數][半形],可是按ctrl+space卻沒辦法切換輸入法,不知道該如何解決
From: Jing-Tang Keith Jang <keith@gate.jtjang.idv.tw>
Indexed By Thread Previous: Re: [FWD:] rxvt 對 blink/bold 顯示錯誤的解決法
From: thhsieh@tlug.sinica.edu.tw
Next: Re: 出現[英數][半形],可是按ctrl+space卻沒辦法切換輸入法,不知道該如何解決
From: Jing-Tang Keith Jang <keith@gate.jtjang.idv.tw>