;
;  Xcin resource file.
;
;  By T.H.Hsieh.
;
;  $Id: xcinrc,v 1.2 1999/02/18 08:08:12 thhsieh Exp $
;

;
;  Directories.
;
(define XCIN_DEFAULT_DIR      "/home/thhsieh/install/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 X_GEOMETRY  	"45x5+200-1")
(define XCIN_HIDE   	"NO")
(define XKILL_DISABLE	"NO")
(define IM_FOCUS_ON	"NO")

;
;  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             (zh_hex phone bimsphone cj))
    ;
    ; This defines English & Chinese fonts.
    ;
      (FONTSET  ("-sony-*-24-*-iso8859-1"
	         "-*-24-*-big5-0"))))


;
;  This is the global configuration of the zh_CN.GB2312 locale 
;
(define zh_CN.GB2312
    '((DEFAULT_IM         "zh_hex")
      (DEFAULT_IM_MODULE  "gen_inp")
      (DEFAULT_IM_SINMD   "DEFAULT")
      (PHRASE  	          "default.phr")
      (CINPUT             (zh_hex))
    ;
    ; This defines English & Chinese fonts.
    ;
      (FONTSET  ("-*-24-*-iso8859-1"
	         "-*-24-*-gb2312.1980-0"))))


;
;  Here are detailed configuration of each IM.
;

(define zh_hex 
	'((SETKEY	0)
	  (MODULE	zh_hex)
	  (BEEP_WRONG	YES)))

(define phone
	'((SETKEY	3)
      	  (WILD_ENABLE 	YES)
	  (BEEP_WRONG  	YES)
	  (BEEP_DUPCHAR YES)))

(define bimsphone
	'((SETKEY	6)
	  (MODULE	"bimsphone")
	  (TSI_FNAME    "tsi.db")
	  (YIN_FNAME    "yin.db")
	  (KEYMAP	0)))		; 0: s, 1: ʤ, 2: \

(define cj
	'((SETKEY	  1)
	  (AUTO_COMPOSE   YES)
      	  (AUTO_UPCHAR 	  YES)
      	  (AUTO_FULLUP 	  NO)
	  (SPACE_AUTOUP   NO)
	  (SELKEY_SHIFT   NO)
      	  (SPACE_IGNORE	  NO)
	  (SPACE_RESET    YES)
	  (AUTO_RESET	  NO)
	  (END_KEY	  NO)
      	  (WILD_ENABLE 	  NO)
      	  (AUTO_SELECT 	  NO)
	  (SINMD_IN_LINE1 NO)
	  (BEEP_WRONG  	  YES)
	  (BEEP_DUPCHAR   YES)))

