1 |
106 |
markom |
/* emacs_keymap.c -- the keymap for emacs_mode in readline (). */
|
2 |
|
|
|
3 |
|
|
/* Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc.
|
4 |
|
|
|
5 |
|
|
This file is part of the GNU Readline Library, a library for
|
6 |
|
|
reading lines of text with interactive input and history editing.
|
7 |
|
|
|
8 |
|
|
The GNU Readline Library is free software; you can redistribute it
|
9 |
|
|
and/or modify it under the terms of the GNU General Public License
|
10 |
|
|
as published by the Free Software Foundation; either version 1, or
|
11 |
|
|
(at your option) any later version.
|
12 |
|
|
|
13 |
|
|
The GNU Readline Library is distributed in the hope that it will be
|
14 |
|
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
15 |
|
|
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
|
|
GNU General Public License for more details.
|
17 |
|
|
|
18 |
|
|
The GNU General Public License is often shipped with GNU software, and
|
19 |
|
|
is generally kept in a file called COPYING or LICENSE. If you do not
|
20 |
|
|
have a copy of the license, write to the Free Software Foundation,
|
21 |
|
|
675 Mass Ave, Cambridge, MA 02139, USA. */
|
22 |
|
|
|
23 |
|
|
#if !defined (BUFSIZ)
|
24 |
|
|
#include <stdio.h>
|
25 |
|
|
#endif /* !BUFSIZ */
|
26 |
|
|
|
27 |
|
|
#include "readline.h"
|
28 |
|
|
|
29 |
|
|
/* An array of function pointers, one for each possible key.
|
30 |
|
|
If the type byte is ISKMAP, then the pointer is the address of
|
31 |
|
|
a keymap. */
|
32 |
|
|
|
33 |
|
|
KEYMAP_ENTRY_ARRAY emacs_standard_keymap = {
|
34 |
|
|
|
35 |
|
|
/* Control keys. */
|
36 |
|
|
{ ISFUNC, rl_set_mark }, /* Control-@ */
|
37 |
|
|
{ ISFUNC, rl_beg_of_line }, /* Control-a */
|
38 |
|
|
{ ISFUNC, rl_backward }, /* Control-b */
|
39 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-c */
|
40 |
|
|
{ ISFUNC, rl_delete }, /* Control-d */
|
41 |
|
|
{ ISFUNC, rl_end_of_line }, /* Control-e */
|
42 |
|
|
{ ISFUNC, rl_forward }, /* Control-f */
|
43 |
|
|
{ ISFUNC, rl_abort }, /* Control-g */
|
44 |
|
|
{ ISFUNC, rl_rubout }, /* Control-h */
|
45 |
|
|
{ ISFUNC, rl_complete }, /* Control-i */
|
46 |
|
|
{ ISFUNC, rl_newline }, /* Control-j */
|
47 |
|
|
{ ISFUNC, rl_kill_line }, /* Control-k */
|
48 |
|
|
{ ISFUNC, rl_clear_screen }, /* Control-l */
|
49 |
|
|
{ ISFUNC, rl_newline }, /* Control-m */
|
50 |
|
|
{ ISFUNC, rl_get_next_history }, /* Control-n */
|
51 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-o */
|
52 |
|
|
{ ISFUNC, rl_get_previous_history }, /* Control-p */
|
53 |
|
|
{ ISFUNC, rl_quoted_insert }, /* Control-q */
|
54 |
|
|
{ ISFUNC, rl_reverse_search_history }, /* Control-r */
|
55 |
|
|
{ ISFUNC, rl_forward_search_history }, /* Control-s */
|
56 |
|
|
{ ISFUNC, rl_transpose_chars }, /* Control-t */
|
57 |
|
|
{ ISFUNC, rl_unix_line_discard }, /* Control-u */
|
58 |
|
|
{ ISFUNC, rl_quoted_insert }, /* Control-v */
|
59 |
|
|
{ ISFUNC, rl_unix_word_rubout }, /* Control-w */
|
60 |
|
|
{ ISKMAP, (Function *)emacs_ctlx_keymap }, /* Control-x */
|
61 |
|
|
{ ISFUNC, rl_yank }, /* Control-y */
|
62 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-z */
|
63 |
|
|
{ ISKMAP, (Function *)emacs_meta_keymap }, /* Control-[ */
|
64 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-\ */
|
65 |
|
|
{ ISFUNC, rl_char_search }, /* Control-] */
|
66 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-^ */
|
67 |
|
|
{ ISFUNC, rl_undo_command }, /* Control-_ */
|
68 |
|
|
|
69 |
|
|
/* The start of printing characters. */
|
70 |
|
|
{ ISFUNC, rl_insert }, /* SPACE */
|
71 |
|
|
{ ISFUNC, rl_insert }, /* ! */
|
72 |
|
|
{ ISFUNC, rl_insert }, /* " */
|
73 |
|
|
{ ISFUNC, rl_insert }, /* # */
|
74 |
|
|
{ ISFUNC, rl_insert }, /* $ */
|
75 |
|
|
{ ISFUNC, rl_insert }, /* % */
|
76 |
|
|
{ ISFUNC, rl_insert }, /* & */
|
77 |
|
|
{ ISFUNC, rl_insert }, /* ' */
|
78 |
|
|
{ ISFUNC, rl_insert }, /* ( */
|
79 |
|
|
#if defined (PAREN_MATCHING)
|
80 |
|
|
{ ISFUNC, rl_insert_close }, /* ) */
|
81 |
|
|
#else
|
82 |
|
|
{ ISFUNC, rl_insert }, /* ) */
|
83 |
|
|
#endif /* !PAREN_MATCHING */
|
84 |
|
|
{ ISFUNC, rl_insert }, /* * */
|
85 |
|
|
{ ISFUNC, rl_insert }, /* + */
|
86 |
|
|
{ ISFUNC, rl_insert }, /* , */
|
87 |
|
|
{ ISFUNC, rl_insert }, /* - */
|
88 |
|
|
{ ISFUNC, rl_insert }, /* . */
|
89 |
|
|
{ ISFUNC, rl_insert }, /* / */
|
90 |
|
|
|
91 |
|
|
/* Regular digits. */
|
92 |
|
|
{ ISFUNC, rl_insert }, /* 0 */
|
93 |
|
|
{ ISFUNC, rl_insert }, /* 1 */
|
94 |
|
|
{ ISFUNC, rl_insert }, /* 2 */
|
95 |
|
|
{ ISFUNC, rl_insert }, /* 3 */
|
96 |
|
|
{ ISFUNC, rl_insert }, /* 4 */
|
97 |
|
|
{ ISFUNC, rl_insert }, /* 5 */
|
98 |
|
|
{ ISFUNC, rl_insert }, /* 6 */
|
99 |
|
|
{ ISFUNC, rl_insert }, /* 7 */
|
100 |
|
|
{ ISFUNC, rl_insert }, /* 8 */
|
101 |
|
|
{ ISFUNC, rl_insert }, /* 9 */
|
102 |
|
|
|
103 |
|
|
/* A little more punctuation. */
|
104 |
|
|
{ ISFUNC, rl_insert }, /* : */
|
105 |
|
|
{ ISFUNC, rl_insert }, /* ; */
|
106 |
|
|
{ ISFUNC, rl_insert }, /* < */
|
107 |
|
|
{ ISFUNC, rl_insert }, /* = */
|
108 |
|
|
{ ISFUNC, rl_insert }, /* > */
|
109 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
110 |
|
|
{ ISFUNC, rl_insert }, /* @ */
|
111 |
|
|
|
112 |
|
|
/* Uppercase alphabet. */
|
113 |
|
|
{ ISFUNC, rl_insert }, /* A */
|
114 |
|
|
{ ISFUNC, rl_insert }, /* B */
|
115 |
|
|
{ ISFUNC, rl_insert }, /* C */
|
116 |
|
|
{ ISFUNC, rl_insert }, /* D */
|
117 |
|
|
{ ISFUNC, rl_insert }, /* E */
|
118 |
|
|
{ ISFUNC, rl_insert }, /* F */
|
119 |
|
|
{ ISFUNC, rl_insert }, /* G */
|
120 |
|
|
{ ISFUNC, rl_insert }, /* H */
|
121 |
|
|
{ ISFUNC, rl_insert }, /* I */
|
122 |
|
|
{ ISFUNC, rl_insert }, /* J */
|
123 |
|
|
{ ISFUNC, rl_insert }, /* K */
|
124 |
|
|
{ ISFUNC, rl_insert }, /* L */
|
125 |
|
|
{ ISFUNC, rl_insert }, /* M */
|
126 |
|
|
{ ISFUNC, rl_insert }, /* N */
|
127 |
|
|
{ ISFUNC, rl_insert }, /* O */
|
128 |
|
|
{ ISFUNC, rl_insert }, /* P */
|
129 |
|
|
{ ISFUNC, rl_insert }, /* Q */
|
130 |
|
|
{ ISFUNC, rl_insert }, /* R */
|
131 |
|
|
{ ISFUNC, rl_insert }, /* S */
|
132 |
|
|
{ ISFUNC, rl_insert }, /* T */
|
133 |
|
|
{ ISFUNC, rl_insert }, /* U */
|
134 |
|
|
{ ISFUNC, rl_insert }, /* V */
|
135 |
|
|
{ ISFUNC, rl_insert }, /* W */
|
136 |
|
|
{ ISFUNC, rl_insert }, /* X */
|
137 |
|
|
{ ISFUNC, rl_insert }, /* Y */
|
138 |
|
|
{ ISFUNC, rl_insert }, /* Z */
|
139 |
|
|
|
140 |
|
|
/* Some more punctuation. */
|
141 |
|
|
{ ISFUNC, rl_insert }, /* [ */
|
142 |
|
|
{ ISFUNC, rl_insert }, /* \ */
|
143 |
|
|
#if defined (PAREN_MATCHING)
|
144 |
|
|
{ ISFUNC, rl_insert_close }, /* ] */
|
145 |
|
|
#else
|
146 |
|
|
{ ISFUNC, rl_insert }, /* ] */
|
147 |
|
|
#endif /* !PAREN_MATCHING */
|
148 |
|
|
{ ISFUNC, rl_insert }, /* ^ */
|
149 |
|
|
{ ISFUNC, rl_insert }, /* _ */
|
150 |
|
|
{ ISFUNC, rl_insert }, /* ` */
|
151 |
|
|
|
152 |
|
|
/* Lowercase alphabet. */
|
153 |
|
|
{ ISFUNC, rl_insert }, /* a */
|
154 |
|
|
{ ISFUNC, rl_insert }, /* b */
|
155 |
|
|
{ ISFUNC, rl_insert }, /* c */
|
156 |
|
|
{ ISFUNC, rl_insert }, /* d */
|
157 |
|
|
{ ISFUNC, rl_insert }, /* e */
|
158 |
|
|
{ ISFUNC, rl_insert }, /* f */
|
159 |
|
|
{ ISFUNC, rl_insert }, /* g */
|
160 |
|
|
{ ISFUNC, rl_insert }, /* h */
|
161 |
|
|
{ ISFUNC, rl_insert }, /* i */
|
162 |
|
|
{ ISFUNC, rl_insert }, /* j */
|
163 |
|
|
{ ISFUNC, rl_insert }, /* k */
|
164 |
|
|
{ ISFUNC, rl_insert }, /* l */
|
165 |
|
|
{ ISFUNC, rl_insert }, /* m */
|
166 |
|
|
{ ISFUNC, rl_insert }, /* n */
|
167 |
|
|
{ ISFUNC, rl_insert }, /* o */
|
168 |
|
|
{ ISFUNC, rl_insert }, /* p */
|
169 |
|
|
{ ISFUNC, rl_insert }, /* q */
|
170 |
|
|
{ ISFUNC, rl_insert }, /* r */
|
171 |
|
|
{ ISFUNC, rl_insert }, /* s */
|
172 |
|
|
{ ISFUNC, rl_insert }, /* t */
|
173 |
|
|
{ ISFUNC, rl_insert }, /* u */
|
174 |
|
|
{ ISFUNC, rl_insert }, /* v */
|
175 |
|
|
{ ISFUNC, rl_insert }, /* w */
|
176 |
|
|
{ ISFUNC, rl_insert }, /* x */
|
177 |
|
|
{ ISFUNC, rl_insert }, /* y */
|
178 |
|
|
{ ISFUNC, rl_insert }, /* z */
|
179 |
|
|
|
180 |
|
|
/* Final punctuation. */
|
181 |
|
|
{ ISFUNC, rl_insert }, /* { */
|
182 |
|
|
{ ISFUNC, rl_insert }, /* | */
|
183 |
|
|
#if defined (PAREN_MATCHING)
|
184 |
|
|
{ ISFUNC, rl_insert_close }, /* } */
|
185 |
|
|
#else
|
186 |
|
|
{ ISFUNC, rl_insert }, /* } */
|
187 |
|
|
#endif /* !PAREN_MATCHING */
|
188 |
|
|
{ ISFUNC, rl_insert }, /* ~ */
|
189 |
|
|
{ ISFUNC, rl_rubout }, /* RUBOUT */
|
190 |
|
|
|
191 |
|
|
#if KEYMAP_SIZE > 128
|
192 |
|
|
/* Pure 8-bit characters (128 - 159).
|
193 |
|
|
These might be used in some
|
194 |
|
|
character sets. */
|
195 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
196 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
197 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
198 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
199 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
200 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
201 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
202 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
203 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
204 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
205 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
206 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
207 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
208 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
209 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
210 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
211 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
212 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
213 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
214 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
215 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
216 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
217 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
218 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
219 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
220 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
221 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
222 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
223 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
224 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
225 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
226 |
|
|
{ ISFUNC, rl_insert }, /* ? */
|
227 |
|
|
|
228 |
|
|
/* ISO Latin-1 characters (160 - 255) */
|
229 |
|
|
{ ISFUNC, rl_insert }, /* No-break space */
|
230 |
|
|
{ ISFUNC, rl_insert }, /* Inverted exclamation mark */
|
231 |
|
|
{ ISFUNC, rl_insert }, /* Cent sign */
|
232 |
|
|
{ ISFUNC, rl_insert }, /* Pound sign */
|
233 |
|
|
{ ISFUNC, rl_insert }, /* Currency sign */
|
234 |
|
|
{ ISFUNC, rl_insert }, /* Yen sign */
|
235 |
|
|
{ ISFUNC, rl_insert }, /* Broken bar */
|
236 |
|
|
{ ISFUNC, rl_insert }, /* Section sign */
|
237 |
|
|
{ ISFUNC, rl_insert }, /* Diaeresis */
|
238 |
|
|
{ ISFUNC, rl_insert }, /* Copyright sign */
|
239 |
|
|
{ ISFUNC, rl_insert }, /* Feminine ordinal indicator */
|
240 |
|
|
{ ISFUNC, rl_insert }, /* Left pointing double angle quotation mark */
|
241 |
|
|
{ ISFUNC, rl_insert }, /* Not sign */
|
242 |
|
|
{ ISFUNC, rl_insert }, /* Soft hyphen */
|
243 |
|
|
{ ISFUNC, rl_insert }, /* Registered sign */
|
244 |
|
|
{ ISFUNC, rl_insert }, /* Macron */
|
245 |
|
|
{ ISFUNC, rl_insert }, /* Degree sign */
|
246 |
|
|
{ ISFUNC, rl_insert }, /* Plus-minus sign */
|
247 |
|
|
{ ISFUNC, rl_insert }, /* Superscript two */
|
248 |
|
|
{ ISFUNC, rl_insert }, /* Superscript three */
|
249 |
|
|
{ ISFUNC, rl_insert }, /* Acute accent */
|
250 |
|
|
{ ISFUNC, rl_insert }, /* Micro sign */
|
251 |
|
|
{ ISFUNC, rl_insert }, /* Pilcrow sign */
|
252 |
|
|
{ ISFUNC, rl_insert }, /* Middle dot */
|
253 |
|
|
{ ISFUNC, rl_insert }, /* Cedilla */
|
254 |
|
|
{ ISFUNC, rl_insert }, /* Superscript one */
|
255 |
|
|
{ ISFUNC, rl_insert }, /* Masculine ordinal indicator */
|
256 |
|
|
{ ISFUNC, rl_insert }, /* Right pointing double angle quotation mark */
|
257 |
|
|
{ ISFUNC, rl_insert }, /* Vulgar fraction one quarter */
|
258 |
|
|
{ ISFUNC, rl_insert }, /* Vulgar fraction one half */
|
259 |
|
|
{ ISFUNC, rl_insert }, /* Vulgar fraction three quarters */
|
260 |
|
|
{ ISFUNC, rl_insert }, /* Inverted questionk mark */
|
261 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter a with grave */
|
262 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter a with acute */
|
263 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter a with circumflex */
|
264 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter a with tilde */
|
265 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter a with diaeresis */
|
266 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter a with ring above */
|
267 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter ae */
|
268 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter c with cedilla */
|
269 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter e with grave */
|
270 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter e with acute */
|
271 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter e with circumflex */
|
272 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter e with diaeresis */
|
273 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter i with grave */
|
274 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter i with acute */
|
275 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter i with circumflex */
|
276 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter i with diaeresis */
|
277 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter eth (Icelandic) */
|
278 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter n with tilde */
|
279 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter o with grave */
|
280 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter o with acute */
|
281 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter o with circumflex */
|
282 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter o with tilde */
|
283 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter o with diaeresis */
|
284 |
|
|
{ ISFUNC, rl_insert }, /* Multiplication sign */
|
285 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter o with stroke */
|
286 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter u with grave */
|
287 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter u with acute */
|
288 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter u with circumflex */
|
289 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter u with diaeresis */
|
290 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter Y with acute */
|
291 |
|
|
{ ISFUNC, rl_insert }, /* Latin capital letter thorn (Icelandic) */
|
292 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter sharp s (German) */
|
293 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter a with grave */
|
294 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter a with acute */
|
295 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter a with circumflex */
|
296 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter a with tilde */
|
297 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter a with diaeresis */
|
298 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter a with ring above */
|
299 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter ae */
|
300 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter c with cedilla */
|
301 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter e with grave */
|
302 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter e with acute */
|
303 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter e with circumflex */
|
304 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter e with diaeresis */
|
305 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter i with grave */
|
306 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter i with acute */
|
307 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter i with circumflex */
|
308 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter i with diaeresis */
|
309 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter eth (Icelandic) */
|
310 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter n with tilde */
|
311 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter o with grave */
|
312 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter o with acute */
|
313 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter o with circumflex */
|
314 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter o with tilde */
|
315 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter o with diaeresis */
|
316 |
|
|
{ ISFUNC, rl_insert }, /* Division sign */
|
317 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter o with stroke */
|
318 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter u with grave */
|
319 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter u with acute */
|
320 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter u with circumflex */
|
321 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter u with diaeresis */
|
322 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter y with acute */
|
323 |
|
|
{ ISFUNC, rl_insert }, /* Latin small letter thorn (Icelandic) */
|
324 |
|
|
{ ISFUNC, rl_insert } /* Latin small letter y with diaeresis */
|
325 |
|
|
#endif /* KEYMAP_SIZE > 128 */
|
326 |
|
|
};
|
327 |
|
|
|
328 |
|
|
KEYMAP_ENTRY_ARRAY emacs_meta_keymap = {
|
329 |
|
|
|
330 |
|
|
/* Meta keys. Just like above, but the high bit is set. */
|
331 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-@ */
|
332 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-a */
|
333 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-b */
|
334 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-c */
|
335 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-d */
|
336 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-e */
|
337 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-f */
|
338 |
|
|
{ ISFUNC, rl_abort }, /* Meta-Control-g */
|
339 |
|
|
{ ISFUNC, rl_backward_kill_word }, /* Meta-Control-h */
|
340 |
|
|
{ ISFUNC, rl_tab_insert }, /* Meta-Control-i */
|
341 |
|
|
{ ISFUNC, rl_vi_editing_mode }, /* Meta-Control-j */
|
342 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-k */
|
343 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-l */
|
344 |
|
|
{ ISFUNC, rl_vi_editing_mode }, /* Meta-Control-m */
|
345 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-n */
|
346 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-o */
|
347 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-p */
|
348 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-q */
|
349 |
|
|
{ ISFUNC, rl_revert_line }, /* Meta-Control-r */
|
350 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-s */
|
351 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-t */
|
352 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-u */
|
353 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-v */
|
354 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-w */
|
355 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-x */
|
356 |
|
|
{ ISFUNC, rl_yank_nth_arg }, /* Meta-Control-y */
|
357 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-z */
|
358 |
|
|
|
359 |
|
|
{ ISFUNC, rl_complete }, /* Meta-Control-[ */
|
360 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-\ */
|
361 |
|
|
{ ISFUNC, rl_backward_char_search }, /* Meta-Control-] */
|
362 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-^ */
|
363 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-Control-_ */
|
364 |
|
|
|
365 |
|
|
/* The start of printing characters. */
|
366 |
|
|
{ ISFUNC, rl_set_mark }, /* Meta-SPACE */
|
367 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-! */
|
368 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-" */
|
369 |
|
|
{ ISFUNC, rl_insert_comment },/* Meta-# */
|
370 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-$ */
|
371 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-% */
|
372 |
|
|
{ ISFUNC, rl_tilde_expand }, /* Meta-& */
|
373 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-' */
|
374 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-( */
|
375 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-) */
|
376 |
|
|
{ ISFUNC, rl_insert_completions }, /* Meta-* */
|
377 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-+ */
|
378 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-, */
|
379 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-- */
|
380 |
|
|
{ ISFUNC, rl_yank_last_arg}, /* Meta-. */
|
381 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-/ */
|
382 |
|
|
|
383 |
|
|
/* Regular digits. */
|
384 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-0 */
|
385 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-1 */
|
386 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-2 */
|
387 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-3 */
|
388 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-4 */
|
389 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-5 */
|
390 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-6 */
|
391 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-7 */
|
392 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-8 */
|
393 |
|
|
{ ISFUNC, rl_digit_argument }, /* Meta-9 */
|
394 |
|
|
|
395 |
|
|
/* A little more punctuation. */
|
396 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-: */
|
397 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-; */
|
398 |
|
|
{ ISFUNC, rl_beginning_of_history }, /* Meta-< */
|
399 |
|
|
{ ISFUNC, rl_possible_completions }, /* Meta-= */
|
400 |
|
|
{ ISFUNC, rl_end_of_history }, /* Meta-> */
|
401 |
|
|
{ ISFUNC, rl_possible_completions }, /* Meta-? */
|
402 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-@ */
|
403 |
|
|
|
404 |
|
|
/* Uppercase alphabet. */
|
405 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-A */
|
406 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-B */
|
407 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-C */
|
408 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-D */
|
409 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-E */
|
410 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-F */
|
411 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-G */
|
412 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-H */
|
413 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-I */
|
414 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-J */
|
415 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-K */
|
416 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-L */
|
417 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-M */
|
418 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-N */
|
419 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-O */
|
420 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-P */
|
421 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-Q */
|
422 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-R */
|
423 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-S */
|
424 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-T */
|
425 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-U */
|
426 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-V */
|
427 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-W */
|
428 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-X */
|
429 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-Y */
|
430 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Meta-Z */
|
431 |
|
|
|
432 |
|
|
/* Some more punctuation. */
|
433 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-[ */ /* was rl_arrow_keys */
|
434 |
|
|
{ ISFUNC, rl_delete_horizontal_space }, /* Meta-\ */
|
435 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-] */
|
436 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-^ */
|
437 |
|
|
{ ISFUNC, rl_yank_last_arg }, /* Meta-_ */
|
438 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-` */
|
439 |
|
|
|
440 |
|
|
/* Lowercase alphabet. */
|
441 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-a */
|
442 |
|
|
{ ISFUNC, rl_backward_word }, /* Meta-b */
|
443 |
|
|
{ ISFUNC, rl_capitalize_word }, /* Meta-c */
|
444 |
|
|
{ ISFUNC, rl_kill_word }, /* Meta-d */
|
445 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-e */
|
446 |
|
|
{ ISFUNC, rl_forward_word }, /* Meta-f */
|
447 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-g */
|
448 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-h */
|
449 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-i */
|
450 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-j */
|
451 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-k */
|
452 |
|
|
{ ISFUNC, rl_downcase_word }, /* Meta-l */
|
453 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-m */
|
454 |
|
|
{ ISFUNC, rl_noninc_forward_search }, /* Meta-n */
|
455 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-o */ /* was rl_arrow_keys */
|
456 |
|
|
{ ISFUNC, rl_noninc_reverse_search }, /* Meta-p */
|
457 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-q */
|
458 |
|
|
{ ISFUNC, rl_revert_line }, /* Meta-r */
|
459 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-s */
|
460 |
|
|
{ ISFUNC, rl_transpose_words }, /* Meta-t */
|
461 |
|
|
{ ISFUNC, rl_upcase_word }, /* Meta-u */
|
462 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-v */
|
463 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-w */
|
464 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-x */
|
465 |
|
|
{ ISFUNC, rl_yank_pop }, /* Meta-y */
|
466 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-z */
|
467 |
|
|
|
468 |
|
|
/* Final punctuation. */
|
469 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-{ */
|
470 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-| */
|
471 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Meta-} */
|
472 |
|
|
{ ISFUNC, rl_tilde_expand }, /* Meta-~ */
|
473 |
|
|
{ ISFUNC, rl_backward_kill_word }, /* Meta-rubout */
|
474 |
|
|
|
475 |
|
|
#if KEYMAP_SIZE > 128
|
476 |
|
|
/* Undefined keys. */
|
477 |
|
|
{ ISFUNC, (Function *)0x0 },
|
478 |
|
|
{ ISFUNC, (Function *)0x0 },
|
479 |
|
|
{ ISFUNC, (Function *)0x0 },
|
480 |
|
|
{ ISFUNC, (Function *)0x0 },
|
481 |
|
|
{ ISFUNC, (Function *)0x0 },
|
482 |
|
|
{ ISFUNC, (Function *)0x0 },
|
483 |
|
|
{ ISFUNC, (Function *)0x0 },
|
484 |
|
|
{ ISFUNC, (Function *)0x0 },
|
485 |
|
|
{ ISFUNC, (Function *)0x0 },
|
486 |
|
|
{ ISFUNC, (Function *)0x0 },
|
487 |
|
|
{ ISFUNC, (Function *)0x0 },
|
488 |
|
|
{ ISFUNC, (Function *)0x0 },
|
489 |
|
|
{ ISFUNC, (Function *)0x0 },
|
490 |
|
|
{ ISFUNC, (Function *)0x0 },
|
491 |
|
|
{ ISFUNC, (Function *)0x0 },
|
492 |
|
|
{ ISFUNC, (Function *)0x0 },
|
493 |
|
|
{ ISFUNC, (Function *)0x0 },
|
494 |
|
|
{ ISFUNC, (Function *)0x0 },
|
495 |
|
|
{ ISFUNC, (Function *)0x0 },
|
496 |
|
|
{ ISFUNC, (Function *)0x0 },
|
497 |
|
|
{ ISFUNC, (Function *)0x0 },
|
498 |
|
|
{ ISFUNC, (Function *)0x0 },
|
499 |
|
|
{ ISFUNC, (Function *)0x0 },
|
500 |
|
|
{ ISFUNC, (Function *)0x0 },
|
501 |
|
|
{ ISFUNC, (Function *)0x0 },
|
502 |
|
|
{ ISFUNC, (Function *)0x0 },
|
503 |
|
|
{ ISFUNC, (Function *)0x0 },
|
504 |
|
|
{ ISFUNC, (Function *)0x0 },
|
505 |
|
|
{ ISFUNC, (Function *)0x0 },
|
506 |
|
|
{ ISFUNC, (Function *)0x0 },
|
507 |
|
|
{ ISFUNC, (Function *)0x0 },
|
508 |
|
|
{ ISFUNC, (Function *)0x0 },
|
509 |
|
|
{ ISFUNC, (Function *)0x0 },
|
510 |
|
|
{ ISFUNC, (Function *)0x0 },
|
511 |
|
|
{ ISFUNC, (Function *)0x0 },
|
512 |
|
|
{ ISFUNC, (Function *)0x0 },
|
513 |
|
|
{ ISFUNC, (Function *)0x0 },
|
514 |
|
|
{ ISFUNC, (Function *)0x0 },
|
515 |
|
|
{ ISFUNC, (Function *)0x0 },
|
516 |
|
|
{ ISFUNC, (Function *)0x0 },
|
517 |
|
|
{ ISFUNC, (Function *)0x0 },
|
518 |
|
|
{ ISFUNC, (Function *)0x0 },
|
519 |
|
|
{ ISFUNC, (Function *)0x0 },
|
520 |
|
|
{ ISFUNC, (Function *)0x0 },
|
521 |
|
|
{ ISFUNC, (Function *)0x0 },
|
522 |
|
|
{ ISFUNC, (Function *)0x0 },
|
523 |
|
|
{ ISFUNC, (Function *)0x0 },
|
524 |
|
|
{ ISFUNC, (Function *)0x0 },
|
525 |
|
|
{ ISFUNC, (Function *)0x0 },
|
526 |
|
|
{ ISFUNC, (Function *)0x0 },
|
527 |
|
|
{ ISFUNC, (Function *)0x0 },
|
528 |
|
|
{ ISFUNC, (Function *)0x0 },
|
529 |
|
|
{ ISFUNC, (Function *)0x0 },
|
530 |
|
|
{ ISFUNC, (Function *)0x0 },
|
531 |
|
|
{ ISFUNC, (Function *)0x0 },
|
532 |
|
|
{ ISFUNC, (Function *)0x0 },
|
533 |
|
|
{ ISFUNC, (Function *)0x0 },
|
534 |
|
|
{ ISFUNC, (Function *)0x0 },
|
535 |
|
|
{ ISFUNC, (Function *)0x0 },
|
536 |
|
|
{ ISFUNC, (Function *)0x0 },
|
537 |
|
|
{ ISFUNC, (Function *)0x0 },
|
538 |
|
|
{ ISFUNC, (Function *)0x0 },
|
539 |
|
|
{ ISFUNC, (Function *)0x0 },
|
540 |
|
|
{ ISFUNC, (Function *)0x0 },
|
541 |
|
|
{ ISFUNC, (Function *)0x0 },
|
542 |
|
|
{ ISFUNC, (Function *)0x0 },
|
543 |
|
|
{ ISFUNC, (Function *)0x0 },
|
544 |
|
|
{ ISFUNC, (Function *)0x0 },
|
545 |
|
|
{ ISFUNC, (Function *)0x0 },
|
546 |
|
|
{ ISFUNC, (Function *)0x0 },
|
547 |
|
|
{ ISFUNC, (Function *)0x0 },
|
548 |
|
|
{ ISFUNC, (Function *)0x0 },
|
549 |
|
|
{ ISFUNC, (Function *)0x0 },
|
550 |
|
|
{ ISFUNC, (Function *)0x0 },
|
551 |
|
|
{ ISFUNC, (Function *)0x0 },
|
552 |
|
|
{ ISFUNC, (Function *)0x0 },
|
553 |
|
|
{ ISFUNC, (Function *)0x0 },
|
554 |
|
|
{ ISFUNC, (Function *)0x0 },
|
555 |
|
|
{ ISFUNC, (Function *)0x0 },
|
556 |
|
|
{ ISFUNC, (Function *)0x0 },
|
557 |
|
|
{ ISFUNC, (Function *)0x0 },
|
558 |
|
|
{ ISFUNC, (Function *)0x0 },
|
559 |
|
|
{ ISFUNC, (Function *)0x0 },
|
560 |
|
|
{ ISFUNC, (Function *)0x0 },
|
561 |
|
|
{ ISFUNC, (Function *)0x0 },
|
562 |
|
|
{ ISFUNC, (Function *)0x0 },
|
563 |
|
|
{ ISFUNC, (Function *)0x0 },
|
564 |
|
|
{ ISFUNC, (Function *)0x0 },
|
565 |
|
|
{ ISFUNC, (Function *)0x0 },
|
566 |
|
|
{ ISFUNC, (Function *)0x0 },
|
567 |
|
|
{ ISFUNC, (Function *)0x0 },
|
568 |
|
|
{ ISFUNC, (Function *)0x0 },
|
569 |
|
|
{ ISFUNC, (Function *)0x0 },
|
570 |
|
|
{ ISFUNC, (Function *)0x0 },
|
571 |
|
|
{ ISFUNC, (Function *)0x0 },
|
572 |
|
|
{ ISFUNC, (Function *)0x0 },
|
573 |
|
|
{ ISFUNC, (Function *)0x0 },
|
574 |
|
|
{ ISFUNC, (Function *)0x0 },
|
575 |
|
|
{ ISFUNC, (Function *)0x0 },
|
576 |
|
|
{ ISFUNC, (Function *)0x0 },
|
577 |
|
|
{ ISFUNC, (Function *)0x0 },
|
578 |
|
|
{ ISFUNC, (Function *)0x0 },
|
579 |
|
|
{ ISFUNC, (Function *)0x0 },
|
580 |
|
|
{ ISFUNC, (Function *)0x0 },
|
581 |
|
|
{ ISFUNC, (Function *)0x0 },
|
582 |
|
|
{ ISFUNC, (Function *)0x0 },
|
583 |
|
|
{ ISFUNC, (Function *)0x0 },
|
584 |
|
|
{ ISFUNC, (Function *)0x0 },
|
585 |
|
|
{ ISFUNC, (Function *)0x0 },
|
586 |
|
|
{ ISFUNC, (Function *)0x0 },
|
587 |
|
|
{ ISFUNC, (Function *)0x0 },
|
588 |
|
|
{ ISFUNC, (Function *)0x0 },
|
589 |
|
|
{ ISFUNC, (Function *)0x0 },
|
590 |
|
|
{ ISFUNC, (Function *)0x0 },
|
591 |
|
|
{ ISFUNC, (Function *)0x0 },
|
592 |
|
|
{ ISFUNC, (Function *)0x0 },
|
593 |
|
|
{ ISFUNC, (Function *)0x0 },
|
594 |
|
|
{ ISFUNC, (Function *)0x0 },
|
595 |
|
|
{ ISFUNC, (Function *)0x0 },
|
596 |
|
|
{ ISFUNC, (Function *)0x0 },
|
597 |
|
|
{ ISFUNC, (Function *)0x0 },
|
598 |
|
|
{ ISFUNC, (Function *)0x0 },
|
599 |
|
|
{ ISFUNC, (Function *)0x0 },
|
600 |
|
|
{ ISFUNC, (Function *)0x0 },
|
601 |
|
|
{ ISFUNC, (Function *)0x0 },
|
602 |
|
|
{ ISFUNC, (Function *)0x0 },
|
603 |
|
|
{ ISFUNC, (Function *)0x0 },
|
604 |
|
|
{ ISFUNC, (Function *)0x0 }
|
605 |
|
|
#endif /* KEYMAP_SIZE > 128 */
|
606 |
|
|
};
|
607 |
|
|
|
608 |
|
|
KEYMAP_ENTRY_ARRAY emacs_ctlx_keymap = {
|
609 |
|
|
|
610 |
|
|
/* Control keys. */
|
611 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-@ */
|
612 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-a */
|
613 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-b */
|
614 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-c */
|
615 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-d */
|
616 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-e */
|
617 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-f */
|
618 |
|
|
{ ISFUNC, rl_abort }, /* Control-g */
|
619 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-h */
|
620 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-i */
|
621 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-j */
|
622 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-k */
|
623 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-l */
|
624 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-m */
|
625 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-n */
|
626 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-o */
|
627 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-p */
|
628 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-q */
|
629 |
|
|
{ ISFUNC, rl_re_read_init_file }, /* Control-r */
|
630 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-s */
|
631 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-t */
|
632 |
|
|
{ ISFUNC, rl_undo_command }, /* Control-u */
|
633 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-v */
|
634 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-w */
|
635 |
|
|
{ ISFUNC, rl_exchange_point_and_mark },/* Control-x */
|
636 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-y */
|
637 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-z */
|
638 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-[ */
|
639 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-\ */
|
640 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-] */
|
641 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-^ */
|
642 |
|
|
{ ISFUNC, (Function *)0x0 }, /* Control-_ */
|
643 |
|
|
|
644 |
|
|
/* The start of printing characters. */
|
645 |
|
|
{ ISFUNC, (Function *)0x0 }, /* SPACE */
|
646 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ! */
|
647 |
|
|
{ ISFUNC, (Function *)0x0 }, /* " */
|
648 |
|
|
{ ISFUNC, (Function *)0x0 }, /* # */
|
649 |
|
|
{ ISFUNC, (Function *)0x0 }, /* $ */
|
650 |
|
|
{ ISFUNC, (Function *)0x0 }, /* % */
|
651 |
|
|
{ ISFUNC, (Function *)0x0 }, /* & */
|
652 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ' */
|
653 |
|
|
{ ISFUNC, rl_start_kbd_macro }, /* ( */
|
654 |
|
|
{ ISFUNC, rl_end_kbd_macro }, /* ) */
|
655 |
|
|
{ ISFUNC, (Function *)0x0 }, /* * */
|
656 |
|
|
{ ISFUNC, (Function *)0x0 }, /* + */
|
657 |
|
|
{ ISFUNC, (Function *)0x0 }, /* , */
|
658 |
|
|
{ ISFUNC, (Function *)0x0 }, /* - */
|
659 |
|
|
{ ISFUNC, (Function *)0x0 }, /* . */
|
660 |
|
|
{ ISFUNC, (Function *)0x0 }, /* / */
|
661 |
|
|
|
662 |
|
|
/* Regular digits. */
|
663 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 0 */
|
664 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 1 */
|
665 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 2 */
|
666 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 3 */
|
667 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 4 */
|
668 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 5 */
|
669 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 6 */
|
670 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 7 */
|
671 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 8 */
|
672 |
|
|
{ ISFUNC, (Function *)0x0 }, /* 9 */
|
673 |
|
|
|
674 |
|
|
/* A little more punctuation. */
|
675 |
|
|
{ ISFUNC, (Function *)0x0 }, /* : */
|
676 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ; */
|
677 |
|
|
{ ISFUNC, (Function *)0x0 }, /* < */
|
678 |
|
|
{ ISFUNC, (Function *)0x0 }, /* = */
|
679 |
|
|
{ ISFUNC, (Function *)0x0 }, /* > */
|
680 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ? */
|
681 |
|
|
{ ISFUNC, (Function *)0x0 }, /* @ */
|
682 |
|
|
|
683 |
|
|
/* Uppercase alphabet. */
|
684 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* A */
|
685 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* B */
|
686 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* C */
|
687 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* D */
|
688 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* E */
|
689 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* F */
|
690 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* G */
|
691 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* H */
|
692 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* I */
|
693 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* J */
|
694 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* K */
|
695 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* L */
|
696 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* M */
|
697 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* N */
|
698 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* O */
|
699 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* P */
|
700 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Q */
|
701 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* R */
|
702 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* S */
|
703 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* T */
|
704 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* U */
|
705 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* V */
|
706 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* W */
|
707 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* X */
|
708 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Y */
|
709 |
|
|
{ ISFUNC, rl_do_lowercase_version }, /* Z */
|
710 |
|
|
|
711 |
|
|
/* Some more punctuation. */
|
712 |
|
|
{ ISFUNC, (Function *)0x0 }, /* [ */
|
713 |
|
|
{ ISFUNC, (Function *)0x0 }, /* \ */
|
714 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ] */
|
715 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ^ */
|
716 |
|
|
{ ISFUNC, (Function *)0x0 }, /* _ */
|
717 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ` */
|
718 |
|
|
|
719 |
|
|
/* Lowercase alphabet. */
|
720 |
|
|
{ ISFUNC, (Function *)0x0 }, /* a */
|
721 |
|
|
{ ISFUNC, (Function *)0x0 }, /* b */
|
722 |
|
|
{ ISFUNC, (Function *)0x0 }, /* c */
|
723 |
|
|
{ ISFUNC, (Function *)0x0 }, /* d */
|
724 |
|
|
{ ISFUNC, rl_call_last_kbd_macro }, /* e */
|
725 |
|
|
{ ISFUNC, (Function *)0x0 }, /* f */
|
726 |
|
|
{ ISFUNC, (Function *)0x0 }, /* g */
|
727 |
|
|
{ ISFUNC, (Function *)0x0 }, /* h */
|
728 |
|
|
{ ISFUNC, (Function *)0x0 }, /* i */
|
729 |
|
|
{ ISFUNC, (Function *)0x0 }, /* j */
|
730 |
|
|
{ ISFUNC, (Function *)0x0 }, /* k */
|
731 |
|
|
{ ISFUNC, (Function *)0x0 }, /* l */
|
732 |
|
|
{ ISFUNC, (Function *)0x0 }, /* m */
|
733 |
|
|
{ ISFUNC, (Function *)0x0 }, /* n */
|
734 |
|
|
{ ISFUNC, (Function *)0x0 }, /* o */
|
735 |
|
|
{ ISFUNC, (Function *)0x0 }, /* p */
|
736 |
|
|
{ ISFUNC, (Function *)0x0 }, /* q */
|
737 |
|
|
{ ISFUNC, (Function *)0x0 }, /* r */
|
738 |
|
|
{ ISFUNC, (Function *)0x0 }, /* s */
|
739 |
|
|
{ ISFUNC, (Function *)0x0 }, /* t */
|
740 |
|
|
{ ISFUNC, (Function *)0x0 }, /* u */
|
741 |
|
|
{ ISFUNC, (Function *)0x0 }, /* v */
|
742 |
|
|
{ ISFUNC, (Function *)0x0 }, /* w */
|
743 |
|
|
{ ISFUNC, (Function *)0x0 }, /* x */
|
744 |
|
|
{ ISFUNC, (Function *)0x0 }, /* y */
|
745 |
|
|
{ ISFUNC, (Function *)0x0 }, /* z */
|
746 |
|
|
|
747 |
|
|
/* Final punctuation. */
|
748 |
|
|
{ ISFUNC, (Function *)0x0 }, /* { */
|
749 |
|
|
{ ISFUNC, (Function *)0x0 }, /* | */
|
750 |
|
|
{ ISFUNC, (Function *)0x0 }, /* } */
|
751 |
|
|
{ ISFUNC, (Function *)0x0 }, /* ~ */
|
752 |
|
|
{ ISFUNC, rl_backward_kill_line }, /* RUBOUT */
|
753 |
|
|
|
754 |
|
|
#if KEYMAP_SIZE > 128
|
755 |
|
|
/* Undefined keys. */
|
756 |
|
|
{ ISFUNC, (Function *)0x0 },
|
757 |
|
|
{ ISFUNC, (Function *)0x0 },
|
758 |
|
|
{ ISFUNC, (Function *)0x0 },
|
759 |
|
|
{ ISFUNC, (Function *)0x0 },
|
760 |
|
|
{ ISFUNC, (Function *)0x0 },
|
761 |
|
|
{ ISFUNC, (Function *)0x0 },
|
762 |
|
|
{ ISFUNC, (Function *)0x0 },
|
763 |
|
|
{ ISFUNC, (Function *)0x0 },
|
764 |
|
|
{ ISFUNC, (Function *)0x0 },
|
765 |
|
|
{ ISFUNC, (Function *)0x0 },
|
766 |
|
|
{ ISFUNC, (Function *)0x0 },
|
767 |
|
|
{ ISFUNC, (Function *)0x0 },
|
768 |
|
|
{ ISFUNC, (Function *)0x0 },
|
769 |
|
|
{ ISFUNC, (Function *)0x0 },
|
770 |
|
|
{ ISFUNC, (Function *)0x0 },
|
771 |
|
|
{ ISFUNC, (Function *)0x0 },
|
772 |
|
|
{ ISFUNC, (Function *)0x0 },
|
773 |
|
|
{ ISFUNC, (Function *)0x0 },
|
774 |
|
|
{ ISFUNC, (Function *)0x0 },
|
775 |
|
|
{ ISFUNC, (Function *)0x0 },
|
776 |
|
|
{ ISFUNC, (Function *)0x0 },
|
777 |
|
|
{ ISFUNC, (Function *)0x0 },
|
778 |
|
|
{ ISFUNC, (Function *)0x0 },
|
779 |
|
|
{ ISFUNC, (Function *)0x0 },
|
780 |
|
|
{ ISFUNC, (Function *)0x0 },
|
781 |
|
|
{ ISFUNC, (Function *)0x0 },
|
782 |
|
|
{ ISFUNC, (Function *)0x0 },
|
783 |
|
|
{ ISFUNC, (Function *)0x0 },
|
784 |
|
|
{ ISFUNC, (Function *)0x0 },
|
785 |
|
|
{ ISFUNC, (Function *)0x0 },
|
786 |
|
|
{ ISFUNC, (Function *)0x0 },
|
787 |
|
|
{ ISFUNC, (Function *)0x0 },
|
788 |
|
|
{ ISFUNC, (Function *)0x0 },
|
789 |
|
|
{ ISFUNC, (Function *)0x0 },
|
790 |
|
|
{ ISFUNC, (Function *)0x0 },
|
791 |
|
|
{ ISFUNC, (Function *)0x0 },
|
792 |
|
|
{ ISFUNC, (Function *)0x0 },
|
793 |
|
|
{ ISFUNC, (Function *)0x0 },
|
794 |
|
|
{ ISFUNC, (Function *)0x0 },
|
795 |
|
|
{ ISFUNC, (Function *)0x0 },
|
796 |
|
|
{ ISFUNC, (Function *)0x0 },
|
797 |
|
|
{ ISFUNC, (Function *)0x0 },
|
798 |
|
|
{ ISFUNC, (Function *)0x0 },
|
799 |
|
|
{ ISFUNC, (Function *)0x0 },
|
800 |
|
|
{ ISFUNC, (Function *)0x0 },
|
801 |
|
|
{ ISFUNC, (Function *)0x0 },
|
802 |
|
|
{ ISFUNC, (Function *)0x0 },
|
803 |
|
|
{ ISFUNC, (Function *)0x0 },
|
804 |
|
|
{ ISFUNC, (Function *)0x0 },
|
805 |
|
|
{ ISFUNC, (Function *)0x0 },
|
806 |
|
|
{ ISFUNC, (Function *)0x0 },
|
807 |
|
|
{ ISFUNC, (Function *)0x0 },
|
808 |
|
|
{ ISFUNC, (Function *)0x0 },
|
809 |
|
|
{ ISFUNC, (Function *)0x0 },
|
810 |
|
|
{ ISFUNC, (Function *)0x0 },
|
811 |
|
|
{ ISFUNC, (Function *)0x0 },
|
812 |
|
|
{ ISFUNC, (Function *)0x0 },
|
813 |
|
|
{ ISFUNC, (Function *)0x0 },
|
814 |
|
|
{ ISFUNC, (Function *)0x0 },
|
815 |
|
|
{ ISFUNC, (Function *)0x0 },
|
816 |
|
|
{ ISFUNC, (Function *)0x0 },
|
817 |
|
|
{ ISFUNC, (Function *)0x0 },
|
818 |
|
|
{ ISFUNC, (Function *)0x0 },
|
819 |
|
|
{ ISFUNC, (Function *)0x0 },
|
820 |
|
|
{ ISFUNC, (Function *)0x0 },
|
821 |
|
|
{ ISFUNC, (Function *)0x0 },
|
822 |
|
|
{ ISFUNC, (Function *)0x0 },
|
823 |
|
|
{ ISFUNC, (Function *)0x0 },
|
824 |
|
|
{ ISFUNC, (Function *)0x0 },
|
825 |
|
|
{ ISFUNC, (Function *)0x0 },
|
826 |
|
|
{ ISFUNC, (Function *)0x0 },
|
827 |
|
|
{ ISFUNC, (Function *)0x0 },
|
828 |
|
|
{ ISFUNC, (Function *)0x0 },
|
829 |
|
|
{ ISFUNC, (Function *)0x0 },
|
830 |
|
|
{ ISFUNC, (Function *)0x0 },
|
831 |
|
|
{ ISFUNC, (Function *)0x0 },
|
832 |
|
|
{ ISFUNC, (Function *)0x0 },
|
833 |
|
|
{ ISFUNC, (Function *)0x0 },
|
834 |
|
|
{ ISFUNC, (Function *)0x0 },
|
835 |
|
|
{ ISFUNC, (Function *)0x0 },
|
836 |
|
|
{ ISFUNC, (Function *)0x0 },
|
837 |
|
|
{ ISFUNC, (Function *)0x0 },
|
838 |
|
|
{ ISFUNC, (Function *)0x0 },
|
839 |
|
|
{ ISFUNC, (Function *)0x0 },
|
840 |
|
|
{ ISFUNC, (Function *)0x0 },
|
841 |
|
|
{ ISFUNC, (Function *)0x0 },
|
842 |
|
|
{ ISFUNC, (Function *)0x0 },
|
843 |
|
|
{ ISFUNC, (Function *)0x0 },
|
844 |
|
|
{ ISFUNC, (Function *)0x0 },
|
845 |
|
|
{ ISFUNC, (Function *)0x0 },
|
846 |
|
|
{ ISFUNC, (Function *)0x0 },
|
847 |
|
|
{ ISFUNC, (Function *)0x0 },
|
848 |
|
|
{ ISFUNC, (Function *)0x0 },
|
849 |
|
|
{ ISFUNC, (Function *)0x0 },
|
850 |
|
|
{ ISFUNC, (Function *)0x0 },
|
851 |
|
|
{ ISFUNC, (Function *)0x0 },
|
852 |
|
|
{ ISFUNC, (Function *)0x0 },
|
853 |
|
|
{ ISFUNC, (Function *)0x0 },
|
854 |
|
|
{ ISFUNC, (Function *)0x0 },
|
855 |
|
|
{ ISFUNC, (Function *)0x0 },
|
856 |
|
|
{ ISFUNC, (Function *)0x0 },
|
857 |
|
|
{ ISFUNC, (Function *)0x0 },
|
858 |
|
|
{ ISFUNC, (Function *)0x0 },
|
859 |
|
|
{ ISFUNC, (Function *)0x0 },
|
860 |
|
|
{ ISFUNC, (Function *)0x0 },
|
861 |
|
|
{ ISFUNC, (Function *)0x0 },
|
862 |
|
|
{ ISFUNC, (Function *)0x0 },
|
863 |
|
|
{ ISFUNC, (Function *)0x0 },
|
864 |
|
|
{ ISFUNC, (Function *)0x0 },
|
865 |
|
|
{ ISFUNC, (Function *)0x0 },
|
866 |
|
|
{ ISFUNC, (Function *)0x0 },
|
867 |
|
|
{ ISFUNC, (Function *)0x0 },
|
868 |
|
|
{ ISFUNC, (Function *)0x0 },
|
869 |
|
|
{ ISFUNC, (Function *)0x0 },
|
870 |
|
|
{ ISFUNC, (Function *)0x0 },
|
871 |
|
|
{ ISFUNC, (Function *)0x0 },
|
872 |
|
|
{ ISFUNC, (Function *)0x0 },
|
873 |
|
|
{ ISFUNC, (Function *)0x0 },
|
874 |
|
|
{ ISFUNC, (Function *)0x0 },
|
875 |
|
|
{ ISFUNC, (Function *)0x0 },
|
876 |
|
|
{ ISFUNC, (Function *)0x0 },
|
877 |
|
|
{ ISFUNC, (Function *)0x0 },
|
878 |
|
|
{ ISFUNC, (Function *)0x0 },
|
879 |
|
|
{ ISFUNC, (Function *)0x0 },
|
880 |
|
|
{ ISFUNC, (Function *)0x0 },
|
881 |
|
|
{ ISFUNC, (Function *)0x0 },
|
882 |
|
|
{ ISFUNC, (Function *)0x0 },
|
883 |
|
|
{ ISFUNC, (Function *)0x0 }
|
884 |
|
|
#endif /* KEYMAP_SIZE > 128 */
|
885 |
|
|
};
|