Moved from the parent directory.
[m17n/m17n-db.git] / MIM / vi-vni.mim
1 ;; vi-vni.mim -- Input method for Vietnames with VNI key sequence
2 ;; Copyright (C) 2005
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database; a sub-part of the m17n
7 ;; library.
8
9 ;; The m17n library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
13
14 ;; The m17n library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ;; Lesser General Public License for more details.
18
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the m17n library; if not, write to the Free
21 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 (input-method vi vni)
25
26 (description "Vietnames input method using the VNI key sequence.
27 It is based on the information at:
28   http://vietunicode.sourceforge.net/inputmethod.html
29 ")
30
31 (title "ắ(VNI)")
32 (map
33  (starter 
34   ("a" (set V ?a)) ("A" (set V ?A)) ("e" (set V ?e)) ("E" (set V ?E))
35   ("i" (set V ?i)) ("I" (set V ?I)) ("o" (set V ?o)) ("O" (set V ?O)) 
36   ("u" (set V ?u)) ("U" (set V ?U)) ("d" (set V ?d)) ("D" (set V ?D)))
37
38  (vni-map
39   ("a" ?a)
40   ("A" ?A)
41   ("e" ?e)
42   ("E" ?E)
43   ("i" ?i)
44   ("I" ?I)
45   ("o" ?o)
46   ("O" ?O)
47   ("u" ?u)
48   ("U" ?U)
49   ("d" ?d)
50   ("D" ?D)
51   ("a1" ?á)
52   ("A1" ?Á)
53   ("a2" ?à)
54   ("A2" ?À)
55   ("a3" ?ả)
56   ("A3" ?Ả)
57   ("a4" ?ã)
58   ("A4" ?Ã)
59   ("a5" ?ạ)
60   ("A5" ?Ạ)
61   ("a6" ?â)
62   ("A6" ?Â)
63   ("a8" ?ă)
64   ("A8" ?Ă)
65   ("d9" ?đ)
66   ("D9" ?Đ)
67   ("e1" ?é)
68   ("E1" ?É)
69   ("e2" ?è)
70   ("E2" ?È)
71   ("e3" ?ẻ)
72   ("E3" ?Ẻ)
73   ("e4" ?ẽ)
74   ("E4" ?Ẽ)
75   ("e5" ?ẹ)
76   ("E5" ?Ẹ)
77   ("e6" ?ê)
78   ("E6" ?Ê)
79   ("i1" ?í)
80   ("I1" ?Í)
81   ("i2" ?ì)
82   ("I2" ?Ì)
83   ("i3" ?ỉ)
84   ("I3" ?Ỉ)
85   ("i4" ?ĩ)
86   ("I4" ?Ĩ)
87   ("i5" ?ị)
88   ("I5" ?Ị)
89   ("o1" ?ó)
90   ("O1" ?Ó)
91   ("o2" ?ò)
92   ("O2" ?Ò)
93   ("o3" ?ỏ)
94   ("O3" ?Ỏ)
95   ("o4" ?õ)
96   ("O4" ?Õ)
97   ("o5" ?ọ)
98   ("O5" ?Ọ)
99   ("o6" ?ô)
100   ("O6" ?Ô)
101   ("o7" ?ơ)
102   ("O7" ?Ơ)
103   ("u1" ?ú)
104   ("U1" ?Ú)
105   ("u2" ?ù)
106   ("U2" ?Ù)
107   ("u3" ?ủ)
108   ("U3" ?Ủ)
109   ("u4" ?ũ)
110   ("U4" ?Ũ)
111   ("u5" ?ụ)
112   ("U5" ?Ụ)
113   ("u7" ?ư)
114   ("U7" ?Ư)
115   ("y1" ?ý)
116   ("Y1" ?Ý)
117   ("y2" ?ỳ)
118   ("Y2" ?Ỳ)
119   ("y3" ?ỷ)
120   ("Y3" ?Ỷ)
121   ("y4" ?ỹ)
122   ("Y4" ?Ỹ)
123   ("y5" ?ỵ)
124   ("Y5" ?Ỵ)
125
126   ("a61" ?ấ)
127   ("A61" ?Ấ)
128   ("a62" ?ầ)
129   ("A62" ?Ầ)
130   ("a63" ?ẩ)
131   ("A63" ?Ẩ)
132   ("a64" ?ẫ)
133   ("A64" ?Ẫ)
134   ("a65" ?ậ)
135   ("A65" ?Ậ)
136   ("a81" ?ắ)
137   ("A81" ?Ắ)
138   ("a82" ?ằ)
139   ("A82" ?Ằ)
140   ("a83" ?ẳ)
141   ("A83" ?Ẳ)
142   ("a84" ?ẵ)
143   ("A84" ?Ẵ)
144   ("a85" ?ặ)
145   ("A85" ?Ặ)
146   ("e61" ?ế)
147   ("E61" ?Ế)
148   ("e62" ?ề)
149   ("E62" ?Ề)
150   ("e63" ?ể)
151   ("E63" ?Ể)
152   ("e64" ?ễ)
153   ("E64" ?Ễ)
154   ("e65" ?ệ)
155   ("E65" ?Ệ)
156   ("o61" ?ố)
157   ("O61" ?Ố)
158   ("o62" ?ồ)
159   ("O62" ?Ồ)
160   ("o63" ?ổ)
161   ("O63" ?Ổ)
162   ("o64" ?ỗ)
163   ("O64" ?Ỗ)
164   ("o65" ?ộ)
165   ("O65" ?Ộ)
166   ("o71" ?ớ)
167   ("O71" ?Ớ)
168   ("o72" ?ờ)
169   ("O72" ?Ờ)
170   ("o73" ?ở)
171   ("O73" ?Ở)
172   ("o74" ?ỡ)
173   ("O74" ?Ỡ)
174   ("o75" ?ợ)
175   ("O75" ?Ợ)
176   ("u71" ?ứ)
177   ("U71" ?Ứ)
178   ("u72" ?ừ)
179   ("U72" ?Ừ)
180   ("u73" ?ử)
181   ("U73" ?Ử)
182   ("u74" ?ữ)
183   ("U74" ?Ữ)
184   ("u75" ?ự)
185   ("U75" ?Ự))
186
187  (escape
188   ("\\"))
189
190  (cancel
191   ("0"))
192
193  (backspace
194   ((BackSpace))))
195
196 (state
197  (init
198   (starter (pushback 1) (shift main)))
199
200  (main
201   (vni-map (shift fini))
202   (nil (shift init)))
203
204  (fini
205   (backspace (undo))
206   (escape (shift init))
207   (cancel (delete 0) (insert V) (shift init))))
208
209 ;; Local Variables:
210 ;; coding: utf-8
211 ;; mode: lisp
212 ;; End: