/etc/kinput2/ccdef.kinput2 is in kinput2-common 3.1-13build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | # $Id: ccdef.kinput2,v 1.4 1991/08/24 02:15:12 ishisone Rel $
##
## ccdef for kinput2
##
### Ãí°Õ
### ccdef ¥Õ¥¡¥¤¥ë (¤³¤Î¥Õ¥¡¥¤¥ë¤ª¤è¤Ó¥¤¥ó¥¯¥ë¡¼¥É¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë)
### ¤Ï¤¹¤Ù¤Æ EUC ¥³¡¼¥É¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£µ¤¤ò¤Ä¤±¤Æ²¼¤µ¤¤¡£
# ¥â¡¼¥É¤ÎÀë¸À
defmode Ascii ZenkakuAscii Kana JIS Kuten All Restricted
# ½é´ü¥â¡¼¥É¤Î»ØÄê
initialmode Kana
# ³Æ¥â¡¼¥É¤ËÂФ¹¤ë¥ë¡¼¥ë¤Îµ½Ò
# ¥í¡¼¥Þ»ú
mode Kana "¥í¡¼¥Þ" fallthrough All
### ¤â¤·¤¢¤Ê¤¿¤¬ wnn ¤Î¥í¡¼¥Þ»ú¤«¤ÊÊÑ´¹¤Ë´·¤ì¤Æ¤¤¤ë¤Ê¤é¤Ð
### 'rule.roma' ¤ÎÂå¤ï¤ê¤Ë 'rule.wnnroma' ¤ò¥¤¥ó¥¯¥ë¡¼¥É¤·¤Æ²¼¤µ¤¤
include 'rule.roma'
# include 'rule.wnnroma'
"" Tab "" goto Ascii
"" shift-Tab "" goto ZenkakuAscii
"n" EXITMODE "¤ó"
endmode
# ¥¢¥¹¥¡¼
mode Ascii "ABC" fallthrough All
# Æä˥롼¥ë¤òµ½Ò¤¹¤ëɬÍפϤʤ¤
"" Tab "" goto ZenkakuAscii
"" shift-Tab "" goto Kana
endmode
# Á´³Ñ¥¢¥¹¥¡¼
mode ZenkakuAscii "£Á£Â£Ã" fallthrough All
include 'rule.zascii'
"" Tab "" goto Kana
"" shift-Tab "" goto Ascii
endmode
# JIS¥³¡¼¥ÉÆþÎÏ
mode JIS "JIS¥³¡¼¥É" fallthrough Restricted
"" ENTERMODE "" jiscode-begin
"" EXITMODE "" jiscode-end
"" '0' "0"
"" '1' "1"
"" '2' "2"
"" '3' "3"
"" '4' "4"
"" '5' "5"
"" '6' "6"
"" '7' "7"
"" '8' "8"
"" '9' "9"
"" 'a' "A"
"" 'b' "B"
"" 'c' "C"
"" 'd' "D"
"" 'e' "E"
"" 'f' "F"
"" 'A' "A"
"" 'B' "B"
"" 'C' "C"
"" 'D' "D"
"" 'E' "E"
"" 'F' "F"
endmode
# ¶èÅÀ¥³¡¼¥ÉÆþÎÏ
mode Kuten "¶èÅÀ¥³¡¼¥É" fallthrough Restricted
"" ENTERMODE "" kutencode-begin
"" EXITMODE "" kutencode-end
"" '0' "0"
"" '1' "1"
"" '2' "2"
"" '3' "3"
"" '4' "4"
"" '5' "5"
"" '6' "6"
"" '7' "7"
"" '8' "8"
"" '9' "9"
endmode
# All -- ¶¦ÄÌÄêµÁ
mode All "?"
### ¤³¤ÎÀßÄê¤Ç¤ÏÊÑ´¹³«»Ï»þ¤Ë¤Ï¤Ä¤Í¤Ë¥í¡¼¥Þ»ú¥â¡¼¥É¤Ë¥ê¥»¥Ã¥È¤µ¤ì¤ë
### ¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£¤â¤·ºÇ¸å¤ÎÆþÎϥ⡼¥É¤Î¤Þ¤Þ¤Ë¤·¤¿¤¤»þ¤Ë¤Ï
### "end-conversion" ¤Î¸å¤Î "goto Kana" ¤òºï½ü¤·¤Æ²¼¤µ¤¤
"" control-Kanji "" end-conversion goto Kana
"" shift-space "" end-conversion goto Kana
# "" '^\\' "" end-conversion goto Kana
"" F5 "" goto JIS
"" mod1-5 "" goto JIS
"" F6 "" goto Kuten
"" mod1-6 "" goto Kuten
### ¤â¤·¤¢¤Ê¤¿¤¬¤¿¤Þ¤´¤Î¥¡¼¥Ð¥¤¥ó¥Ç¥£¥ó¥°¤Ë´·¤ì¤Æ¤¤¤ë¤Ê¤é¤Ð
### 'rule.func' ¤ÎÂå¤ï¤ê¤Ë 'rule.eggfunc' ¤ò¥¤¥ó¥¯¥ë¡¼¥É¤·¤Æ²¼¤µ¤¤
include 'rule.func'
# include 'rule.eggfunc'
endmode
# Restricted -- JIS ¥³¡¼¥É / ¶èÅÀ¥³¡¼¥ÉÍÑ
mode Restricted "??"
"" F5 "" goto PREV
"" F6 "" goto PREV
"" mod1-5 "" goto PREV
"" mod1-6 "" goto PREV
"" '^H' "" backspace
"" @ascii "" beep
endmode
|