18673
|
1 ;;; quail/greek.el -- Quail package for inputting Greek
|
|
2
|
|
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
|
|
4 ;; Licensed to the Free Software Foundation.
|
|
5
|
|
6 ;; Keywords: multilingual, input method, Greek
|
|
7
|
|
8 ;; This file is part of GNU Emacs.
|
|
9
|
|
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
|
|
11 ;; it under the terms of the GNU General Public License as published by
|
|
12 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
13 ;; any later version.
|
|
14
|
|
15 ;; GNU Emacs is distributed in the hope that it will be useful,
|
|
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18 ;; GNU General Public License for more details.
|
|
19
|
|
20 ;; You should have received a copy of the GNU General Public License
|
|
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
|
|
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
23 ;; Boston, MA 02111-1307, USA.
|
|
24
|
|
25 ;;; Code:
|
|
26
|
|
27 (require 'quail)
|
|
28
|
|
29 (quail-define-package
|
|
30 "greek-jis" "Greek" "$B&8(B" nil
|
|
31 "$B&%&K&K&G&M&I&J&A(B: Greek keyboard layout (JIS X0208.1983)
|
|
32
|
|
33 The layout is same as greek, but uses JIS characters.
|
|
34 Sorry, accents and terminal sigma are not supported in JIS."
|
|
35 nil t t t t)
|
|
36
|
|
37 (quail-define-rules
|
|
38 ("1" ?$B#1(B)
|
|
39 ("2" ?$B#2(B)
|
|
40 ("3" ?$B#3(B)
|
|
41 ("4" ?$B#4(B)
|
|
42 ("5" ?$B#5(B)
|
|
43 ("6" ?$B#6(B)
|
|
44 ("7" ?$B#7(B)
|
|
45 ("8" ?$B#8(B)
|
|
46 ("9" ?$B#9(B)
|
|
47 ("0" ?$B#0(B)
|
|
48 ("-" ?$B!](B)
|
|
49 ("=" ?$B!a(B)
|
|
50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?$B&1(B)
|
|
103 ("T" ?$B&3(B)
|
|
104 ("Y" ?$B&4(B)
|
|
105 ("U" ?$B&((B)
|
|
106 ("I" ?$B&)(B)
|
|
107 ("O" ?$B&/(B)
|
|
108 ("P" ?$B&1(B)
|
|
109 ("{" ?\$B!P(B)
|
|
110 ("}" ?\$B!Q(B)
|
|
111 ("A" ?$B&!(B)
|
|
112 ("S" ?$B&2(B)
|
|
113 ("D" ?$B&$(B)
|
|
114 ("F" ?$B&5(B)
|
|
115 ("G" ?$B&#(B)
|
|
116 ("H" ?$B&'(B)
|
|
117 ("J" ?$B&.(B)
|
|
118 ("K" ?$B&*(B)
|
|
119 ("L" ?$B&+(B)
|
|
120 (":" ?$B!I(B)
|
|
121 ("\"" ?$B!I(B)
|
|
122 ("|" ?$B!C(B)
|
|
123 ("Z" ?$B&&(B)
|
|
124 ("X" ?$B&6(B)
|
|
125 ("C" ?$B&7(B)
|
|
126 ("V" ?$B&8(B)
|
|
127 ("B" ?$B&"(B)
|
|
128 ("N" ?$B&-(B)
|
|
129 ("M" ?$B&,(B)
|
|
130 ("<" ?$B!((B)
|
|
131 (">" ?$B!'(B)
|
|
132 ("?" ?$B!)(B))
|
|
133
|
|
134 ;;
|
|
135
|
|
136 (quail-define-package
|
|
137 "greek" "Greek" ",FY(B" nil
|
|
138 ",FEkkgmij\(B: Greek keyboard layout (ISO 8859-7)
|
|
139 --------------
|
|
140
|
|
141 In the right of ,Fk(B key is a combination key, where
|
|
142 ,F4(B acute
|
|
143 ,F((B diaresis
|
|
144
|
|
145 e.g.
|
|
146 ,Fa(B + ,F4(B -> ,F\(B
|
|
147 ,Fi(B + ,F((B -> ,Fz(B
|
|
148 ,Fi(B + ,F((B + ,F4(B -> ,F@(B"
|
|
149 nil t t t t)
|
|
150
|
|
151 ;; 1! 2@ 3# 4$ 5% 6^ 7& 8* 9( 0) -_ =+ `~
|
|
152 ;; ,F7/(B ,FrS(B ,FeE(B ,FqQ(B ,FtT(B ,FuU(B ,FhH(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|
203 ("/" ?/)
|
|
204
|
|
205 ("!" ?!)
|
|
206 ("@" ?@)
|
|
207 ("#" ?#)
|
|
208 ("$" ?$)
|
|
209 ("%" ?%)
|
|
210 ("^" ?^)
|
|
211 ("&" ?&)
|
|
212 ("*" ?*)
|
|
213 ("(" ?\()
|
|
214 (")" ?\))
|
|
215 ("_" ?_)
|
|
216 ("+" ?+)
|
|
217 ("~" ?~)
|
|
218 ("Q" ?,F/(B)
|
|
219 ("W" ?,FS(B)
|
|
220 ("E" ?,FE(B)
|
|
221 ("R" ?,FQ(B)
|
|
222 ("T" ?,FT(B)
|
|
223 ("Y" ?,FU(B)
|
|
224 ("U" ?,FH(B)
|
|
225 ("I" ?,FI(B)
|
|
226 ("O" ?,FO(B)
|
|
227 ("P" ?,FP(B)
|
|
228 ("{" ?{)
|
|
229 ("}" ?})
|
|
230 ("A" ?,FA(B)
|
|
231 ("S" ?,FS(B)
|
|
232 ("D" ?,FD(B)
|
|
233 ("F" ?,FV(B)
|
|
234 ("G" ?,FC(B)
|
|
235 ("H" ?,FG(B)
|
|
236 ("J" ?,FN(B)
|
|
237 ("K" ?,FJ(B)
|
|
238 ("L" ?,FK(B)
|
|
239 (":" ?,F((B)
|
|
240 ("\"" ?\")
|
|
241 ("|" ?|)
|
|
242 ("Z" ?,FF(B)
|
|
243 ("X" ?,FW(B)
|
|
244 ("C" ?,FX(B)
|
|
245 ("V" ?,FY(B)
|
|
246 ("B" ?,FB(B)
|
|
247 ("N" ?,FM(B)
|
|
248 ("M" ?,FL(B)
|
|
249 ("<" ?\;)
|
|
250 (">" ?:)
|
|
251 ("?" ??)
|
|
252
|
|
253 ("a;" ?,F\(B)
|
|
254 ("e;" ?,F](B)
|
|
255 ("h;" ?,F^(B)
|
|
256 ("i;" ?,F_(B)
|
|
257 ("o;" ?,F|(B)
|
|
258 ("y;" ?,F}(B)
|
|
259 ("v;" ?,F~(B)
|
|
260 ("A;" ?,F6(B)
|
|
261 ("E;" ?,F8(B)
|
|
262 ("H;" ?,F9(B)
|
|
263 ("I;" ?,F:(B)
|
|
264 ("O;" ?,F<(B)
|
|
265 ("Y;" ?,F>(B)
|
|
266 ("V;" ?,F?(B)
|
|
267 ("i:" ?,Fz(B)
|
|
268 ("y:" ?,F{(B)
|
|
269 ("I:" ?,FZ(B)
|
|
270 ("Y:" ?,F[(B)
|
|
271 ("i:;" ?,F@(B)
|
|
272 ("y:;" ?,F`(B))
|