/usr/share/canna/jdemon.canna is in libcanna1g 3.7p3-14.
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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | ;; Copyright 1992 NEC Corporation, Tokyo, Japan.
;;
;; Permission to use, copy, modify, distribute and sell this software
;; and its documentation for any purpose is hereby granted without
;; fee, provided that the above copyright notice appear in all copies
;; and that both that copyright notice and this permission notice
;; appear in supporting documentation, and that the name of NEC
;; Corporation not be used in advertising or publicity pertaining to
;; distribution of the software without specific, written prior
;; permission. NEC Corporation makes no representations about the
;; suitability of this software for any purpose. It is provided "as
;; is" without express or implied warranty.
;;
;; NEC CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
;; INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
;; NO EVENT SHALL NEC CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
;; CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
;; USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
;; OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
;; PERFORMANCE OF THIS SOFTWARE.
;; Using this customize file gives you a Japanese Input Interface
;; like EWS-UX/v R6.1 does.
;; @(#) 102.1 $Id: jdemon.canna,v 1.1.1.1 2002/10/19 08:27:52 aida_s Exp $
; definition of modes peculier to jdaemon.
(defmode jdaemon-base-mode nil nil '(romaji kakutei))
(defmode jdaemon-kana-mode nil nil '(katakana hankaku kakutei))
(defmode jdaemon-eisu-mode nil nil '(romaji zenkaku))
(initialize-function '(japanese-mode jdaemon-base-mode))
(setq romkana-table "jdaemon.cbp")
(use-dictionary
"iroha"
"fuzokugo"
"hojomwd"
"hojoswd"
:bushu "bushu"
:user "user"
)
(setq cursor-wrap t) ; default t
(setq select-direct t) ; default t
(setq numerical-key-select t) ; default t
(setq character-based-move t) ; default t
(setq reverse-widely t) ; default nil
(setq break-into-roman nil) ; default nil
(setq quit-if-end-of-ichiran t) ; default nil
(setq kakutei-if-end-of-bunsetsu t) ; default nil
(setq stay-after-validate nil) ; default t
;; setting for mode string
(set-mode-display 'jdaemon-base-mode "")
(set-mode-display 'jdaemon-kana-mode "£Ò")
(set-mode-display 'jdaemon-eisu-mode "¡¡Á´³ÑÃ༡¤«¤Ê¥·")
(set-mode-display 'alpha-mode nil)
(set-mode-display 'empty-mode "£ÒÁ´³ÑÃ༡¤«¤Ê¥·")
(set-mode-display 'hex-mode "£ÒÁ´³Ñ£±£¶¿Ê¡¡¥·")
(set-mode-display 'bushu-mode "£ÒÁ´³ÑÉô¼ó")
(set-mode-display 'henkan-nyuuryoku-mode "£ÒÁ´³ÑÃ༡¤«¤Ê¥·")
(set-mode-display 'zen-hira-henkan-mode "£ÒÁ´³ÑÃ༡¤«¤Ê¥·")
(set-mode-display 'zen-kata-henkan-mode "£ÒÁ´³ÑÃ༡¥«¥Ê¥·")
(set-mode-display 'zen-hira-kakutei-mode nil)
(set-mode-display 'zen-kata-kakutei-mode nil)
(set-mode-display 'han-kata-kakutei-mode "£Ò")
(set-mode-display 'zen-alpha-henkan-mode "¡¡Á´³ÑÃ༡¤«¤Ê¥·")
(set-mode-display 'han-alpha-kakutei-mode "")
(set-mode-display 'kigou-mode "£ÒÁ´³Ñµ¹æ¡¡¡¡¥·")
(set-mode-display 'mojishu-mode nil)
(set-mode-display 'tankouho-mode nil)
(set-mode-display 'ichiran-mode nil)
(set-mode-display 'yes-no-mode nil)
(set-mode-display 'extend-mode nil)
(set-mode-display 'russian-mode "£ÒÁ´³Ñ¥í¥·¥¢¡¡¥·")
(set-mode-display 'greek-mode "£ÒÁ´³Ñ¥®¥ê¥·¥ã¥·")
(set-mode-display 'line-mode "£ÒÁ´³Ñ·ÓÀþ¡¡¡¡¥·")
(set-mode-display 'changing-server-mode nil)
(set-mode-display 'henkan-method-mode nil)
(set-mode-display 'delete-dic-mode nil)
(set-mode-display 'touroku-mode "£ÒÁ´³ÑÅÐÏ¿¡¡¡¡¥·")
(set-mode-display 'touroku-hinshi-mode "£ÒÁ´³ÑÅÐÏ¿Éʻ쥷")
(set-mode-display 'touroku-dic-mode "£ÒÁ´³ÑÅÐÏ¿¼½ñ¥·")
(set-mode-display 'quoted-insert-mode "£ÒÁ´³Ñ£ñ¡¡¡¡¡¡¥·")
(set-mode-display 'bubun-muhenkan-mode "£ÒÁ´³ÑÃ༡ÊÔ½¸¥·")
(set-mode-display 'han-kata-henkan-mode nil)
(set-mode-display 'han-alpha-henkan-mode nil)
(set-mode-display 'mount-dic-mode nil)
;; setting for keymapping
(global-unbind-key-function 'quoted-insert)
(global-unbind-key-function 'extend)
(global-unbind-key-function 'shrink)
(global-unbind-key-function 'alpha-mode)
(global-unbind-key-function 'quoted-insert)
(global-unbind-key-function 'forward)
(global-unbind-key-function 'backward)
(global-unbind-key-function 'previous)
(global-unbind-key-function 'next)
(global-unbind-key-function 'beginning-of-line)
(global-unbind-key-function 'end-of-line)
(global-unbind-key-function 'delete-next)
(global-unbind-key-function 'kill-to-end-of-line)
(global-unbind-key-function 'henkan)
(global-unbind-key-function 'quit)
(global-unbind-key-function 'japanese-mode)
(global-set-key " " 'self-insert)
(global-set-key "\C-x" 'henkan)
(global-set-key "\Down" 'henkan)
(global-set-key "\Xfer" 'henkan)
(global-set-key "\C-o" 'forward)
(global-set-key "\C-n" 'backward)
(global-set-key "\C-c" 'quit)
(setq toggle-r 'base-kana-eisu-toggle)
;(setq toggle-e (sequence
; 'base-hiragana-katakana-toggle
; 'base-kakutei-henkan-toggle
; 'base-zenkaku-hankaku-toggle
; ))
(let ((mode 'empty-mode))
(set-key mode "\C-r" 'jdaemon-eisu-mode)
(set-key mode "\C-e" 'jdaemon-kana-mode)
(set-key mode "\C-b" 'bushu-mode)
(set-key mode "\C-w" 'hex-mode)
(set-key mode "\C-k" 'base-hiragana-katakana-toggle)
)
(let ((mode 'yomi-mode))
(set-key mode "\C-r" toggle-r)
(set-key mode "\C-e" '(kakutei jdaemon-kana-mode)) ; jdaemon-base ¤Î»þ¤¢¤ê
(set-key mode "\C-k" 'base-hiragana-katakana-toggle)
)
(let ((mode 'jdaemon-eisu-mode))
(set-key mode "\C-r" 'henkan-nyuuryoku-mode)
(set-key mode "\C-e" 'jdaemon-base-mode)
(set-key mode "\C-b" 'bushu-mode)
(set-key mode "\C-w" 'hex-mode)
)
(let ((mode 'jdaemon-kana-mode))
(set-key mode "\C-r" 'jdaemon-base-mode)
(set-key mode "\C-e" 'henkan-nyuuryoku-mode)
)
(let ((mode 'jdaemon-base-mode))
(set-key mode "\C-r" 'jdaemon-kana-mode)
(set-key mode "\C-e" 'jdaemon-eisu-mode)
)
(let ((mode 'yomi-mode))
(set-key mode "\C-a" 'hiragana)
(set-key mode "\C-z" 'katakana)
(set-key mode "." (sequence 'self-insert 'henkan))
(set-key mode "," (sequence 'self-insert 'henkan))
(set-key mode ">" (sequence 'self-insert 'henkan))
(set-key mode "<" (sequence 'self-insert 'henkan))
(set-key mode "!" (sequence 'self-insert 'henkan))
(set-key mode "?" (sequence 'self-insert 'henkan))
)
(let ((mode 'mojishu-mode))
(set-key mode "\Right" 'extend)
(set-key mode "\Left" 'shrink)
(set-key mode "\C-a" 'hiragana)
(set-key mode "\C-z" 'katakana)
)
(let ((mode 'tankouho-mode))
(set-key mode "\Right" 'extend)
(set-key mode "\Left" 'shrink)
(set-key mode "\C-a" 'hiragana)
(set-key mode "\C-z" 'katakana)
(set-key mode "\Xfer" 'kouho-ichiran)
(set-key mode "\Down" 'kouho-ichiran)
(set-key mode "\C-h" 'previous)
)
(let ((mode 'ichiran-mode))
(set-key mode "0" 'quit)
(set-key mode "\C-h" 'previous)
(set-key mode "\Down" 'next)
(set-key mode "\Up" 'previous)
)
|