1 /*
2 * keys.c: Does command line parsing, etc
3 *
4 * Written By Michael Sandrof
5 *
6 * Copyright (c) 1990 Michael Sandrof.
7 * Copyright (c) 1991, 1992 Troy Rollo.
8 * Copyright (c) 1992-2003 Matthew R. Green.
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in the
18 * documentation and/or other materials provided with the distribution.
19 * 3. The name of the author may not be used to endorse or promote products
20 * derived from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
23 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
30 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * $Id: keys.c,v 1.14 2009-07-10 17:50:53 f Exp $
35 */
36
37 #include "irc.h"
38
39 #include "output.h"
40 #include "keys.h"
41 #include "names.h"
42 #include "ircaux.h"
43 #include "window.h"
44 #include "edit.h"
45 #include "vars.h"
46 #include "translat.h"
47 #include "ircterm.h"
48 #include "input.h"
49 #include "screen.h"
50 #include "menu.h"
51
52 /**************************** PATCHED by Flier ******************************/
53 #include "myvars.h"
54
55 extern void InsertAutoReply _((u_int, char *));
56 extern void LastJoinerKick _((u_int, char *));
57 extern void AcceptLastChat _((u_int, char *));
58 extern void HandleTabNext _((u_int, char *));
59 extern void HandleTabPrev _((u_int, char *));
60 extern void PushLine _((u_int, char *));
61 extern void PushEmptyStack _((u_int, char *));
62 /****************************************************************************/
63
64 static int lookup_function _((char *, int *));
65 static u_char * display_key _((u_int));
66 static void show_binding _((u_int, int));
67 static int parse_key _((u_char *));
68 static void write_binding _((u_int, u_int, FILE *, int));
69 static void bind_it _((char *, char *, u_int, int));
70
71 /*
72 * lookup_function: looks up an irc function by name, and returns the
73 * number of functions that match the name, and sets where index points
74 * to to be the index of the (first) function found.
75 */
76 static int
lookup_function(name,func_index)77 lookup_function(name, func_index)
78 char *name;
79 int *func_index;
80 {
81 size_t len;
82 int cnt,
83 i;
84
85 if (name)
86 {
87 upper(name);
88 len = strlen(name);
89 cnt = 0;
90 *func_index = -1;
91 for (i = 0; i < NUMBER_OF_FUNCTIONS; i++)
92 {
93 if (strncmp(name, key_names[i].name, len) == 0)
94 {
95 cnt++;
96 if (*func_index == -1)
97 *func_index = i;
98 }
99 }
100 if (*func_index == -1)
101 return (0);
102 if (strcmp(name, key_names[*func_index].name) == 0)
103 return (1);
104 else
105 return (cnt);
106 }
107 return (0);
108 }
109
110 /*
111 * display_key: converts the character c to a displayable form and returns
112 * it. Very simple indeed
113 */
114 static u_char *
display_key(c)115 display_key(c)
116 u_int c;
117 {
118 static u_char key[3];
119
120 key[2] = (u_char) 0;
121 if (c < 32)
122 {
123 key[0] = '^';
124 key[1] = c + 64;
125 }
126 else if (c == '\177')
127 {
128 key[0] = '^';
129 key[1] = '?';
130 }
131 else
132 {
133 key[0] = c;
134 key[1] = (u_char) 0;
135 }
136 return (key);
137 }
138
139 /*
140 * show_binding: given the ascii value of a key and a meta key status (1 for
141 * meta1 keys, 2 for meta2 keys, anything else for normal keys), this will
142 * display the key binding for the key in a nice way
143 */
144 static void
show_binding(c,m)145 show_binding(c, m)
146 u_int c;
147 int m;
148 {
149 KeyMap *map;
150 char *meta_str;
151
152 switch (m)
153 {
154 case 1:
155 map = meta1_keys;
156 meta_str = "META1-";
157 break;
158 case 2:
159 map = meta2_keys;
160 meta_str = "META2-";
161 break;
162 case 3:
163 map = meta3_keys;
164 meta_str = "META3-";
165 break;
166 case 4:
167 map = meta4_keys;
168 meta_str = "META4-";
169 break;
170 case 5:
171 map = meta5_keys;
172 meta_str = "META5-";
173 break;
174 #ifndef LITE
175 case 6:
176 map = meta6_keys;
177 meta_str = "META6-";
178 break;
179 case 7:
180 map = meta7_keys;
181 meta_str = "META7-";
182 break;
183 case 8:
184 map = meta8_keys;
185 meta_str = "META8-";
186 break;
187 #endif
188 default:
189 map = keys;
190 meta_str = empty_string;
191 break;
192 }
193 say("%s%s is bound to %s %s", meta_str, display_key(c),
194 key_names[map[c].index].name, (map[c].stuff &&
195 (*(map[c].stuff))) ? map[c].stuff : empty_string);
196 }
197
198 /*
199 * parse_key: converts a key string. Accepts any key, or ^c where c is any
200 * key (representing control characters), or META1- or META2- for meta1 or
201 * meta2 keys respectively. The string itself is converted to true ascii
202 * value, thus "^A" is converted to 1, etc. Meta key info is removed and
203 * returned as the function value, 0 for no meta key, 1 for meta1, and 2 for
204 * meta2. Thus, "META1-a" is converted to "a" and a 1 is returned.
205 * Furthermore, if ^X is bound to META2_CHARACTER, and "^Xa" is passed to
206 * parse_key(), it is converted to "a" and 2 is returned. Do ya understand
207 * this?
208 */
209 static int
parse_key(key_str)210 parse_key(key_str)
211 u_char *key_str;
212 {
213 u_char *ptr1, *ptr2;
214 u_char c;
215 int m = 0;
216
217 ptr2 = ptr1 = key_str;
218 while (*ptr1)
219 {
220 if (*ptr1 == '^')
221 {
222 ptr1++;
223 switch (*ptr1)
224 {
225 case 0:
226 *(ptr2++) = '^';
227 break;
228 case '?':
229 *(ptr2++) = '\177';
230 ptr1++;
231 break;
232 default:
233 c = *(ptr1++);
234 if (islower(c))
235 c = toupper(c);
236 if (c < 64)
237 {
238 say("Illegal key sequence: ^%c", c);
239 return (-1);
240 }
241 *(ptr2++) = c - 64;
242 }
243 }
244 else
245 *(ptr2++) = *(ptr1++);
246 }
247 *ptr2 = (char) 0;
248 if ((int) strlen((char *) key_str) > 1)
249 {
250 char *cmd = NULL;
251
252 malloc_strcpy(&cmd, (char *)key_str);
253 upper(cmd);
254 if (strncmp(cmd, "META1-", 6) == 0)
255 {
256 /**************************** PATCHED by Flier ******************************/
257 /*strcpy((char *) key_str, (char *) key_str + 6);*/
258 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
259 /****************************************************************************/
260 m = 1;
261 }
262 else if (strncmp(cmd, "META2-", 6) == 0)
263 {
264 /**************************** PATCHED by Flier ******************************/
265 /*strcpy((char *) key_str, (char *) key_str + 6);*/
266 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
267 /****************************************************************************/
268 m = 2;
269 }
270 else if (strncmp(cmd, "META3-", 6) == 0)
271 {
272 /**************************** PATCHED by Flier ******************************/
273 /*strcpy((char *) key_str, (char *) key_str + 6);*/
274 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
275 /****************************************************************************/
276 m = 3;
277 }
278 else if (strncmp(cmd, "META4-", 6) == 0)
279 {
280 /**************************** PATCHED by Flier ******************************/
281 /*strcpy((char *) key_str, (char *) key_str + 6);*/
282 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
283 /****************************************************************************/
284 m = 4;
285 }
286 else if (strncmp(cmd, "META5-", 6) == 0)
287 {
288 /**************************** PATCHED by Flier ******************************/
289 /*strcpy((char *) key_str, (char *) key_str + 6);*/
290 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
291 /****************************************************************************/
292 m = 5;
293 }
294 else if (strncmp(cmd, "META6-", 6) == 0)
295 {
296 /**************************** PATCHED by Flier ******************************/
297 /*strcpy((char *) key_str, (char *) key_str + 6);*/
298 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
299 /****************************************************************************/
300 m = 6;
301 }
302 else if (strncmp(cmd, "META7-", 6) == 0)
303 {
304 /**************************** PATCHED by Flier ******************************/
305 /*strcpy((char *) key_str, (char *) key_str + 6);*/
306 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
307 /****************************************************************************/
308 m = 7;
309 }
310 else if (strncmp(cmd, "META8-", 6) == 0)
311 {
312 /**************************** PATCHED by Flier ******************************/
313 /*strcpy((char *) key_str, (char *) key_str + 6);*/
314 memmove(key_str, key_str + 6, strlen(key_str + 6) + 1);
315 /****************************************************************************/
316 m = 8;
317 }
318 else if (keys[(u_char) *key_str].index == META1_CHARACTER)
319 {
320 m = 1;
321 /**************************** PATCHED by Flier ******************************/
322 /*strcpy((char *) key_str, (char *) key_str + 1);*/
323 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
324 /****************************************************************************/
325 }
326 else if (keys[(u_char) *key_str].index == META2_CHARACTER)
327 {
328 m = 2;
329 /**************************** PATCHED by Flier ******************************/
330 /*strcpy((char *) key_str, (char *) key_str + 1);*/
331 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
332 /****************************************************************************/
333 }
334 else if (keys[(u_char) *key_str].index == META3_CHARACTER)
335 {
336 m = 3;
337 /**************************** PATCHED by Flier ******************************/
338 /*strcpy((char *) key_str, (char *) key_str + 1);*/
339 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
340 /****************************************************************************/
341 }
342 else if (keys[(u_char) *key_str].index == META4_CHARACTER)
343 {
344 m = 4;
345 /**************************** PATCHED by Flier ******************************/
346 /*strcpy((char *) key_str, (char *) key_str + 1);*/
347 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
348 /****************************************************************************/
349 }
350 else if (keys[(u_char) *key_str].index == META5_CHARACTER)
351 {
352 m = 5;
353 /**************************** PATCHED by Flier ******************************/
354 /*strcpy((char *) key_str, (char *) key_str + 1);*/
355 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
356 /****************************************************************************/
357 }
358 else if (keys[(u_char) *key_str].index == META6_CHARACTER)
359 {
360 m = 6;
361 /**************************** PATCHED by Flier ******************************/
362 /*strcpy((char *) key_str, (char *) key_str + 1);*/
363 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
364 /****************************************************************************/
365 }
366 else if (keys[(u_char) *key_str].index == META7_CHARACTER)
367 {
368 m = 7;
369 /**************************** PATCHED by Flier ******************************/
370 /*strcpy((char *) key_str, (char *) key_str + 1);*/
371 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
372 /****************************************************************************/
373 }
374 else if (keys[(u_char) *key_str].index == META8_CHARACTER)
375 {
376 m = 8;
377 /**************************** PATCHED by Flier ******************************/
378 /*strcpy((char *) key_str, (char *) key_str + 1);*/
379 memmove(key_str, key_str + 1, strlen(key_str + 1) + 1);
380 /****************************************************************************/
381 }
382 else
383 {
384 say("Illegal key sequence: %s is not a meta-key", display_key(*key_str));
385 return (-1);
386 }
387 new_free(&cmd);
388 }
389 return (m);
390 }
391
392 /*
393 * bind_it: does the actually binding of the function to the key with the
394 * given meta modifier
395 */
396 static void
bind_it(function,string,key,m)397 bind_it(function, string, key, m)
398 char *function,
399 *string;
400 u_int key;
401 int m;
402 {
403 KeyMap *km;
404 int cnt,
405 func_index,
406 i;
407
408 switch (m)
409 {
410 case 0:
411 km = keys;
412 break;
413 case 1:
414 km = meta1_keys;
415 break;
416 case 2:
417 km = meta2_keys;
418 break;
419 case 3:
420 km = meta3_keys;
421 break;
422 case 4:
423 km = meta4_keys;
424 break;
425 case 5:
426 km = meta5_keys;
427 break;
428 #ifndef LITE
429 case 6:
430 km = meta6_keys;
431 break;
432 case 7:
433 km = meta7_keys;
434 break;
435 case 8:
436 km = meta8_keys;
437 break;
438 #endif
439 default:
440 km = keys;
441 }
442 if (*string == (char) 0)
443 string = (char *) 0;
444 switch (cnt = lookup_function(function, &func_index))
445 {
446 case 0:
447 say("No such function: %s", function);
448 break;
449 case 1:
450 if (! km[key].changed)
451 {
452 if ((km[key].index != func_index) ||
453 ((string == (char *) 0) &&
454 km[key].stuff) ||
455 ((km[key].stuff == (char *) 0) &&
456 string) || (string && km[key].stuff &&
457 strcmp(km[key].stuff,string)))
458 /**************************** PATCHED by Flier ******************************/
459 /*km[key].changed = 1;*/
460 if (usersloaded) km[key].changed = 1;
461 /****************************************************************************/
462 }
463 km[key].index = func_index;
464 km[key].global = loading_global;
465 malloc_strcpy(&(km[key].stuff), string);
466 /**************************** PATCHED by Flier ******************************/
467 /*show_binding(key, m);*/
468 if (usersloaded) show_binding(key, m);
469 /****************************************************************************/
470 break;
471 default:
472 say("Ambiguous function name: %s", function);
473 for (i = 0; i < cnt; i++, func_index++)
474 put_it("%s", key_names[func_index].name);
475 break;
476 }
477 }
478
479 /* parsekeycmd: does the PARSEKEY command. */
480 #ifndef LITE
481 void
parsekeycmd(command,args,subargs)482 parsekeycmd(command, args, subargs)
483 char *command,
484 *args,
485 *subargs;
486 {
487 int i;
488 char *arg;
489
490 if ((arg = next_arg(args, &args)) != NULL)
491 {
492 switch (lookup_function(arg, &i))
493 {
494 case 0:
495 say("No such function %s", arg);
496 return;
497 case 1:
498 key_names[i].func(0, args);
499 break;
500 default:
501 say("Ambigious function %s", arg);
502 break;
503 }
504 }
505 }
506 #endif
507
508 /*
509 * bindcmd: the bind command, takes a key sequence followed by a function
510 * name followed by option arguments (used depending on the function) and
511 * binds a key. If no function is specified, the current binding for that
512 * key is shown
513 */
514 /*ARGSUSED*/
515 void
bindcmd(command,args,subargs)516 bindcmd(command, args, subargs)
517 char *command,
518 *args,
519 *subargs;
520 {
521 u_char *key;
522 char *function;
523 int m;
524 /**************************** PATCHED by Flier ******************************/
525 char tmpbuf[mybufsize / 64];
526 /****************************************************************************/
527
528 if ((key = (unsigned char *) next_arg(args, &args)) != NULL)
529 {
530 /**************************** PATCHED by Flier ******************************/
531 if (!my_stricmp(key, "F1")) {
532 strcpy(tmpbuf, "meta5-A");
533 key = tmpbuf;
534 }
535 else if (!my_stricmp(key, "F2")) {
536 strcpy(tmpbuf, "meta5-B");
537 key = tmpbuf;
538 }
539 else if (!my_stricmp(key, "F3")) {
540 strcpy(tmpbuf, "meta5-C");
541 key = tmpbuf;
542 }
543 else if (!my_stricmp(key, "F4")) {
544 strcpy(tmpbuf, "meta5-D");
545 key = tmpbuf;
546 }
547 else if (!my_stricmp(key, "F5")) {
548 strcpy(tmpbuf, "meta5-E");
549 key = tmpbuf;
550 }
551 else if (!my_stricmp(key, "F6")) {
552 strcpy(tmpbuf, "meta5-7");
553 key = tmpbuf;
554 }
555 else if (!my_stricmp(key, "F7")) {
556 strcpy(tmpbuf, "meta5-8");
557 key = tmpbuf;
558 }
559 else if (!my_stricmp(key, "F8")) {
560 strcpy(tmpbuf, "meta5-9");
561 key = tmpbuf;
562 }
563 else if (!my_stricmp(key, "F9")) {
564 strcpy(tmpbuf, "meta5-0");
565 key = tmpbuf;
566 }
567 else if (!my_stricmp(key, "F10")) {
568 strcpy(tmpbuf, "meta5-1");
569 key = tmpbuf;
570 }
571 else if (!my_stricmp(key, "F11")) {
572 strcpy(tmpbuf, "meta5-3");
573 key = tmpbuf;
574 }
575 else if (!my_stricmp(key, "F12")) {
576 strcpy(tmpbuf, "meta5-4");
577 key = tmpbuf;
578 }
579 /****************************************************************************/
580 if ((m = parse_key(key)) == -1)
581 return;
582 if ((int) strlen((char *) key) > 1)
583 {
584 say("Key sequences may not contain more than two keys");
585 return;
586 }
587 if ((function = next_arg(args, &args)) != NULL)
588 bind_it(function, args, *key, m);
589 else
590 show_binding(*key, m);
591 }
592 else
593 {
594 u_int i;
595 int charsize = charset_size();
596
597 for (i = 0; i < charsize; i++)
598 {
599 if ((keys[i].index != NOTHING) && (keys[i].index !=
600 SELF_INSERT))
601 show_binding(i, 0);
602 }
603 for (i = 0; i < charsize; i++)
604 {
605 if ((meta1_keys[i].index != NOTHING) &&
606 (meta1_keys[i].index != SELF_INSERT))
607 show_binding(i, 1);
608 }
609 for (i = 0; i < charsize; i++)
610 {
611 if ((meta2_keys[i].index != NOTHING) &&
612 (meta2_keys[i].index != SELF_INSERT))
613 show_binding(i, 2);
614 }
615 for (i = 0; i < charsize; i++)
616 {
617 if ((meta3_keys[i].index != NOTHING) &&
618 (meta3_keys[i].index != SELF_INSERT))
619 show_binding(i, 3);
620 }
621 for (i = 0; i < charsize; i++)
622 {
623 if ((meta4_keys[i].index != NOTHING) &&
624 (meta4_keys[i].index != SELF_INSERT))
625 show_binding(i, 4);
626 }
627 for (i = 0; i < charsize; i++)
628 {
629 if ((meta5_keys[i].index != NOTHING) &&
630 (meta5_keys[i].index != SELF_INSERT))
631 show_binding(i, 5);
632 }
633 #ifndef LITE
634 for (i = 0; i < charsize; i++)
635 {
636 if ((meta6_keys[i].index != NOTHING) &&
637 (meta6_keys[i].index != SELF_INSERT))
638 show_binding(i, 6);
639 }
640 for (i = 0; i < charsize; i++)
641 {
642 if ((meta7_keys[i].index != NOTHING) &&
643 (meta7_keys[i].index != SELF_INSERT))
644 show_binding(i, 7);
645 }
646 for (i = 0; i < charsize; i++)
647 {
648 if ((meta8_keys[i].index != NOTHING) &&
649 (meta8_keys[i].index != SELF_INSERT))
650 show_binding(i, 8);
651 }
652 #endif
653 }
654 }
655
656 /*
657 * rbindcmd: does the rbind command. you give it a string that something
658 * is bound to and it tells you all the things that are bound to that
659 * functions
660 */
661 #ifndef LITE
662 void
rbindcmd(command,args,subargs)663 rbindcmd(command, args, subargs)
664 char *command,
665 *args,
666 *subargs;
667 {
668 int f;
669 char *arg;
670
671 if ((arg = next_arg(args, &args)) != NULL)
672 {
673 u_int i;
674 int charsize = charset_size();
675
676 switch (lookup_function(arg, &f))
677 {
678 case 0:
679 say("No such function %s", arg);
680 return;
681
682 case 1:
683 break;
684
685 default:
686 say("Ambigious function %s", arg);
687 return;
688 }
689
690 for (i = 0; i < charsize; i++)
691 if (f == keys[i].index)
692 show_binding(i, 0);
693 for (i = 0; i < charsize; i++)
694 if (f == meta1_keys[i].index)
695 show_binding(i, 1);
696 for (i = 0; i < charsize; i++)
697 if (f == meta2_keys[i].index)
698 show_binding(i, 2);
699 for (i = 0; i < charsize; i++)
700 if (f == meta3_keys[i].index)
701 show_binding(i, 3);
702 for (i = 0; i < charsize; i++)
703 if (f == meta4_keys[i].index)
704 show_binding(i, 4);
705 for (i = 0; i < charsize; i++)
706 if (f == meta5_keys[i].index)
707 show_binding(i, 5);
708 #ifndef LITE
709 for (i = 0; i < charsize; i++)
710 if (f == meta6_keys[i].index)
711 show_binding(i, 6);
712 for (i = 0; i < charsize; i++)
713 if (f == meta7_keys[i].index)
714 show_binding(i, 7);
715 for (i = 0; i < charsize; i++)
716 if (f == meta8_keys[i].index)
717 show_binding(i, 8);
718 #endif
719 }
720 }
721 #endif
722
723 void (*
724 get_send_line _((void))) _((u_int, char *))
725 {
726 return (void (*) _((u_int, char *))) key_names[SEND_LINE].func;
727 }
728
729 /*
730 * change_send_line: Allows you to change the everything bound to SENDLINE in
731 * one fell swoop. Used by the various functions that gather input using the
732 * normal irc interface but dont wish to parse it and send it to the server.
733 * Sending NULL resets it to send_line()
734 */
735 void
736 change_send_line(func)
737 void (*func) _((u_int, char *));
738 {
739 if (func)
740 key_names[SEND_LINE].func = func;
741 else
742 key_names[SEND_LINE].func = send_line;
743 }
744
745 /*
746 * type: The TYPE command. This parses the given string and treats each
747 * character as tho it were typed in by the user. Thus key bindings are used
748 * for each character parsed. Special case characters are control character
749 * sequences, specified by a ^ follow by a legal control key. Thus doing
750 * "/TYPE ^B" will be as tho ^B were hit at the keyboard, probably moving the
751 * cursor backward one character.
752 */
753 /*ARGSUSED*/
754 #ifndef LITE
755 void
typecmd(command,args,subargs)756 typecmd(command, args, subargs)
757 char *command,
758 *args,
759 *subargs;
760 {
761 int c;
762 char key;
763
764 while (*args)
765 {
766 if (*args == '^')
767 {
768 switch (*(++args))
769 {
770 case '?':
771 key = '\177';
772 args++;
773 break;
774 default:
775 c = *(args++);
776 if (islower(c))
777 c = toupper(c);
778 if (c < 64)
779 {
780 say("Illegal key sequence: ^%c", c);
781 return;
782 }
783 key = c - 64;
784 break;
785 }
786 }
787 else if (*args == '\\')
788 {
789 key = *++args;
790 args++;
791 }
792 else
793 key = *(args++);
794 edit_char((u_int)key);
795 }
796 }
797 #endif
798
799 /* The string values for these *MUST* be in ALL CAPITALS */
800 KeyMapNames key_names[] =
801 {
802 { "BACKSPACE", input_backspace },
803 { "BACKWARD_CHARACTER", backward_character },
804 { "BACKWARD_HISTORY", backward_history },
805 { "BACKWARD_WORD", input_backward_word },
806 { "BEGINNING_OF_LINE", input_beginning_of_line },
807 { "CLEAR_SCREEN", irc_clear_screen },
808 { "COMMAND_COMPLETION", command_completion },
809 { "DELETE_CHARACTER", input_delete_character },
810 { "DELETE_NEXT_WORD", input_delete_next_word },
811 { "DELETE_PREVIOUS_WORD", input_delete_previous_word },
812 { "END_OF_LINE", input_end_of_line },
813 { "ENTER_DIGRAPH", enter_digraph },
814 #ifdef LITE
815 { "ENTER_MENU", NULL },
816 #else
817 { "ENTER_MENU", enter_menu },
818 #endif
819 { "ERASE_LINE", input_clear_line },
820 { "ERASE_TO_BEG_OF_LINE", input_clear_to_bol },
821 { "ERASE_TO_END_OF_LINE", input_clear_to_eol },
822 { "FORWARD_CHARACTER", forward_character },
823 { "FORWARD_HISTORY", forward_history },
824 { "FORWARD_WORD", input_forward_word },
825 { "META1_CHARACTER", meta1_char },
826 { "META2_CHARACTER", meta2_char },
827 { "META3_CHARACTER", meta3_char },
828 { "META4_CHARACTER", meta4_char },
829 { "META5_CHARACTER", meta5_char },
830 #ifdef LITE
831 { "META6_CHARACTER", NULL },
832 { "META7_CHARACTER", NULL },
833 { "META8_CHARACTER", NULL },
834 #else
835 { "META6_CHARACTER", meta6_char },
836 { "META7_CHARACTER", meta7_char },
837 { "META8_CHARACTER", meta8_char },
838 #endif
839 { "NEXT_WINDOW", next_window },
840 { "NOTHING", NULL },
841 { "PARSE_COMMAND", parse_text },
842 { "PREVIOUS_WINDOW", previous_window },
843 { "QUIT_IRC", irc_quit },
844 { "QUOTE_CHARACTER", quote_char },
845 { "REFRESH_INPUTLINE", refresh_inputline },
846 { "REFRESH_SCREEN", refresh_screen },
847 { "SCROLL_BACKWARD", scrollback_backwards },
848 { "SCROLL_END", scrollback_end },
849 { "SCROLL_FORWARD", scrollback_forwards },
850 { "SCROLL_START", scrollback_start },
851 { "SELF_INSERT", input_add_character },
852 { "SEND_LINE", send_line },
853 { "STOP_IRC", term_pause },
854 { "SWAP_LAST_WINDOW", swap_last_window },
855 { "SWAP_NEXT_WINDOW", swap_next_window },
856 { "SWAP_PREVIOUS_WINDOW", swap_previous_window },
857 { "SWITCH_CHANNELS", switch_channels },
858 { "TOGGLE_INSERT_MODE", toggle_insert_mode },
859 { "TOGGLE_STOP_SCREEN", toggle_stop_screen },
860 { "TRANSPOSE_CHARACTERS", input_transpose_characters },
861 { "TYPE_TEXT", type_text },
862 { "UNSTOP_ALL_WINDOWS", unstop_all_windows },
863 /**************************** PATCHED by Flier ******************************/
864 /*{ "YANK_FROM_CUTBUFFER", input_yank_cut_buffer }*/
865 { "YANK_FROM_CUTBUFFER", input_yank_cut_buffer },
866 { "INSERT_AUTOREPLY", InsertAutoReply },
867 { "LASTJOINER_KICK", LastJoinerKick },
868 { "ACCEPT_LAST_CHAT", AcceptLastChat },
869 { "INSERT_TABKEY_NEXT", HandleTabNext },
870 { "INSERT_TABKEY_PREV", HandleTabPrev },
871 { "PUSH_LINE", PushLine },
872 { "PUSH_EMPTY_STACK", PushEmptyStack }
873 /****************************************************************************/
874 };
875
876 KeyMap keys[] =
877 {
878 { SELF_INSERT, 0, 0, (char *) 0 }, /* 0 */
879 { BEGINNING_OF_LINE, 0, 0, (char *) 0 },
880 /**************************** PATCHED by Flier ******************************/
881 /*{ BACKWARD_CHARACTER, 0, 0, (char *) 0 },*/
882 { SELF_INSERT, 0, 0, (char *) 0 },
883 /****************************************************************************/
884 { QUIT_IRC, 0, 0, (char *) 0 },
885 { DELETE_CHARACTER, 0, 0, (char *) 0 },
886 { END_OF_LINE, 0, 0, (char *) 0 },
887 { FORWARD_CHARACTER, 0, 0, (char *) 0 },
888 { SELF_INSERT, 0, 0, (char *) 0 },
889
890 { BACKSPACE, 0, 0, (char *) 0 }, /* 8 */
891 /**************************** PATCHED by Flier ******************************/
892 /*{ TOGGLE_INSERT_MODE, 0, 0, (char *) 0 },*/
893 { INSERT_TABKEY_NEXT, 0, 0, (char *) 0 },
894 /****************************************************************************/
895 { SEND_LINE, 0, 0, (char *) 0 },
896 /**************************** PATCHED by Flier ******************************/
897 /*{ ERASE_TO_END_OF_LINE, 0, 0, (char *) 0 },*/
898 { LASTJOINER_KICK, 0, 0, (char *) 0 },
899 /****************************************************************************/
900 { REFRESH_SCREEN, 0, 0, (char *) 0 },
901 { SEND_LINE, 0, 0, (char *) 0 },
902 /**************************** PATCHED by Flier ******************************/
903 /*{ FORWARD_HISTORY, 0, 0, (char *) 0 },*/
904 { ACCEPT_LAST_CHAT, 0, 0, (char *) 0 },
905 /****************************************************************************/
906 { SELF_INSERT, 0, 0, (char *) 0 },
907
908 { BACKWARD_HISTORY, 0, 0, (char *) 0 }, /* 16 */
909 { QUOTE_CHARACTER, 0, 0, (char *) 0 },
910 /**************************** PATCHED by Flier ******************************/
911 /*{ ENTER_MENU, 0, 0, (char *) 0 },*/
912 { INSERT_AUTOREPLY, 0, 0, (char *) 0 },
913 /****************************************************************************/
914 { TOGGLE_STOP_SCREEN, 0, 0, (char *) 0 },
915 /**************************** Patched by Flier ******************************/
916 /*{ TRANSPOSE_CHARACTERS, 0, 0, (char *) 0 },*/
917 { INSERT_TABKEY_NEXT, 0, 0, (char *) 0 },
918 /****************************************************************************/
919 { ERASE_TO_BEG_OF_LINE, 0, 0, (char *) 0 },
920 { SELF_INSERT, 0, 0, (char *) 0 },
921 /**************************** PATCHED by Flier ******************************/
922 /*{ SELF_INSERT, 0, 0, (char *) 0 },*/
923 { META3_CHARACTER, 0, 0, (char *) 0 },
924 /****************************************************************************/
925
926 /**************************** PATCHED by Flier ******************************/
927 /*{ META2_CHARACTER, 0, 0, (char *) 0 },*/ /* 24 */
928 { SWITCH_CHANNELS, 0, 0, (char *) 0 },
929 /****************************************************************************/
930 { YANK_FROM_CUTBUFFER, 0, 0, (char *) 0 },
931 /* And I moved STOP_IRC to META1 26 */
932 /**************************** PATCHED by Flier ******************************/
933 /*{ ENTER_DIGRAPH, 0, 0, (char *) 0 },*/
934 #ifndef SZ32
935 { STOP_IRC, 0, 0, (char *) 0 },
936 #else
937 { NOTHING, 0, 0, (char *) 0 },
938 #endif
939 /****************************************************************************/
940 { META1_CHARACTER, 0, 0, (char *) 0 },
941 { SELF_INSERT, 0, 0, (char *) 0 },
942 { SELF_INSERT, 0, 0, (char *) 0 },
943 { SELF_INSERT, 0, 0, (char *) 0 },
944 { SELF_INSERT, 0, 0, (char *) 0 },
945
946 { SELF_INSERT, 0, 0, (char *) 0 }, /* 32 */
947 { SELF_INSERT, 0, 0, (char *) 0 },
948 { SELF_INSERT, 0, 0, (char *) 0 },
949 { SELF_INSERT, 0, 0, (char *) 0 },
950 { SELF_INSERT, 0, 0, (char *) 0 },
951 { SELF_INSERT, 0, 0, (char *) 0 },
952 { SELF_INSERT, 0, 0, (char *) 0 },
953 { SELF_INSERT, 0, 0, (char *) 0 },
954
955 { SELF_INSERT, 0, 0, (char *) 0 }, /* 40 */
956 { SELF_INSERT, 0, 0, (char *) 0 },
957 { SELF_INSERT, 0, 0, (char *) 0 },
958 { SELF_INSERT, 0, 0, (char *) 0 },
959 { SELF_INSERT, 0, 0, (char *) 0 },
960 { SELF_INSERT, 0, 0, (char *) 0 },
961 { SELF_INSERT, 0, 0, (char *) 0 },
962 { SELF_INSERT, 0, 0, (char *) 0 },
963
964 { SELF_INSERT, 0, 0, (char *) 0 }, /* 48 */
965 { SELF_INSERT, 0, 0, (char *) 0 },
966 { SELF_INSERT, 0, 0, (char *) 0 },
967 { SELF_INSERT, 0, 0, (char *) 0 },
968 { SELF_INSERT, 0, 0, (char *) 0 },
969 { SELF_INSERT, 0, 0, (char *) 0 },
970 { SELF_INSERT, 0, 0, (char *) 0 },
971 { SELF_INSERT, 0, 0, (char *) 0 },
972
973 { SELF_INSERT, 0, 0, (char *) 0 }, /* 56 */
974 { SELF_INSERT, 0, 0, (char *) 0 },
975 { SELF_INSERT, 0, 0, (char *) 0 },
976 { SELF_INSERT, 0, 0, (char *) 0 },
977 { SELF_INSERT, 0, 0, (char *) 0 },
978 { SELF_INSERT, 0, 0, (char *) 0 },
979 { SELF_INSERT, 0, 0, (char *) 0 },
980 { SELF_INSERT, 0, 0, (char *) 0 },
981
982 { SELF_INSERT, 0, 0, (char *) 0 }, /* 64 */
983 { SELF_INSERT, 0, 0, (char *) 0 },
984 { SELF_INSERT, 0, 0, (char *) 0 },
985 { SELF_INSERT, 0, 0, (char *) 0 },
986 { SELF_INSERT, 0, 0, (char *) 0 },
987 { SELF_INSERT, 0, 0, (char *) 0 },
988 { SELF_INSERT, 0, 0, (char *) 0 },
989 { SELF_INSERT, 0, 0, (char *) 0 },
990
991 { SELF_INSERT, 0, 0, (char *) 0 }, /* 72 */
992 { SELF_INSERT, 0, 0, (char *) 0 },
993 { SELF_INSERT, 0, 0, (char *) 0 },
994 { SELF_INSERT, 0, 0, (char *) 0 },
995 { SELF_INSERT, 0, 0, (char *) 0 },
996 { SELF_INSERT, 0, 0, (char *) 0 },
997 { SELF_INSERT, 0, 0, (char *) 0 },
998 { SELF_INSERT, 0, 0, (char *) 0 },
999
1000 { SELF_INSERT, 0, 0, (char *) 0 }, /* 80 */
1001 { SELF_INSERT, 0, 0, (char *) 0 },
1002 { SELF_INSERT, 0, 0, (char *) 0 },
1003 { SELF_INSERT, 0, 0, (char *) 0 },
1004 { SELF_INSERT, 0, 0, (char *) 0 },
1005 { SELF_INSERT, 0, 0, (char *) 0 },
1006 { SELF_INSERT, 0, 0, (char *) 0 },
1007 { SELF_INSERT, 0, 0, (char *) 0 },
1008
1009 { SELF_INSERT, 0, 0, (char *) 0 }, /* 88 */
1010 { SELF_INSERT, 0, 0, (char *) 0 },
1011 { SELF_INSERT, 0, 0, (char *) 0 },
1012 { SELF_INSERT, 0, 0, (char *) 0 },
1013 { SELF_INSERT, 0, 0, (char *) 0 },
1014 { SELF_INSERT, 0, 0, (char *) 0 },
1015 { SELF_INSERT, 0, 0, (char *) 0 },
1016 { SELF_INSERT, 0, 0, (char *) 0 },
1017
1018 { SELF_INSERT, 0, 0, (char *) 0 }, /* 96 */
1019 { SELF_INSERT, 0, 0, (char *) 0 },
1020 { SELF_INSERT, 0, 0, (char *) 0 },
1021 { SELF_INSERT, 0, 0, (char *) 0 },
1022 { SELF_INSERT, 0, 0, (char *) 0 },
1023 { SELF_INSERT, 0, 0, (char *) 0 },
1024 { SELF_INSERT, 0, 0, (char *) 0 },
1025 { SELF_INSERT, 0, 0, (char *) 0 },
1026
1027 { SELF_INSERT, 0, 0, (char *) 0 }, /* 104 */
1028 { SELF_INSERT, 0, 0, (char *) 0 },
1029 { SELF_INSERT, 0, 0, (char *) 0 },
1030 { SELF_INSERT, 0, 0, (char *) 0 },
1031 { SELF_INSERT, 0, 0, (char *) 0 },
1032 { SELF_INSERT, 0, 0, (char *) 0 },
1033 { SELF_INSERT, 0, 0, (char *) 0 },
1034 { SELF_INSERT, 0, 0, (char *) 0 },
1035
1036 { SELF_INSERT, 0, 0, (char *) 0 }, /* 112 */
1037 { SELF_INSERT, 0, 0, (char *) 0 },
1038 { SELF_INSERT, 0, 0, (char *) 0 },
1039 { SELF_INSERT, 0, 0, (char *) 0 },
1040 { SELF_INSERT, 0, 0, (char *) 0 },
1041 { SELF_INSERT, 0, 0, (char *) 0 },
1042 { SELF_INSERT, 0, 0, (char *) 0 },
1043 { SELF_INSERT, 0, 0, (char *) 0 },
1044
1045 { SELF_INSERT, 0, 0, (char *) 0 }, /* 120 */
1046 { SELF_INSERT, 0, 0, (char *) 0 },
1047 { SELF_INSERT, 0, 0, (char *) 0 },
1048 { SELF_INSERT, 0, 0, (char *) 0 },
1049 { SELF_INSERT, 0, 0, (char *) 0 },
1050 { SELF_INSERT, 0, 0, (char *) 0 },
1051 { SELF_INSERT, 0, 0, (char *) 0 },
1052 { BACKSPACE, 0, 0, (char *) 0 },
1053
1054 { SELF_INSERT, 0, 0, (char *) 0 }, /* 128 */
1055 { SELF_INSERT, 0, 0, (char *) 0 },
1056 { SELF_INSERT, 0, 0, (char *) 0 },
1057 { SELF_INSERT, 0, 0, (char *) 0 },
1058 { SELF_INSERT, 0, 0, (char *) 0 },
1059 { SELF_INSERT, 0, 0, (char *) 0 },
1060 { SELF_INSERT, 0, 0, (char *) 0 },
1061 { SELF_INSERT, 0, 0, (char *) 0 },
1062
1063 { SELF_INSERT, 0, 0, (char *) 0 }, /* 136 */
1064 { SELF_INSERT, 0, 0, (char *) 0 },
1065 { SELF_INSERT, 0, 0, (char *) 0 },
1066 { SELF_INSERT, 0, 0, (char *) 0 },
1067 { SELF_INSERT, 0, 0, (char *) 0 },
1068 { SELF_INSERT, 0, 0, (char *) 0 },
1069 { SELF_INSERT, 0, 0, (char *) 0 },
1070 { SELF_INSERT, 0, 0, (char *) 0 },
1071
1072 { SELF_INSERT, 0, 0, (char *) 0 }, /* 144 */
1073 { SELF_INSERT, 0, 0, (char *) 0 },
1074 { SELF_INSERT, 0, 0, (char *) 0 },
1075 { SELF_INSERT, 0, 0, (char *) 0 },
1076 { SELF_INSERT, 0, 0, (char *) 0 },
1077 { SELF_INSERT, 0, 0, (char *) 0 },
1078 { SELF_INSERT, 0, 0, (char *) 0 },
1079 { SELF_INSERT, 0, 0, (char *) 0 },
1080
1081 { SELF_INSERT, 0, 0, (char *) 0 }, /* 152 */
1082 { SELF_INSERT, 0, 0, (char *) 0 },
1083 { SELF_INSERT, 0, 0, (char *) 0 },
1084 { SELF_INSERT, 0, 0, (char *) 0 },
1085 { SELF_INSERT, 0, 0, (char *) 0 },
1086 { SELF_INSERT, 0, 0, (char *) 0 },
1087 { SELF_INSERT, 0, 0, (char *) 0 },
1088 { SELF_INSERT, 0, 0, (char *) 0 },
1089
1090 { SELF_INSERT, 0, 0, (char *) 0 }, /* 160 */
1091 { SELF_INSERT, 0, 0, (char *) 0 },
1092 { SELF_INSERT, 0, 0, (char *) 0 },
1093 { SELF_INSERT, 0, 0, (char *) 0 },
1094 { SELF_INSERT, 0, 0, (char *) 0 },
1095 { SELF_INSERT, 0, 0, (char *) 0 },
1096 { SELF_INSERT, 0, 0, (char *) 0 },
1097 { SELF_INSERT, 0, 0, (char *) 0 },
1098
1099 { SELF_INSERT, 0, 0, (char *) 0 }, /* 168 */
1100 { SELF_INSERT, 0, 0, (char *) 0 },
1101 { SELF_INSERT, 0, 0, (char *) 0 },
1102 { SELF_INSERT, 0, 0, (char *) 0 },
1103 { SELF_INSERT, 0, 0, (char *) 0 },
1104 { SELF_INSERT, 0, 0, (char *) 0 },
1105 { SELF_INSERT, 0, 0, (char *) 0 },
1106 { SELF_INSERT, 0, 0, (char *) 0 },
1107
1108 { SELF_INSERT, 0, 0, (char *) 0 }, /* 176 */
1109 { SELF_INSERT, 0, 0, (char *) 0 },
1110 { SELF_INSERT, 0, 0, (char *) 0 },
1111 { SELF_INSERT, 0, 0, (char *) 0 },
1112 { SELF_INSERT, 0, 0, (char *) 0 },
1113 { SELF_INSERT, 0, 0, (char *) 0 },
1114 { SELF_INSERT, 0, 0, (char *) 0 },
1115 { SELF_INSERT, 0, 0, (char *) 0 },
1116
1117 { SELF_INSERT, 0, 0, (char *) 0 }, /* 184 */
1118 { SELF_INSERT, 0, 0, (char *) 0 },
1119 { SELF_INSERT, 0, 0, (char *) 0 },
1120 { SELF_INSERT, 0, 0, (char *) 0 },
1121 { SELF_INSERT, 0, 0, (char *) 0 },
1122 /* { SCROLL_START, 0, 0, (char *) 0 }, */
1123 { SELF_INSERT, 0, 0, (char *) 0 },
1124 { SELF_INSERT, 0, 0, (char *) 0 },
1125 /* { SCROLL_END, 0, 0, (char *) 0 }, */
1126 { SELF_INSERT, 0, 0, (char *) 0 },
1127
1128 { SELF_INSERT, 0, 0, (char *) 0 }, /* 192 */
1129 { SELF_INSERT, 0, 0, (char *) 0 },
1130 { SELF_INSERT, 0, 0, (char *) 0 },
1131 { SELF_INSERT, 0, 0, (char *) 0 },
1132 { SELF_INSERT, 0, 0, (char *) 0 },
1133 { SELF_INSERT, 0, 0, (char *) 0 },
1134 { SELF_INSERT, 0, 0, (char *) 0 },
1135 { SELF_INSERT, 0, 0, (char *) 0 },
1136
1137 { SELF_INSERT, 0, 0, (char *) 0 }, /* 200 */
1138 { SELF_INSERT, 0, 0, (char *) 0 },
1139 { SELF_INSERT, 0, 0, (char *) 0 },
1140 { SELF_INSERT, 0, 0, (char *) 0 },
1141 { SELF_INSERT, 0, 0, (char *) 0 },
1142 { SELF_INSERT, 0, 0, (char *) 0 },
1143 { SELF_INSERT, 0, 0, (char *) 0 },
1144 { SELF_INSERT, 0, 0, (char *) 0 },
1145
1146 { SELF_INSERT, 0, 0, (char *) 0 }, /* 208 */
1147 { SELF_INSERT, 0, 0, (char *) 0 },
1148 { SELF_INSERT, 0, 0, (char *) 0 },
1149 { SELF_INSERT, 0, 0, (char *) 0 },
1150 { SELF_INSERT, 0, 0, (char *) 0 },
1151 { SELF_INSERT, 0, 0, (char *) 0 },
1152 { SELF_INSERT, 0, 0, (char *) 0 },
1153 { SELF_INSERT, 0, 0, (char *) 0 },
1154
1155 { SELF_INSERT, 0, 0, (char *) 0 }, /* 216 */
1156 { SELF_INSERT, 0, 0, (char *) 0 },
1157 { SELF_INSERT, 0, 0, (char *) 0 },
1158 { SELF_INSERT, 0, 0, (char *) 0 },
1159 { SELF_INSERT, 0, 0, (char *) 0 },
1160 { SELF_INSERT, 0, 0, (char *) 0 },
1161 { SELF_INSERT, 0, 0, (char *) 0 },
1162 { SELF_INSERT, 0, 0, (char *) 0 },
1163
1164 { SELF_INSERT, 0, 0, (char *) 0 }, /* 224 */
1165 { SELF_INSERT, 0, 0, (char *) 0 },
1166 { SELF_INSERT, 0, 0, (char *) 0 },
1167 /* { BACKWARD_WORD, 0, 0, (char *) 0 }, */
1168 { SELF_INSERT, 0, 0, (char *) 0 },
1169 { SELF_INSERT, 0, 0, (char *) 0 },
1170 /* { DELETE_NEXT_WORD, 0, 0, (char *) 0 }, */
1171 { SELF_INSERT, 0, 0, (char *) 0 },
1172 /* { SCROLL_END, 0, 0, (char *) 0 }, */
1173 { SELF_INSERT, 0, 0, (char *) 0 },
1174 /* { FORWARD_WORD, 0, 0, (char *) 0 }, */
1175 { SELF_INSERT, 0, 0, (char *) 0 },
1176
1177 /* { DELETE_PREVIOUS_WORD, 0, 0, (char *) 0 }, */
1178 { SELF_INSERT, 0, 0, (char *) 0 }, /* 232 */
1179 { SELF_INSERT, 0, 0, (char *) 0 },
1180 { SELF_INSERT, 0, 0, (char *) 0 },
1181 { SELF_INSERT, 0, 0, (char *) 0 },
1182 { SELF_INSERT, 0, 0, (char *) 0 },
1183 { SELF_INSERT, 0, 0, (char *) 0 },
1184 { SELF_INSERT, 0, 0, (char *) 0 },
1185 { SELF_INSERT, 0, 0, (char *) 0 },
1186
1187 { SELF_INSERT, 0, 0, (char *) 0 }, /* 240 */
1188 { SELF_INSERT, 0, 0, (char *) 0 },
1189 { SELF_INSERT, 0, 0, (char *) 0 },
1190 { SELF_INSERT, 0, 0, (char *) 0 },
1191 { SELF_INSERT, 0, 0, (char *) 0 },
1192 { SELF_INSERT, 0, 0, (char *) 0 },
1193 { SELF_INSERT, 0, 0, (char *) 0 },
1194 { SELF_INSERT, 0, 0, (char *) 0 },
1195
1196 { SELF_INSERT, 0, 0, (char *) 0 }, /* 248 */
1197 { SELF_INSERT, 0, 0, (char *) 0 },
1198 { SELF_INSERT, 0, 0, (char *) 0 },
1199 { SELF_INSERT, 0, 0, (char *) 0 },
1200 { SELF_INSERT, 0, 0, (char *) 0 },
1201 { SELF_INSERT, 0, 0, (char *) 0 },
1202 { SELF_INSERT, 0, 0, (char *) 0 },
1203 { SELF_INSERT, 0, 0, (char *) 0 }
1204 /* { DELETE_PREVIOUS_WORD, 0, 0, (char *) 0 } */
1205 };
1206
1207 KeyMap meta1_keys[] =
1208 {
1209 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
1210 { NOTHING, 0, 0, (char *) 0 },
1211 { NOTHING, 0, 0, (char *) 0 },
1212 { NOTHING, 0, 0, (char *) 0 },
1213 { NOTHING, 0, 0, (char *) 0 },
1214 { NOTHING, 0, 0, (char *) 0 },
1215 { NOTHING, 0, 0, (char *) 0 },
1216 { NOTHING, 0, 0, (char *) 0 },
1217
1218 { NOTHING, 0, 0, (char *) 0 }, /* 8 */
1219 { NOTHING, 0, 0, (char *) 0 },
1220 { NOTHING, 0, 0, (char *) 0 },
1221 { NOTHING, 0, 0, (char *) 0 },
1222 { NOTHING, 0, 0, (char *) 0 },
1223 { NOTHING, 0, 0, (char *) 0 },
1224 { NOTHING, 0, 0, (char *) 0 },
1225 { NOTHING, 0, 0, (char *) 0 },
1226
1227 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
1228 { NOTHING, 0, 0, (char *) 0 },
1229 { NOTHING, 0, 0, (char *) 0 },
1230 { NOTHING, 0, 0, (char *) 0 },
1231 { NOTHING, 0, 0, (char *) 0 },
1232 { NOTHING, 0, 0, (char *) 0 },
1233 { NOTHING, 0, 0, (char *) 0 },
1234 { NOTHING, 0, 0, (char *) 0 },
1235
1236 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
1237 { NOTHING, 0, 0, (char *) 0 },
1238 { NOTHING, 0, 0, (char *) 0 },
1239 { COMMAND_COMPLETION, 0, 0, (char *) 0 },
1240 { NOTHING, 0, 0, (char *) 0 },
1241 { NOTHING, 0, 0, (char *) 0 },
1242 { NOTHING, 0, 0, (char *) 0 },
1243 { NOTHING, 0, 0, (char *) 0 },
1244
1245 { NOTHING, 0, 0, (char *) 0 }, /* 32 */
1246 { NOTHING, 0, 0, (char *) 0 },
1247 { NOTHING, 0, 0, (char *) 0 },
1248 { NOTHING, 0, 0, (char *) 0 },
1249 { NOTHING, 0, 0, (char *) 0 },
1250 { NOTHING, 0, 0, (char *) 0 },
1251 { NOTHING, 0, 0, (char *) 0 },
1252 { NOTHING, 0, 0, (char *) 0 },
1253
1254 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
1255 { NOTHING, 0, 0, (char *) 0 },
1256 { NOTHING, 0, 0, (char *) 0 },
1257 { NOTHING, 0, 0, (char *) 0 },
1258 { NOTHING, 0, 0, (char *) 0 },
1259 { NOTHING, 0, 0, (char *) 0 },
1260 { CLEAR_SCREEN, 0, 0, (char *) 0 },
1261 { NOTHING, 0, 0, (char *) 0 },
1262
1263 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
1264 { NOTHING, 0, 0, (char *) 0 },
1265 { NOTHING, 0, 0, (char *) 0 },
1266 { NOTHING, 0, 0, (char *) 0 },
1267 { NOTHING, 0, 0, (char *) 0 },
1268 { NOTHING, 0, 0, (char *) 0 },
1269 { NOTHING, 0, 0, (char *) 0 },
1270 { NOTHING, 0, 0, (char *) 0 },
1271
1272 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
1273 { NOTHING, 0, 0, (char *) 0 },
1274 { NOTHING, 0, 0, (char *) 0 },
1275 { NOTHING, 0, 0, (char *) 0 },
1276 { SCROLL_START, 0, 0, (char *) 0 },
1277 { NOTHING, 0, 0, (char *) 0 },
1278 { SCROLL_END, 0, 0, (char *) 0 },
1279 { NOTHING, 0, 0, (char *) 0 },
1280
1281 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
1282 { NOTHING, 0, 0, (char *) 0 },
1283 { NOTHING, 0, 0, (char *) 0 },
1284 { NOTHING, 0, 0, (char *) 0 },
1285 { NOTHING, 0, 0, (char *) 0 },
1286 { NOTHING, 0, 0, (char *) 0 },
1287 { NOTHING, 0, 0, (char *) 0 },
1288 { NOTHING, 0, 0, (char *) 0 },
1289
1290 { NOTHING, 0, 0, (char *) 0 }, /* 72 */
1291 { NOTHING, 0, 0, (char *) 0 },
1292 { NOTHING, 0, 0, (char *) 0 },
1293 { NOTHING, 0, 0, (char *) 0 },
1294 { NOTHING, 0, 0, (char *) 0 },
1295 { NOTHING, 0, 0, (char *) 0 },
1296 { NOTHING, 0, 0, (char *) 0 },
1297 { NOTHING, 0, 0, (char *) 0 },
1298
1299 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
1300 { NOTHING, 0, 0, (char *) 0 },
1301 { NOTHING, 0, 0, (char *) 0 },
1302 { NOTHING, 0, 0, (char *) 0 },
1303 { NOTHING, 0, 0, (char *) 0 },
1304 { NOTHING, 0, 0, (char *) 0 },
1305 { NOTHING, 0, 0, (char *) 0 },
1306 { NOTHING, 0, 0, (char *) 0 },
1307
1308 { NOTHING, 0, 0, (char *) 0 }, /* 88 */
1309 { NOTHING, 0, 0, (char *) 0 },
1310 { NOTHING, 0, 0, (char *) 0 },
1311 /**************************** PATCHED by Flier ******************************/
1312 /*{ META3_CHARACTER, 0, 0, (char *) 0 },*/
1313 { META2_CHARACTER, 0, 0, (char *) 0 },
1314 /****************************************************************************/
1315 { NOTHING, 0, 0, (char *) 0 },
1316 { NOTHING, 0, 0, (char *) 0 },
1317 { NOTHING, 0, 0, (char *) 0 },
1318 { NOTHING, 0, 0, (char *) 0 },
1319
1320 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
1321 { NOTHING, 0, 0, (char *) 0 },
1322 { BACKWARD_WORD, 0, 0, (char *) 0 },
1323 { NOTHING, 0, 0, (char *) 0 },
1324 { DELETE_NEXT_WORD, 0, 0, (char *) 0 },
1325 { SCROLL_END, 0, 0, (char *) 0 },
1326 { FORWARD_WORD, 0, 0, (char *) 0 },
1327 { NOTHING, 0, 0, (char *) 0 },
1328
1329 { DELETE_PREVIOUS_WORD, 0, 0, (char *) 0 }, /* 104 */
1330 { NOTHING, 0, 0, (char *) 0 },
1331 { NOTHING, 0, 0, (char *) 0 },
1332 { NOTHING, 0, 0, (char *) 0 },
1333 { NOTHING, 0, 0, (char *) 0 },
1334 { NOTHING, 0, 0, (char *) 0 },
1335 { SCROLL_FORWARD, 0, 0, (char *) 0 },
1336 { NOTHING, 0, 0, (char *) 0 },
1337
1338 { SCROLL_BACKWARD, 0, 0, (char *) 0 }, /* 112 */
1339 { NOTHING, 0, 0, (char *) 0 },
1340 { NOTHING, 0, 0, (char *) 0 },
1341 { NOTHING, 0, 0, (char *) 0 },
1342 { NOTHING, 0, 0, (char *) 0 },
1343 { NOTHING, 0, 0, (char *) 0 },
1344 { NOTHING, 0, 0, (char *) 0 },
1345 { NOTHING, 0, 0, (char *) 0 },
1346
1347 { NOTHING, 0, 0, (char *) 0 }, /* 120 */
1348 { NOTHING, 0, 0, (char *) 0 },
1349 { NOTHING, 0, 0, (char *) 0 },
1350 { NOTHING, 0, 0, (char *) 0 },
1351 { NOTHING, 0, 0, (char *) 0 },
1352 { NOTHING, 0, 0, (char *) 0 },
1353 { NOTHING, 0, 0, (char *) 0 },
1354 { DELETE_PREVIOUS_WORD, 0, 0, (char *) 0 },
1355
1356 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
1357 { NOTHING, 0, 0, (char *) 0 },
1358 { NOTHING, 0, 0, (char *) 0 },
1359 { NOTHING, 0, 0, (char *) 0 },
1360 { NOTHING, 0, 0, (char *) 0 },
1361 { NOTHING, 0, 0, (char *) 0 },
1362 { NOTHING, 0, 0, (char *) 0 },
1363 { NOTHING, 0, 0, (char *) 0 },
1364
1365 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
1366 { NOTHING, 0, 0, (char *) 0 },
1367 { NOTHING, 0, 0, (char *) 0 },
1368 { NOTHING, 0, 0, (char *) 0 },
1369 { NOTHING, 0, 0, (char *) 0 },
1370 { NOTHING, 0, 0, (char *) 0 },
1371 { NOTHING, 0, 0, (char *) 0 },
1372 { NOTHING, 0, 0, (char *) 0 },
1373
1374 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
1375 { NOTHING, 0, 0, (char *) 0 },
1376 { NOTHING, 0, 0, (char *) 0 },
1377 { NOTHING, 0, 0, (char *) 0 },
1378 { NOTHING, 0, 0, (char *) 0 },
1379 { NOTHING, 0, 0, (char *) 0 },
1380 { NOTHING, 0, 0, (char *) 0 },
1381 { NOTHING, 0, 0, (char *) 0 },
1382
1383 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
1384 { NOTHING, 0, 0, (char *) 0 },
1385 { NOTHING, 0, 0, (char *) 0 },
1386 { NOTHING, 0, 0, (char *) 0 },
1387 { NOTHING, 0, 0, (char *) 0 },
1388 { NOTHING, 0, 0, (char *) 0 },
1389 { NOTHING, 0, 0, (char *) 0 },
1390 { NOTHING, 0, 0, (char *) 0 },
1391
1392 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
1393 { NOTHING, 0, 0, (char *) 0 },
1394 { NOTHING, 0, 0, (char *) 0 },
1395 { NOTHING, 0, 0, (char *) 0 },
1396 { NOTHING, 0, 0, (char *) 0 },
1397 { NOTHING, 0, 0, (char *) 0 },
1398 { NOTHING, 0, 0, (char *) 0 },
1399 { NOTHING, 0, 0, (char *) 0 },
1400
1401 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
1402 { NOTHING, 0, 0, (char *) 0 },
1403 { NOTHING, 0, 0, (char *) 0 },
1404 { NOTHING, 0, 0, (char *) 0 },
1405 { NOTHING, 0, 0, (char *) 0 },
1406 { NOTHING, 0, 0, (char *) 0 },
1407 { NOTHING, 0, 0, (char *) 0 },
1408 { NOTHING, 0, 0, (char *) 0 },
1409
1410 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
1411 { NOTHING, 0, 0, (char *) 0 },
1412 { NOTHING, 0, 0, (char *) 0 },
1413 { NOTHING, 0, 0, (char *) 0 },
1414 { NOTHING, 0, 0, (char *) 0 },
1415 { NOTHING, 0, 0, (char *) 0 },
1416 { NOTHING, 0, 0, (char *) 0 },
1417 { NOTHING, 0, 0, (char *) 0 },
1418
1419 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
1420 { NOTHING, 0, 0, (char *) 0 },
1421 { NOTHING, 0, 0, (char *) 0 },
1422 { NOTHING, 0, 0, (char *) 0 },
1423 { NOTHING, 0, 0, (char *) 0 },
1424 { NOTHING, 0, 0, (char *) 0 },
1425 { NOTHING, 0, 0, (char *) 0 },
1426 { NOTHING, 0, 0, (char *) 0 },
1427
1428 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
1429 { NOTHING, 0, 0, (char *) 0 },
1430 { NOTHING, 0, 0, (char *) 0 },
1431 { NOTHING, 0, 0, (char *) 0 },
1432 { NOTHING, 0, 0, (char *) 0 },
1433 { NOTHING, 0, 0, (char *) 0 },
1434 { NOTHING, 0, 0, (char *) 0 },
1435 { NOTHING, 0, 0, (char *) 0 },
1436
1437 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
1438 { NOTHING, 0, 0, (char *) 0 },
1439 { NOTHING, 0, 0, (char *) 0 },
1440 { NOTHING, 0, 0, (char *) 0 },
1441 { NOTHING, 0, 0, (char *) 0 },
1442 { NOTHING, 0, 0, (char *) 0 },
1443 { NOTHING, 0, 0, (char *) 0 },
1444 { NOTHING, 0, 0, (char *) 0 },
1445
1446 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
1447 { NOTHING, 0, 0, (char *) 0 },
1448 { NOTHING, 0, 0, (char *) 0 },
1449 { NOTHING, 0, 0, (char *) 0 },
1450 { NOTHING, 0, 0, (char *) 0 },
1451 { NOTHING, 0, 0, (char *) 0 },
1452 { NOTHING, 0, 0, (char *) 0 },
1453 { NOTHING, 0, 0, (char *) 0 },
1454
1455 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
1456 { NOTHING, 0, 0, (char *) 0 },
1457 { NOTHING, 0, 0, (char *) 0 },
1458 { NOTHING, 0, 0, (char *) 0 },
1459 { NOTHING, 0, 0, (char *) 0 },
1460 { NOTHING, 0, 0, (char *) 0 },
1461 { NOTHING, 0, 0, (char *) 0 },
1462 { NOTHING, 0, 0, (char *) 0 },
1463
1464 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
1465 { NOTHING, 0, 0, (char *) 0 },
1466 { NOTHING, 0, 0, (char *) 0 },
1467 { NOTHING, 0, 0, (char *) 0 },
1468 { NOTHING, 0, 0, (char *) 0 },
1469 { NOTHING, 0, 0, (char *) 0 },
1470 { NOTHING, 0, 0, (char *) 0 },
1471 { NOTHING, 0, 0, (char *) 0 },
1472
1473 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
1474 { NOTHING, 0, 0, (char *) 0 },
1475 { NOTHING, 0, 0, (char *) 0 },
1476 { NOTHING, 0, 0, (char *) 0 },
1477 { NOTHING, 0, 0, (char *) 0 },
1478 { NOTHING, 0, 0, (char *) 0 },
1479 { NOTHING, 0, 0, (char *) 0 },
1480 { NOTHING, 0, 0, (char *) 0 },
1481
1482 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
1483 { NOTHING, 0, 0, (char *) 0 },
1484 { NOTHING, 0, 0, (char *) 0 },
1485 { NOTHING, 0, 0, (char *) 0 },
1486 { NOTHING, 0, 0, (char *) 0 },
1487 { NOTHING, 0, 0, (char *) 0 },
1488 { NOTHING, 0, 0, (char *) 0 },
1489 { NOTHING, 0, 0, (char *) 0 },
1490
1491 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
1492 { NOTHING, 0, 0, (char *) 0 },
1493 { NOTHING, 0, 0, (char *) 0 },
1494 { NOTHING, 0, 0, (char *) 0 },
1495 { NOTHING, 0, 0, (char *) 0 },
1496 { NOTHING, 0, 0, (char *) 0 },
1497 { NOTHING, 0, 0, (char *) 0 },
1498 { NOTHING, 0, 0, (char *) 0 }
1499 };
1500
1501 KeyMap meta2_keys[] =
1502 {
1503 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
1504 { NOTHING, 0, 0, (char *) 0 },
1505 { NOTHING, 0, 0, (char *) 0 },
1506 { NOTHING, 0, 0, (char *) 0 },
1507 { NOTHING, 0, 0, (char *) 0 },
1508 { NOTHING, 0, 0, (char *) 0 },
1509 { NOTHING, 0, 0, (char *) 0 },
1510 { NOTHING, 0, 0, (char *) 0 },
1511
1512 { NOTHING, 0, 0, (char *) 0 }, /* 8 */
1513 { NOTHING, 0, 0, (char *) 0 },
1514 { NOTHING, 0, 0, (char *) 0 },
1515 { NOTHING, 0, 0, (char *) 0 },
1516 { NOTHING, 0, 0, (char *) 0 },
1517 { NOTHING, 0, 0, (char *) 0 },
1518 { NOTHING, 0, 0, (char *) 0 },
1519 { NOTHING, 0, 0, (char *) 0 },
1520
1521 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
1522 { NOTHING, 0, 0, (char *) 0 },
1523 { NOTHING, 0, 0, (char *) 0 },
1524 { NOTHING, 0, 0, (char *) 0 },
1525 { NOTHING, 0, 0, (char *) 0 },
1526 { NOTHING, 0, 0, (char *) 0 },
1527 { NOTHING, 0, 0, (char *) 0 },
1528 { NOTHING, 0, 0, (char *) 0 },
1529
1530 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
1531 { NOTHING, 0, 0, (char *) 0 },
1532 #ifdef ALLOW_STOP_IRC
1533 { STOP_IRC, 0, 0, (char *) 0 },
1534 #else
1535 { NOTHING, 0, 0, (char *) 0 },
1536 #endif
1537 { NOTHING, 0, 0, (char *) 0 },
1538 { NOTHING, 0, 0, (char *) 0 },
1539 { NOTHING, 0, 0, (char *) 0 },
1540 { NOTHING, 0, 0, (char *) 0 },
1541 { NOTHING, 0, 0, (char *) 0 },
1542
1543 { NOTHING, 0, 0, (char *) 0 }, /* 32 */
1544 { NOTHING, 0, 0, (char *) 0 },
1545 { NOTHING, 0, 0, (char *) 0 },
1546 { NOTHING, 0, 0, (char *) 0 },
1547 { NOTHING, 0, 0, (char *) 0 },
1548 { NOTHING, 0, 0, (char *) 0 },
1549 { NOTHING, 0, 0, (char *) 0 },
1550 { NOTHING, 0, 0, (char *) 0 },
1551
1552 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
1553 { NOTHING, 0, 0, (char *) 0 },
1554 { NOTHING, 0, 0, (char *) 0 },
1555 { NOTHING, 0, 0, (char *) 0 },
1556 { NOTHING, 0, 0, (char *) 0 },
1557 { NOTHING, 0, 0, (char *) 0 },
1558 { NOTHING, 0, 0, (char *) 0 },
1559 { NOTHING, 0, 0, (char *) 0 },
1560
1561 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
1562 /**************************** PATCHED by Flier ******************************/
1563 /*{ NOTHING, 0, 0, (char *) 0 },*/
1564 { META5_CHARACTER, 0, 0, (char *) 0 },
1565 /*{ NOTHING, 0, 0, (char *) 0 },*/
1566 { META5_CHARACTER, 0, 0, (char *) 0 },
1567 /****************************************************************************/
1568 { NOTHING, 0, 0, (char *) 0 },
1569 /**************************** PATCHED by Flier ******************************/
1570 /*{ NOTHING, 0, 0, (char *) 0 },*/
1571 { SCROLL_END, 0, 0, (char *) 0 },
1572 /*{ NOTHING, 0, 0, (char *) 0 },*/
1573 { SCROLL_BACKWARD, 0, 0, (char *) 0 },
1574 /*{ NOTHING, 0, 0, (char *) 0 },*/
1575 { SCROLL_FORWARD, 0, 0, (char *) 0 },
1576 /****************************************************************************/
1577 { NOTHING, 0, 0, (char *) 0 },
1578
1579 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
1580 { NOTHING, 0, 0, (char *) 0 },
1581 { NOTHING, 0, 0, (char *) 0 },
1582 { NOTHING, 0, 0, (char *) 0 },
1583 { NOTHING, 0, 0, (char *) 0 },
1584 { NOTHING, 0, 0, (char *) 0 },
1585 { NOTHING, 0, 0, (char *) 0 },
1586 { NOTHING, 0, 0, (char *) 0 },
1587
1588 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
1589 /**************************** PATCHED by Flier ******************************/
1590 /*{ NOTHING, 0, 0, (char *) 0 },*/
1591 { BACKWARD_HISTORY, 0, 0, (char *) 0 },
1592 /*{ NOTHING, 0, 0, (char *) 0 },*/
1593 { FORWARD_HISTORY, 0, 0, (char *) 0 },
1594 /*{ NOTHING, 0, 0, (char *) 0 },*/
1595 { FORWARD_CHARACTER, 0, 0, (char *) 0 },
1596 /*{ NOTHING, 0, 0, (char *) 0 },*/
1597 { BACKWARD_CHARACTER, 0, 0, (char *) 0 },
1598 /****************************************************************************/
1599 { NOTHING, 0, 0, (char *) 0 },
1600 { NOTHING, 0, 0, (char *) 0 },
1601 { NOTHING, 0, 0, (char *) 0 },
1602
1603 { NOTHING, 0, 0, (char *) 0 }, /* 72 */
1604 { NOTHING, 0, 0, (char *) 0 },
1605 { NOTHING, 0, 0, (char *) 0 },
1606 { NOTHING, 0, 0, (char *) 0 },
1607 { NOTHING, 0, 0, (char *) 0 },
1608 { NOTHING, 0, 0, (char *) 0 },
1609 { NOTHING, 0, 0, (char *) 0 },
1610 { NOTHING, 0, 0, (char *) 0 },
1611
1612 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
1613 { NOTHING, 0, 0, (char *) 0 },
1614 { NOTHING, 0, 0, (char *) 0 },
1615 { NOTHING, 0, 0, (char *) 0 },
1616 { NOTHING, 0, 0, (char *) 0 },
1617 { NOTHING, 0, 0, (char *) 0 },
1618 { NOTHING, 0, 0, (char *) 0 },
1619 { NOTHING, 0, 0, (char *) 0 },
1620
1621 { NOTHING, 0, 0, (char *) 0 }, /* 88 */
1622 { NOTHING, 0, 0, (char *) 0 },
1623 { NOTHING, 0, 0, (char *) 0 },
1624 /**************************** PATCHED by Flier ******************************/
1625 /*{ NOTHING, 0, 0, (char *) 0 },*/
1626 { META5_CHARACTER, 0, 0, (char *) 0 },
1627 /****************************************************************************/
1628 { NOTHING, 0, 0, (char *) 0 },
1629 { NOTHING, 0, 0, (char *) 0 },
1630 { NOTHING, 0, 0, (char *) 0 },
1631 { NOTHING, 0, 0, (char *) 0 },
1632
1633 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
1634 { NOTHING, 0, 0, (char *) 0 },
1635 { NOTHING, 0, 0, (char *) 0 },
1636 { NOTHING, 0, 0, (char *) 0 },
1637 { NOTHING, 0, 0, (char *) 0 },
1638 { NOTHING, 0, 0, (char *) 0 },
1639 { NOTHING, 0, 0, (char *) 0 },
1640 { NOTHING, 0, 0, (char *) 0 },
1641
1642 { NOTHING, 0, 0, (char *) 0 }, /* 104 */
1643 { NOTHING, 0, 0, (char *) 0 },
1644 { NOTHING, 0, 0, (char *) 0 },
1645 { NOTHING, 0, 0, (char *) 0 },
1646 { NOTHING, 0, 0, (char *) 0 },
1647 { NOTHING, 0, 0, (char *) 0 },
1648 { NEXT_WINDOW, 0, 0, (char *) 0 },
1649 { NOTHING, 0, 0, (char *) 0 },
1650
1651 { PREVIOUS_WINDOW, 0, 0, (char *) 0 }, /* 112 */
1652 { NOTHING, 0, 0, (char *) 0 },
1653 { NOTHING, 0, 0, (char *) 0 },
1654 { NOTHING, 0, 0, (char *) 0 },
1655 { NOTHING, 0, 0, (char *) 0 },
1656 { NOTHING, 0, 0, (char *) 0 },
1657 { NOTHING, 0, 0, (char *) 0 },
1658 { NOTHING, 0, 0, (char *) 0 },
1659
1660 { NOTHING, 0, 0, (char *) 0 }, /* 120 */
1661 { NOTHING, 0, 0, (char *) 0 },
1662 { NOTHING, 0, 0, (char *) 0 },
1663 { NOTHING, 0, 0, (char *) 0 },
1664 { NOTHING, 0, 0, (char *) 0 },
1665 { NOTHING, 0, 0, (char *) 0 },
1666 { NOTHING, 0, 0, (char *) 0 },
1667 { NOTHING, 0, 0, (char *) 0 },
1668
1669 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
1670 { NOTHING, 0, 0, (char *) 0 },
1671 { NOTHING, 0, 0, (char *) 0 },
1672 { NOTHING, 0, 0, (char *) 0 },
1673 { NOTHING, 0, 0, (char *) 0 },
1674 { NOTHING, 0, 0, (char *) 0 },
1675 { NOTHING, 0, 0, (char *) 0 },
1676 { NOTHING, 0, 0, (char *) 0 },
1677
1678 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
1679 { NOTHING, 0, 0, (char *) 0 },
1680 { NOTHING, 0, 0, (char *) 0 },
1681 { NOTHING, 0, 0, (char *) 0 },
1682 { NOTHING, 0, 0, (char *) 0 },
1683 { NOTHING, 0, 0, (char *) 0 },
1684 { NOTHING, 0, 0, (char *) 0 },
1685 { NOTHING, 0, 0, (char *) 0 },
1686
1687 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
1688 { NOTHING, 0, 0, (char *) 0 },
1689 { NOTHING, 0, 0, (char *) 0 },
1690 { NOTHING, 0, 0, (char *) 0 },
1691 { NOTHING, 0, 0, (char *) 0 },
1692 { NOTHING, 0, 0, (char *) 0 },
1693 { NOTHING, 0, 0, (char *) 0 },
1694 { NOTHING, 0, 0, (char *) 0 },
1695
1696 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
1697 { NOTHING, 0, 0, (char *) 0 },
1698 { NOTHING, 0, 0, (char *) 0 },
1699 { NOTHING, 0, 0, (char *) 0 },
1700 { NOTHING, 0, 0, (char *) 0 },
1701 { NOTHING, 0, 0, (char *) 0 },
1702 { NOTHING, 0, 0, (char *) 0 },
1703 { NOTHING, 0, 0, (char *) 0 },
1704
1705 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
1706 { NOTHING, 0, 0, (char *) 0 },
1707 { NOTHING, 0, 0, (char *) 0 },
1708 { NOTHING, 0, 0, (char *) 0 },
1709 { NOTHING, 0, 0, (char *) 0 },
1710 { NOTHING, 0, 0, (char *) 0 },
1711 { NOTHING, 0, 0, (char *) 0 },
1712 { NOTHING, 0, 0, (char *) 0 },
1713
1714 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
1715 { NOTHING, 0, 0, (char *) 0 },
1716 { NOTHING, 0, 0, (char *) 0 },
1717 { NOTHING, 0, 0, (char *) 0 },
1718 { NOTHING, 0, 0, (char *) 0 },
1719 { NOTHING, 0, 0, (char *) 0 },
1720 { NOTHING, 0, 0, (char *) 0 },
1721 { NOTHING, 0, 0, (char *) 0 },
1722
1723 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
1724 { NOTHING, 0, 0, (char *) 0 },
1725 { NOTHING, 0, 0, (char *) 0 },
1726 { NOTHING, 0, 0, (char *) 0 },
1727 { NOTHING, 0, 0, (char *) 0 },
1728 { NOTHING, 0, 0, (char *) 0 },
1729 { NOTHING, 0, 0, (char *) 0 },
1730 { NOTHING, 0, 0, (char *) 0 },
1731
1732 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
1733 { NOTHING, 0, 0, (char *) 0 },
1734 { NOTHING, 0, 0, (char *) 0 },
1735 { NOTHING, 0, 0, (char *) 0 },
1736 { NOTHING, 0, 0, (char *) 0 },
1737 { NOTHING, 0, 0, (char *) 0 },
1738 { NOTHING, 0, 0, (char *) 0 },
1739 { NOTHING, 0, 0, (char *) 0 },
1740
1741 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
1742 { NOTHING, 0, 0, (char *) 0 },
1743 { NOTHING, 0, 0, (char *) 0 },
1744 { NOTHING, 0, 0, (char *) 0 },
1745 { NOTHING, 0, 0, (char *) 0 },
1746 { NOTHING, 0, 0, (char *) 0 },
1747 { NOTHING, 0, 0, (char *) 0 },
1748 { NOTHING, 0, 0, (char *) 0 },
1749
1750 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
1751 { NOTHING, 0, 0, (char *) 0 },
1752 { NOTHING, 0, 0, (char *) 0 },
1753 { NOTHING, 0, 0, (char *) 0 },
1754 { NOTHING, 0, 0, (char *) 0 },
1755 { NOTHING, 0, 0, (char *) 0 },
1756 { NOTHING, 0, 0, (char *) 0 },
1757 { NOTHING, 0, 0, (char *) 0 },
1758
1759 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
1760 { NOTHING, 0, 0, (char *) 0 },
1761 { NOTHING, 0, 0, (char *) 0 },
1762 { NOTHING, 0, 0, (char *) 0 },
1763 { NOTHING, 0, 0, (char *) 0 },
1764 { NOTHING, 0, 0, (char *) 0 },
1765 { NOTHING, 0, 0, (char *) 0 },
1766 { NOTHING, 0, 0, (char *) 0 },
1767
1768 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
1769 { NOTHING, 0, 0, (char *) 0 },
1770 { NOTHING, 0, 0, (char *) 0 },
1771 { NOTHING, 0, 0, (char *) 0 },
1772 { NOTHING, 0, 0, (char *) 0 },
1773 { NOTHING, 0, 0, (char *) 0 },
1774 { NOTHING, 0, 0, (char *) 0 },
1775 { NOTHING, 0, 0, (char *) 0 },
1776
1777 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
1778 { NOTHING, 0, 0, (char *) 0 },
1779 { NOTHING, 0, 0, (char *) 0 },
1780 { NOTHING, 0, 0, (char *) 0 },
1781 { NOTHING, 0, 0, (char *) 0 },
1782 { NOTHING, 0, 0, (char *) 0 },
1783 { NOTHING, 0, 0, (char *) 0 },
1784 { NOTHING, 0, 0, (char *) 0 },
1785
1786 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
1787 { NOTHING, 0, 0, (char *) 0 },
1788 { NOTHING, 0, 0, (char *) 0 },
1789 { NOTHING, 0, 0, (char *) 0 },
1790 { NOTHING, 0, 0, (char *) 0 },
1791 { NOTHING, 0, 0, (char *) 0 },
1792 { NOTHING, 0, 0, (char *) 0 },
1793 { NOTHING, 0, 0, (char *) 0 },
1794
1795 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
1796 { NOTHING, 0, 0, (char *) 0 },
1797 { NOTHING, 0, 0, (char *) 0 },
1798 { NOTHING, 0, 0, (char *) 0 },
1799 { NOTHING, 0, 0, (char *) 0 },
1800 { NOTHING, 0, 0, (char *) 0 },
1801 { NOTHING, 0, 0, (char *) 0 },
1802 { NOTHING, 0, 0, (char *) 0 },
1803
1804 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
1805 { NOTHING, 0, 0, (char *) 0 },
1806 { NOTHING, 0, 0, (char *) 0 },
1807 { NOTHING, 0, 0, (char *) 0 },
1808 { NOTHING, 0, 0, (char *) 0 },
1809 { NOTHING, 0, 0, (char *) 0 },
1810 { NOTHING, 0, 0, (char *) 0 },
1811 { NOTHING, 0, 0, (char *) 0 }
1812 };
1813
1814 KeyMap meta3_keys[] =
1815 {
1816 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
1817 { NOTHING, 0, 0, (char *) 0 },
1818 { NOTHING, 0, 0, (char *) 0 },
1819 { NOTHING, 0, 0, (char *) 0 },
1820 { NOTHING, 0, 0, (char *) 0 },
1821 { NOTHING, 0, 0, (char *) 0 },
1822 { NOTHING, 0, 0, (char *) 0 },
1823 { NOTHING, 0, 0, (char *) 0 },
1824
1825 { NOTHING, 0, 0, (char *) 0 }, /* 8 */
1826 { NOTHING, 0, 0, (char *) 0 },
1827 { NOTHING, 0, 0, (char *) 0 },
1828 { NOTHING, 0, 0, (char *) 0 },
1829 { NOTHING, 0, 0, (char *) 0 },
1830 { NOTHING, 0, 0, (char *) 0 },
1831 { NOTHING, 0, 0, (char *) 0 },
1832 { NOTHING, 0, 0, (char *) 0 },
1833
1834 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
1835 { NOTHING, 0, 0, (char *) 0 },
1836 { NOTHING, 0, 0, (char *) 0 },
1837 { NOTHING, 0, 0, (char *) 0 },
1838 { NOTHING, 0, 0, (char *) 0 },
1839 { NOTHING, 0, 0, (char *) 0 },
1840 { NOTHING, 0, 0, (char *) 0 },
1841 { NOTHING, 0, 0, (char *) 0 },
1842
1843 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
1844 { NOTHING, 0, 0, (char *) 0 },
1845 { NOTHING, 0, 0, (char *) 0 },
1846 { NOTHING, 0, 0, (char *) 0 },
1847 { NOTHING, 0, 0, (char *) 0 },
1848 { NOTHING, 0, 0, (char *) 0 },
1849 { NOTHING, 0, 0, (char *) 0 },
1850 { NOTHING, 0, 0, (char *) 0 },
1851
1852 { NOTHING, 0, 0, (char *) 0 }, /* 32 */
1853 { NOTHING, 0, 0, (char *) 0 },
1854 { NOTHING, 0, 0, (char *) 0 },
1855 { NOTHING, 0, 0, (char *) 0 },
1856 { NOTHING, 0, 0, (char *) 0 },
1857 { NOTHING, 0, 0, (char *) 0 },
1858 { NOTHING, 0, 0, (char *) 0 },
1859 { NOTHING, 0, 0, (char *) 0 },
1860
1861 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
1862 { NOTHING, 0, 0, (char *) 0 },
1863 { NOTHING, 0, 0, (char *) 0 },
1864 { NOTHING, 0, 0, (char *) 0 },
1865 { NOTHING, 0, 0, (char *) 0 },
1866 { NOTHING, 0, 0, (char *) 0 },
1867 { NOTHING, 0, 0, (char *) 0 },
1868 { NOTHING, 0, 0, (char *) 0 },
1869
1870 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
1871 { NOTHING, 0, 0, (char *) 0 },
1872 { NOTHING, 0, 0, (char *) 0 },
1873 { NOTHING, 0, 0, (char *) 0 },
1874 { NOTHING, 0, 0, (char *) 0 },
1875 { NOTHING, 0, 0, (char *) 0 },
1876 { NOTHING, 0, 0, (char *) 0 },
1877 { NOTHING, 0, 0, (char *) 0 },
1878
1879 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
1880 { NOTHING, 0, 0, (char *) 0 },
1881 { NOTHING, 0, 0, (char *) 0 },
1882 { NOTHING, 0, 0, (char *) 0 },
1883 { NOTHING, 0, 0, (char *) 0 },
1884 { NOTHING, 0, 0, (char *) 0 },
1885 { NOTHING, 0, 0, (char *) 0 },
1886 { NOTHING, 0, 0, (char *) 0 },
1887
1888 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
1889 { NOTHING, 0, 0, (char *) 0 },
1890 { NOTHING, 0, 0, (char *) 0 },
1891 { NOTHING, 0, 0, (char *) 0 },
1892 { NOTHING, 0, 0, (char *) 0 },
1893 { NOTHING, 0, 0, (char *) 0 },
1894 { NOTHING, 0, 0, (char *) 0 },
1895 { NOTHING, 0, 0, (char *) 0 },
1896
1897 { NOTHING, 0, 0, (char *) 0 }, /* 72 */
1898 { NOTHING, 0, 0, (char *) 0 },
1899 { NOTHING, 0, 0, (char *) 0 },
1900 { NOTHING, 0, 0, (char *) 0 },
1901 { NOTHING, 0, 0, (char *) 0 },
1902 { NOTHING, 0, 0, (char *) 0 },
1903 { NOTHING, 0, 0, (char *) 0 },
1904 { NOTHING, 0, 0, (char *) 0 },
1905
1906 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
1907 { NOTHING, 0, 0, (char *) 0 },
1908 { NOTHING, 0, 0, (char *) 0 },
1909 { NOTHING, 0, 0, (char *) 0 },
1910 { NOTHING, 0, 0, (char *) 0 },
1911 { NOTHING, 0, 0, (char *) 0 },
1912 { NOTHING, 0, 0, (char *) 0 },
1913 { NOTHING, 0, 0, (char *) 0 },
1914
1915 { NOTHING, 0, 0, (char *) 0 }, /* 88 */
1916 { NOTHING, 0, 0, (char *) 0 },
1917 { NOTHING, 0, 0, (char *) 0 },
1918 { NOTHING, 0, 0, (char *) 0 },
1919 { NOTHING, 0, 0, (char *) 0 },
1920 { NOTHING, 0, 0, (char *) 0 },
1921 { NOTHING, 0, 0, (char *) 0 },
1922 { NOTHING, 0, 0, (char *) 0 },
1923
1924 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
1925 { NOTHING, 0, 0, (char *) 0 },
1926 { NOTHING, 0, 0, (char *) 0 },
1927 { NOTHING, 0, 0, (char *) 0 },
1928 { NOTHING, 0, 0, (char *) 0 },
1929 { NOTHING, 0, 0, (char *) 0 },
1930 { NOTHING, 0, 0, (char *) 0 },
1931 { NOTHING, 0, 0, (char *) 0 },
1932
1933 { NOTHING, 0, 0, (char *) 0 }, /* 104 */
1934 { NOTHING, 0, 0, (char *) 0 },
1935 { NOTHING, 0, 0, (char *) 0 },
1936 { NOTHING, 0, 0, (char *) 0 },
1937 { NOTHING, 0, 0, (char *) 0 },
1938 { NOTHING, 0, 0, (char *) 0 },
1939 { NOTHING, 0, 0, (char *) 0 },
1940 { NOTHING, 0, 0, (char *) 0 },
1941
1942 { NOTHING, 0, 0, (char *) 0 }, /* 112 */
1943 { NOTHING, 0, 0, (char *) 0 },
1944 { NOTHING, 0, 0, (char *) 0 },
1945 { NOTHING, 0, 0, (char *) 0 },
1946 { NOTHING, 0, 0, (char *) 0 },
1947 { NOTHING, 0, 0, (char *) 0 },
1948 { NOTHING, 0, 0, (char *) 0 },
1949 { NOTHING, 0, 0, (char *) 0 },
1950
1951 { NOTHING, 0, 0, (char *) 0 }, /* 120 */
1952 { NOTHING, 0, 0, (char *) 0 },
1953 { NOTHING, 0, 0, (char *) 0 },
1954 { NOTHING, 0, 0, (char *) 0 },
1955 { NOTHING, 0, 0, (char *) 0 },
1956 { NOTHING, 0, 0, (char *) 0 },
1957 { NOTHING, 0, 0, (char *) 0 },
1958 { NOTHING, 0, 0, (char *) 0 },
1959
1960 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
1961 { NOTHING, 0, 0, (char *) 0 },
1962 { NOTHING, 0, 0, (char *) 0 },
1963 { NOTHING, 0, 0, (char *) 0 },
1964 { NOTHING, 0, 0, (char *) 0 },
1965 { NOTHING, 0, 0, (char *) 0 },
1966 { NOTHING, 0, 0, (char *) 0 },
1967 { NOTHING, 0, 0, (char *) 0 },
1968
1969 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
1970 { NOTHING, 0, 0, (char *) 0 },
1971 { NOTHING, 0, 0, (char *) 0 },
1972 { NOTHING, 0, 0, (char *) 0 },
1973 { NOTHING, 0, 0, (char *) 0 },
1974 { NOTHING, 0, 0, (char *) 0 },
1975 { NOTHING, 0, 0, (char *) 0 },
1976 { NOTHING, 0, 0, (char *) 0 },
1977
1978 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
1979 { NOTHING, 0, 0, (char *) 0 },
1980 { NOTHING, 0, 0, (char *) 0 },
1981 { NOTHING, 0, 0, (char *) 0 },
1982 { NOTHING, 0, 0, (char *) 0 },
1983 { NOTHING, 0, 0, (char *) 0 },
1984 { NOTHING, 0, 0, (char *) 0 },
1985 { NOTHING, 0, 0, (char *) 0 },
1986
1987 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
1988 { NOTHING, 0, 0, (char *) 0 },
1989 { NOTHING, 0, 0, (char *) 0 },
1990 { NOTHING, 0, 0, (char *) 0 },
1991 { NOTHING, 0, 0, (char *) 0 },
1992 { NOTHING, 0, 0, (char *) 0 },
1993 { NOTHING, 0, 0, (char *) 0 },
1994 { NOTHING, 0, 0, (char *) 0 },
1995
1996 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
1997 { NOTHING, 0, 0, (char *) 0 },
1998 { NOTHING, 0, 0, (char *) 0 },
1999 { NOTHING, 0, 0, (char *) 0 },
2000 { NOTHING, 0, 0, (char *) 0 },
2001 { NOTHING, 0, 0, (char *) 0 },
2002 { NOTHING, 0, 0, (char *) 0 },
2003 { NOTHING, 0, 0, (char *) 0 },
2004
2005 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
2006 { NOTHING, 0, 0, (char *) 0 },
2007 { NOTHING, 0, 0, (char *) 0 },
2008 { NOTHING, 0, 0, (char *) 0 },
2009 { NOTHING, 0, 0, (char *) 0 },
2010 { NOTHING, 0, 0, (char *) 0 },
2011 { NOTHING, 0, 0, (char *) 0 },
2012 { NOTHING, 0, 0, (char *) 0 },
2013
2014 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
2015 { NOTHING, 0, 0, (char *) 0 },
2016 { NOTHING, 0, 0, (char *) 0 },
2017 { NOTHING, 0, 0, (char *) 0 },
2018 { NOTHING, 0, 0, (char *) 0 },
2019 { NOTHING, 0, 0, (char *) 0 },
2020 { NOTHING, 0, 0, (char *) 0 },
2021 { NOTHING, 0, 0, (char *) 0 },
2022
2023 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
2024 { NOTHING, 0, 0, (char *) 0 },
2025 { NOTHING, 0, 0, (char *) 0 },
2026 { NOTHING, 0, 0, (char *) 0 },
2027 { NOTHING, 0, 0, (char *) 0 },
2028 { NOTHING, 0, 0, (char *) 0 },
2029 { NOTHING, 0, 0, (char *) 0 },
2030 { NOTHING, 0, 0, (char *) 0 },
2031
2032 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
2033 { NOTHING, 0, 0, (char *) 0 },
2034 { NOTHING, 0, 0, (char *) 0 },
2035 { NOTHING, 0, 0, (char *) 0 },
2036 { NOTHING, 0, 0, (char *) 0 },
2037 { NOTHING, 0, 0, (char *) 0 },
2038 { NOTHING, 0, 0, (char *) 0 },
2039 { NOTHING, 0, 0, (char *) 0 },
2040
2041 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
2042 { NOTHING, 0, 0, (char *) 0 },
2043 { NOTHING, 0, 0, (char *) 0 },
2044 { NOTHING, 0, 0, (char *) 0 },
2045 { NOTHING, 0, 0, (char *) 0 },
2046 { NOTHING, 0, 0, (char *) 0 },
2047 { NOTHING, 0, 0, (char *) 0 },
2048 { NOTHING, 0, 0, (char *) 0 },
2049
2050 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
2051 { NOTHING, 0, 0, (char *) 0 },
2052 { NOTHING, 0, 0, (char *) 0 },
2053 { NOTHING, 0, 0, (char *) 0 },
2054 { NOTHING, 0, 0, (char *) 0 },
2055 { NOTHING, 0, 0, (char *) 0 },
2056 { NOTHING, 0, 0, (char *) 0 },
2057 { NOTHING, 0, 0, (char *) 0 },
2058
2059 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
2060 { NOTHING, 0, 0, (char *) 0 },
2061 { NOTHING, 0, 0, (char *) 0 },
2062 { NOTHING, 0, 0, (char *) 0 },
2063 { NOTHING, 0, 0, (char *) 0 },
2064 { NOTHING, 0, 0, (char *) 0 },
2065 { NOTHING, 0, 0, (char *) 0 },
2066 { NOTHING, 0, 0, (char *) 0 },
2067
2068 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
2069 { NOTHING, 0, 0, (char *) 0 },
2070 { NOTHING, 0, 0, (char *) 0 },
2071 { NOTHING, 0, 0, (char *) 0 },
2072 { NOTHING, 0, 0, (char *) 0 },
2073 { NOTHING, 0, 0, (char *) 0 },
2074 { NOTHING, 0, 0, (char *) 0 },
2075 { NOTHING, 0, 0, (char *) 0 },
2076
2077 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
2078 { NOTHING, 0, 0, (char *) 0 },
2079 { NOTHING, 0, 0, (char *) 0 },
2080 { NOTHING, 0, 0, (char *) 0 },
2081 { NOTHING, 0, 0, (char *) 0 },
2082 { NOTHING, 0, 0, (char *) 0 },
2083 { NOTHING, 0, 0, (char *) 0 },
2084 { NOTHING, 0, 0, (char *) 0 },
2085
2086 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
2087 { NOTHING, 0, 0, (char *) 0 },
2088 { NOTHING, 0, 0, (char *) 0 },
2089 { NOTHING, 0, 0, (char *) 0 },
2090 { NOTHING, 0, 0, (char *) 0 },
2091 { NOTHING, 0, 0, (char *) 0 },
2092 { NOTHING, 0, 0, (char *) 0 },
2093 { NOTHING, 0, 0, (char *) 0 },
2094
2095 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
2096 { NOTHING, 0, 0, (char *) 0 },
2097 { NOTHING, 0, 0, (char *) 0 },
2098 { NOTHING, 0, 0, (char *) 0 },
2099 { NOTHING, 0, 0, (char *) 0 },
2100 { NOTHING, 0, 0, (char *) 0 },
2101 { NOTHING, 0, 0, (char *) 0 },
2102 { NOTHING, 0, 0, (char *) 0 }
2103 };
2104
2105 KeyMap meta4_keys[] =
2106 {
2107 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
2108 { NOTHING, 0, 0, (char *) 0 },
2109 { NOTHING, 0, 0, (char *) 0 },
2110 { NOTHING, 0, 0, (char *) 0 },
2111 { NOTHING, 0, 0, (char *) 0 },
2112 { NOTHING, 0, 0, (char *) 0 },
2113 { NOTHING, 0, 0, (char *) 0 },
2114 { NOTHING, 0, 0, (char *) 0 },
2115
2116 { BACKWARD_CHARACTER, 0, 0, (char *) 0 }, /* 8 */
2117 { NOTHING, 0, 0, (char *) 0 },
2118 { NOTHING, 0, 0, (char *) 0 },
2119 { NOTHING, 0, 0, (char *) 0 },
2120 { NOTHING, 0, 0, (char *) 0 },
2121 { NOTHING, 0, 0, (char *) 0 },
2122 { NOTHING, 0, 0, (char *) 0 },
2123 { NOTHING, 0, 0, (char *) 0 },
2124
2125 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
2126 { NOTHING, 0, 0, (char *) 0 },
2127 { NOTHING, 0, 0, (char *) 0 },
2128 { NOTHING, 0, 0, (char *) 0 },
2129 { NOTHING, 0, 0, (char *) 0 },
2130 { NOTHING, 0, 0, (char *) 0 },
2131 { NOTHING, 0, 0, (char *) 0 },
2132 { NOTHING, 0, 0, (char *) 0 },
2133
2134 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
2135 { NOTHING, 0, 0, (char *) 0 },
2136 { NOTHING, 0, 0, (char *) 0 },
2137 { NOTHING, 0, 0, (char *) 0 },
2138 { NOTHING, 0, 0, (char *) 0 },
2139 { NOTHING, 0, 0, (char *) 0 },
2140 { NOTHING, 0, 0, (char *) 0 },
2141 { NOTHING, 0, 0, (char *) 0 },
2142
2143 { FORWARD_CHARACTER, 0, 0, (char *) 0 }, /* 32 */
2144 { NOTHING, 0, 0, (char *) 0 },
2145 { NOTHING, 0, 0, (char *) 0 },
2146 { NOTHING, 0, 0, (char *) 0 },
2147 { NOTHING, 0, 0, (char *) 0 },
2148 { NOTHING, 0, 0, (char *) 0 },
2149 { NOTHING, 0, 0, (char *) 0 },
2150 { NOTHING, 0, 0, (char *) 0 },
2151
2152 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
2153 { NOTHING, 0, 0, (char *) 0 },
2154 { NOTHING, 0, 0, (char *) 0 },
2155 { NOTHING, 0, 0, (char *) 0 },
2156 { NOTHING, 0, 0, (char *) 0 },
2157 { NOTHING, 0, 0, (char *) 0 },
2158 { NOTHING, 0, 0, (char *) 0 },
2159 { NOTHING, 0, 0, (char *) 0 },
2160
2161 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
2162 { NOTHING, 0, 0, (char *) 0 },
2163 { NOTHING, 0, 0, (char *) 0 },
2164 { NOTHING, 0, 0, (char *) 0 },
2165 { NOTHING, 0, 0, (char *) 0 },
2166 { NOTHING, 0, 0, (char *) 0 },
2167 { NOTHING, 0, 0, (char *) 0 },
2168 { NOTHING, 0, 0, (char *) 0 },
2169
2170 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
2171 { NOTHING, 0, 0, (char *) 0 },
2172 { NOTHING, 0, 0, (char *) 0 },
2173 { NOTHING, 0, 0, (char *) 0 },
2174 { NOTHING, 0, 0, (char *) 0 },
2175 { NOTHING, 0, 0, (char *) 0 },
2176 { NOTHING, 0, 0, (char *) 0 },
2177 { NOTHING, 0, 0, (char *) 0 },
2178
2179 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
2180 { META4_CHARACTER, 0, 0, (char *) 0 },
2181 { NOTHING, 0, 0, (char *) 0 },
2182 { NOTHING, 0, 0, (char *) 0 },
2183 { NOTHING, 0, 0, (char *) 0 },
2184 { NOTHING, 0, 0, (char *) 0 },
2185 { NOTHING, 0, 0, (char *) 0 },
2186 { NOTHING, 0, 0, (char *) 0 },
2187
2188 { BACKWARD_CHARACTER, 0, 0, (char *) 0 }, /* 72 */
2189 { META4_CHARACTER, 0, 0, (char *) 0 },
2190 { FORWARD_HISTORY, 0, 0, (char *) 0 },
2191 { BACKWARD_HISTORY, 0, 0, (char *) 0 },
2192 { FORWARD_CHARACTER, 0, 0, (char *) 0 },
2193 { NOTHING, 0, 0, (char *) 0 },
2194 { NOTHING, 0, 0, (char *) 0 },
2195 { NOTHING, 0, 0, (char *) 0 },
2196
2197 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
2198 { NOTHING, 0, 0, (char *) 0 },
2199 { NOTHING, 0, 0, (char *) 0 },
2200 { NOTHING, 0, 0, (char *) 0 },
2201 { NOTHING, 0, 0, (char *) 0 },
2202 { NOTHING, 0, 0, (char *) 0 },
2203 { NOTHING, 0, 0, (char *) 0 },
2204 { NOTHING, 0, 0, (char *) 0 },
2205
2206 { DELETE_CHARACTER, 0, 0, (char *) 0 }, /* 88 */
2207 { NOTHING, 0, 0, (char *) 0 },
2208 { NOTHING, 0, 0, (char *) 0 },
2209 { NOTHING, 0, 0, (char *) 0 },
2210 { NOTHING, 0, 0, (char *) 0 },
2211 { NOTHING, 0, 0, (char *) 0 },
2212 { NOTHING, 0, 0, (char *) 0 },
2213 { NOTHING, 0, 0, (char *) 0 },
2214
2215 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
2216 { META4_CHARACTER, 0, 0, (char *) 0 },
2217 { NOTHING, 0, 0, (char *) 0 },
2218 { NOTHING, 0, 0, (char *) 0 },
2219 { NOTHING, 0, 0, (char *) 0 },
2220 { NOTHING, 0, 0, (char *) 0 },
2221 { NOTHING, 0, 0, (char *) 0 },
2222 { NOTHING, 0, 0, (char *) 0 },
2223
2224 { BACKWARD_CHARACTER, 0, 0, (char *) 0 }, /* 104 */
2225 { META4_CHARACTER, 0, 0, (char *) 0 },
2226 { FORWARD_HISTORY, 0, 0, (char *) 0 },
2227 { BACKWARD_HISTORY, 0, 0, (char *) 0 },
2228 { FORWARD_CHARACTER, 0, 0, (char *) 0 },
2229 { NOTHING, 0, 0, (char *) 0 },
2230 { NOTHING, 0, 0, (char *) 0 },
2231 { NOTHING, 0, 0, (char *) 0 },
2232
2233 { NOTHING, 0, 0, (char *) 0 }, /* 112 */
2234 { NOTHING, 0, 0, (char *) 0 },
2235 { NOTHING, 0, 0, (char *) 0 },
2236 { NOTHING, 0, 0, (char *) 0 },
2237 { NOTHING, 0, 0, (char *) 0 },
2238 { NOTHING, 0, 0, (char *) 0 },
2239 { NOTHING, 0, 0, (char *) 0 },
2240 { NOTHING, 0, 0, (char *) 0 },
2241
2242 { DELETE_CHARACTER, 0, 0, (char *) 0 }, /* 120 */
2243 { NOTHING, 0, 0, (char *) 0 },
2244 { NOTHING, 0, 0, (char *) 0 },
2245 { NOTHING, 0, 0, (char *) 0 },
2246 { NOTHING, 0, 0, (char *) 0 },
2247 { NOTHING, 0, 0, (char *) 0 },
2248 { NOTHING, 0, 0, (char *) 0 },
2249 { NOTHING, 0, 0, (char *) 0 },
2250
2251 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
2252 { NOTHING, 0, 0, (char *) 0 },
2253 { NOTHING, 0, 0, (char *) 0 },
2254 { NOTHING, 0, 0, (char *) 0 },
2255 { NOTHING, 0, 0, (char *) 0 },
2256 { NOTHING, 0, 0, (char *) 0 },
2257 { NOTHING, 0, 0, (char *) 0 },
2258 { NOTHING, 0, 0, (char *) 0 },
2259
2260 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
2261 { NOTHING, 0, 0, (char *) 0 },
2262 { NOTHING, 0, 0, (char *) 0 },
2263 { NOTHING, 0, 0, (char *) 0 },
2264 { NOTHING, 0, 0, (char *) 0 },
2265 { NOTHING, 0, 0, (char *) 0 },
2266 { NOTHING, 0, 0, (char *) 0 },
2267 { NOTHING, 0, 0, (char *) 0 },
2268
2269 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
2270 { NOTHING, 0, 0, (char *) 0 },
2271 { NOTHING, 0, 0, (char *) 0 },
2272 { NOTHING, 0, 0, (char *) 0 },
2273 { NOTHING, 0, 0, (char *) 0 },
2274 { NOTHING, 0, 0, (char *) 0 },
2275 { NOTHING, 0, 0, (char *) 0 },
2276 { NOTHING, 0, 0, (char *) 0 },
2277
2278 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
2279 { NOTHING, 0, 0, (char *) 0 },
2280 { NOTHING, 0, 0, (char *) 0 },
2281 { NOTHING, 0, 0, (char *) 0 },
2282 { NOTHING, 0, 0, (char *) 0 },
2283 { NOTHING, 0, 0, (char *) 0 },
2284 { NOTHING, 0, 0, (char *) 0 },
2285 { NOTHING, 0, 0, (char *) 0 },
2286
2287 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
2288 { NOTHING, 0, 0, (char *) 0 },
2289 { NOTHING, 0, 0, (char *) 0 },
2290 { NOTHING, 0, 0, (char *) 0 },
2291 { NOTHING, 0, 0, (char *) 0 },
2292 { NOTHING, 0, 0, (char *) 0 },
2293 { NOTHING, 0, 0, (char *) 0 },
2294 { NOTHING, 0, 0, (char *) 0 },
2295
2296 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
2297 { NOTHING, 0, 0, (char *) 0 },
2298 { NOTHING, 0, 0, (char *) 0 },
2299 { NOTHING, 0, 0, (char *) 0 },
2300 { NOTHING, 0, 0, (char *) 0 },
2301 { NOTHING, 0, 0, (char *) 0 },
2302 { NOTHING, 0, 0, (char *) 0 },
2303 { NOTHING, 0, 0, (char *) 0 },
2304
2305 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
2306 { NOTHING, 0, 0, (char *) 0 },
2307 { NOTHING, 0, 0, (char *) 0 },
2308 { NOTHING, 0, 0, (char *) 0 },
2309 { NOTHING, 0, 0, (char *) 0 },
2310 { NOTHING, 0, 0, (char *) 0 },
2311 { NOTHING, 0, 0, (char *) 0 },
2312 { NOTHING, 0, 0, (char *) 0 },
2313
2314 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
2315 { NOTHING, 0, 0, (char *) 0 },
2316 { NOTHING, 0, 0, (char *) 0 },
2317 { NOTHING, 0, 0, (char *) 0 },
2318 { NOTHING, 0, 0, (char *) 0 },
2319 { NOTHING, 0, 0, (char *) 0 },
2320 { NOTHING, 0, 0, (char *) 0 },
2321 { NOTHING, 0, 0, (char *) 0 },
2322
2323 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
2324 { NOTHING, 0, 0, (char *) 0 },
2325 { NOTHING, 0, 0, (char *) 0 },
2326 { NOTHING, 0, 0, (char *) 0 },
2327 { NOTHING, 0, 0, (char *) 0 },
2328 { NOTHING, 0, 0, (char *) 0 },
2329 { NOTHING, 0, 0, (char *) 0 },
2330 { NOTHING, 0, 0, (char *) 0 },
2331
2332 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
2333 { NOTHING, 0, 0, (char *) 0 },
2334 { NOTHING, 0, 0, (char *) 0 },
2335 { NOTHING, 0, 0, (char *) 0 },
2336 { NOTHING, 0, 0, (char *) 0 },
2337 { NOTHING, 0, 0, (char *) 0 },
2338 { NOTHING, 0, 0, (char *) 0 },
2339 { NOTHING, 0, 0, (char *) 0 },
2340
2341 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
2342 { NOTHING, 0, 0, (char *) 0 },
2343 { NOTHING, 0, 0, (char *) 0 },
2344 { NOTHING, 0, 0, (char *) 0 },
2345 { NOTHING, 0, 0, (char *) 0 },
2346 { NOTHING, 0, 0, (char *) 0 },
2347 { NOTHING, 0, 0, (char *) 0 },
2348 { NOTHING, 0, 0, (char *) 0 },
2349
2350 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
2351 { NOTHING, 0, 0, (char *) 0 },
2352 { NOTHING, 0, 0, (char *) 0 },
2353 { NOTHING, 0, 0, (char *) 0 },
2354 { NOTHING, 0, 0, (char *) 0 },
2355 { NOTHING, 0, 0, (char *) 0 },
2356 { NOTHING, 0, 0, (char *) 0 },
2357 { NOTHING, 0, 0, (char *) 0 },
2358
2359 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
2360 { NOTHING, 0, 0, (char *) 0 },
2361 { NOTHING, 0, 0, (char *) 0 },
2362 { NOTHING, 0, 0, (char *) 0 },
2363 { NOTHING, 0, 0, (char *) 0 },
2364 { NOTHING, 0, 0, (char *) 0 },
2365 { NOTHING, 0, 0, (char *) 0 },
2366 { NOTHING, 0, 0, (char *) 0 },
2367
2368 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
2369 { NOTHING, 0, 0, (char *) 0 },
2370 { NOTHING, 0, 0, (char *) 0 },
2371 { NOTHING, 0, 0, (char *) 0 },
2372 { NOTHING, 0, 0, (char *) 0 },
2373 { NOTHING, 0, 0, (char *) 0 },
2374 { NOTHING, 0, 0, (char *) 0 },
2375 { NOTHING, 0, 0, (char *) 0 },
2376
2377 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
2378 { NOTHING, 0, 0, (char *) 0 },
2379 { NOTHING, 0, 0, (char *) 0 },
2380 { NOTHING, 0, 0, (char *) 0 },
2381 { NOTHING, 0, 0, (char *) 0 },
2382 { NOTHING, 0, 0, (char *) 0 },
2383 { NOTHING, 0, 0, (char *) 0 },
2384 { NOTHING, 0, 0, (char *) 0 },
2385
2386 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
2387 { NOTHING, 0, 0, (char *) 0 },
2388 { NOTHING, 0, 0, (char *) 0 },
2389 { NOTHING, 0, 0, (char *) 0 },
2390 { NOTHING, 0, 0, (char *) 0 },
2391 { NOTHING, 0, 0, (char *) 0 },
2392 { NOTHING, 0, 0, (char *) 0 },
2393 { NOTHING, 0, 0, (char *) 0 }
2394 };
2395
2396 /**************************** PATCHED by Flier ******************************/
2397 KeyMap meta5_keys[] =
2398 {
2399 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
2400 { NOTHING, 0, 0, (char *) 0 },
2401 { NOTHING, 0, 0, (char *) 0 },
2402 { NOTHING, 0, 0, (char *) 0 },
2403 { NOTHING, 0, 0, (char *) 0 },
2404 { NOTHING, 0, 0, (char *) 0 },
2405 { NOTHING, 0, 0, (char *) 0 },
2406 { NOTHING, 0, 0, (char *) 0 },
2407
2408 { NOTHING, 0, 0, (char *) 0 }, /* 8 */
2409 { NOTHING, 0, 0, (char *) 0 },
2410 { NOTHING, 0, 0, (char *) 0 },
2411 { NOTHING, 0, 0, (char *) 0 },
2412 { NOTHING, 0, 0, (char *) 0 },
2413 { NOTHING, 0, 0, (char *) 0 },
2414 { NOTHING, 0, 0, (char *) 0 },
2415 { NOTHING, 0, 0, (char *) 0 },
2416
2417 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
2418 { NOTHING, 0, 0, (char *) 0 },
2419 { NOTHING, 0, 0, (char *) 0 },
2420 { NOTHING, 0, 0, (char *) 0 },
2421 { NOTHING, 0, 0, (char *) 0 },
2422 { NOTHING, 0, 0, (char *) 0 },
2423 { NOTHING, 0, 0, (char *) 0 },
2424 { NOTHING, 0, 0, (char *) 0 },
2425
2426 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
2427 { NOTHING, 0, 0, (char *) 0 },
2428 { NOTHING, 0, 0, (char *) 0 },
2429 { NOTHING, 0, 0, (char *) 0 },
2430 { NOTHING, 0, 0, (char *) 0 },
2431 { NOTHING, 0, 0, (char *) 0 },
2432 { NOTHING, 0, 0, (char *) 0 },
2433 { NOTHING, 0, 0, (char *) 0 },
2434
2435 { NOTHING, 0, 0, (char *) 0 }, /* 32 */
2436 { NOTHING, 0, 0, (char *) 0 },
2437 { NOTHING, 0, 0, (char *) 0 },
2438 { NOTHING, 0, 0, (char *) 0 },
2439 { NOTHING, 0, 0, (char *) 0 },
2440 { NOTHING, 0, 0, (char *) 0 },
2441 { NOTHING, 0, 0, (char *) 0 },
2442 { NOTHING, 0, 0, (char *) 0 },
2443
2444 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
2445 { NOTHING, 0, 0, (char *) 0 },
2446 { NOTHING, 0, 0, (char *) 0 },
2447 { NOTHING, 0, 0, (char *) 0 },
2448 { NOTHING, 0, 0, (char *) 0 },
2449 { NOTHING, 0, 0, (char *) 0 },
2450 { NOTHING, 0, 0, (char *) 0 },
2451 { NOTHING, 0, 0, (char *) 0 },
2452
2453 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
2454 { NOTHING, 0, 0, (char *) 0 },
2455 { NOTHING, 0, 0, (char *) 0 },
2456 { NOTHING, 0, 0, (char *) 0 },
2457 { NOTHING, 0, 0, (char *) 0 },
2458 { NOTHING, 0, 0, (char *) 0 },
2459 { NOTHING, 0, 0, (char *) 0 },
2460 { NOTHING, 0, 0, (char *) 0 },
2461
2462 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
2463 { NOTHING, 0, 0, (char *) 0 },
2464 { NOTHING, 0, 0, (char *) 0 },
2465 { NOTHING, 0, 0, (char *) 0 },
2466 { NOTHING, 0, 0, (char *) 0 },
2467 { NOTHING, 0, 0, (char *) 0 },
2468 { NOTHING, 0, 0, (char *) 0 },
2469 { NOTHING, 0, 0, (char *) 0 },
2470
2471 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
2472 { NOTHING, 0, 0, (char *) 0 },
2473 { NOTHING, 0, 0, (char *) 0 },
2474 { NOTHING, 0, 0, (char *) 0 },
2475 { NOTHING, 0, 0, (char *) 0 },
2476 { NOTHING, 0, 0, (char *) 0 },
2477 { NOTHING, 0, 0, (char *) 0 },
2478 { NOTHING, 0, 0, (char *) 0 },
2479
2480 { NOTHING, 0, 0, (char *) 0 }, /* 72 */
2481 { NOTHING, 0, 0, (char *) 0 },
2482 { NOTHING, 0, 0, (char *) 0 },
2483 { NOTHING, 0, 0, (char *) 0 },
2484 { NOTHING, 0, 0, (char *) 0 },
2485 { NOTHING, 0, 0, (char *) 0 },
2486 { NOTHING, 0, 0, (char *) 0 },
2487 { NOTHING, 0, 0, (char *) 0 },
2488
2489 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
2490 { NOTHING, 0, 0, (char *) 0 },
2491 { NOTHING, 0, 0, (char *) 0 },
2492 { NOTHING, 0, 0, (char *) 0 },
2493 { NOTHING, 0, 0, (char *) 0 },
2494 { NOTHING, 0, 0, (char *) 0 },
2495 { NOTHING, 0, 0, (char *) 0 },
2496 { NOTHING, 0, 0, (char *) 0 },
2497
2498 { NOTHING, 0, 0, (char *) 0 }, /* 88 */
2499 { NOTHING, 0, 0, (char *) 0 },
2500 { NOTHING, 0, 0, (char *) 0 },
2501 { NOTHING, 0, 0, (char *) 0 },
2502 { NOTHING, 0, 0, (char *) 0 },
2503 { NOTHING, 0, 0, (char *) 0 },
2504 { NOTHING, 0, 0, (char *) 0 },
2505 { NOTHING, 0, 0, (char *) 0 },
2506
2507 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
2508 { NOTHING, 0, 0, (char *) 0 },
2509 { NOTHING, 0, 0, (char *) 0 },
2510 { NOTHING, 0, 0, (char *) 0 },
2511 { NOTHING, 0, 0, (char *) 0 },
2512 { NOTHING, 0, 0, (char *) 0 },
2513 { NOTHING, 0, 0, (char *) 0 },
2514 { NOTHING, 0, 0, (char *) 0 },
2515
2516 { NOTHING, 0, 0, (char *) 0 }, /* 104 */
2517 { NOTHING, 0, 0, (char *) 0 },
2518 { NOTHING, 0, 0, (char *) 0 },
2519 { NOTHING, 0, 0, (char *) 0 },
2520 { NOTHING, 0, 0, (char *) 0 },
2521 { NOTHING, 0, 0, (char *) 0 },
2522 { NOTHING, 0, 0, (char *) 0 },
2523 { NOTHING, 0, 0, (char *) 0 },
2524
2525 { NOTHING, 0, 0, (char *) 0 }, /* 112 */
2526 { NOTHING, 0, 0, (char *) 0 },
2527 { NOTHING, 0, 0, (char *) 0 },
2528 { NOTHING, 0, 0, (char *) 0 },
2529 { NOTHING, 0, 0, (char *) 0 },
2530 { NOTHING, 0, 0, (char *) 0 },
2531 { NOTHING, 0, 0, (char *) 0 },
2532 { NOTHING, 0, 0, (char *) 0 },
2533
2534 { NOTHING, 0, 0, (char *) 0 }, /* 120 */
2535 { NOTHING, 0, 0, (char *) 0 },
2536 { NOTHING, 0, 0, (char *) 0 },
2537 { NOTHING, 0, 0, (char *) 0 },
2538 { NOTHING, 0, 0, (char *) 0 },
2539 { NOTHING, 0, 0, (char *) 0 },
2540 { NOTHING, 0, 0, (char *) 0 },
2541 { NOTHING, 0, 0, (char *) 0 },
2542
2543 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
2544 { NOTHING, 0, 0, (char *) 0 },
2545 { NOTHING, 0, 0, (char *) 0 },
2546 { NOTHING, 0, 0, (char *) 0 },
2547 { NOTHING, 0, 0, (char *) 0 },
2548 { NOTHING, 0, 0, (char *) 0 },
2549 { NOTHING, 0, 0, (char *) 0 },
2550 { NOTHING, 0, 0, (char *) 0 },
2551
2552 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
2553 { NOTHING, 0, 0, (char *) 0 },
2554 { NOTHING, 0, 0, (char *) 0 },
2555 { NOTHING, 0, 0, (char *) 0 },
2556 { NOTHING, 0, 0, (char *) 0 },
2557 { NOTHING, 0, 0, (char *) 0 },
2558 { NOTHING, 0, 0, (char *) 0 },
2559 { NOTHING, 0, 0, (char *) 0 },
2560
2561 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
2562 { NOTHING, 0, 0, (char *) 0 },
2563 { NOTHING, 0, 0, (char *) 0 },
2564 { NOTHING, 0, 0, (char *) 0 },
2565 { NOTHING, 0, 0, (char *) 0 },
2566 { NOTHING, 0, 0, (char *) 0 },
2567 { NOTHING, 0, 0, (char *) 0 },
2568 { NOTHING, 0, 0, (char *) 0 },
2569
2570 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
2571 { NOTHING, 0, 0, (char *) 0 },
2572 { NOTHING, 0, 0, (char *) 0 },
2573 { NOTHING, 0, 0, (char *) 0 },
2574 { NOTHING, 0, 0, (char *) 0 },
2575 { NOTHING, 0, 0, (char *) 0 },
2576 { NOTHING, 0, 0, (char *) 0 },
2577 { NOTHING, 0, 0, (char *) 0 },
2578
2579 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
2580 { NOTHING, 0, 0, (char *) 0 },
2581 { NOTHING, 0, 0, (char *) 0 },
2582 { NOTHING, 0, 0, (char *) 0 },
2583 { NOTHING, 0, 0, (char *) 0 },
2584 { NOTHING, 0, 0, (char *) 0 },
2585 { NOTHING, 0, 0, (char *) 0 },
2586 { NOTHING, 0, 0, (char *) 0 },
2587
2588 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
2589 { NOTHING, 0, 0, (char *) 0 },
2590 { NOTHING, 0, 0, (char *) 0 },
2591 { NOTHING, 0, 0, (char *) 0 },
2592 { NOTHING, 0, 0, (char *) 0 },
2593 { NOTHING, 0, 0, (char *) 0 },
2594 { NOTHING, 0, 0, (char *) 0 },
2595 { NOTHING, 0, 0, (char *) 0 },
2596
2597 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
2598 { NOTHING, 0, 0, (char *) 0 },
2599 { NOTHING, 0, 0, (char *) 0 },
2600 { NOTHING, 0, 0, (char *) 0 },
2601 { NOTHING, 0, 0, (char *) 0 },
2602 { NOTHING, 0, 0, (char *) 0 },
2603 { NOTHING, 0, 0, (char *) 0 },
2604 { NOTHING, 0, 0, (char *) 0 },
2605
2606 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
2607 { NOTHING, 0, 0, (char *) 0 },
2608 { NOTHING, 0, 0, (char *) 0 },
2609 { NOTHING, 0, 0, (char *) 0 },
2610 { NOTHING, 0, 0, (char *) 0 },
2611 { NOTHING, 0, 0, (char *) 0 },
2612 { NOTHING, 0, 0, (char *) 0 },
2613 { NOTHING, 0, 0, (char *) 0 },
2614
2615 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
2616 { NOTHING, 0, 0, (char *) 0 },
2617 { NOTHING, 0, 0, (char *) 0 },
2618 { NOTHING, 0, 0, (char *) 0 },
2619 { NOTHING, 0, 0, (char *) 0 },
2620 { NOTHING, 0, 0, (char *) 0 },
2621 { NOTHING, 0, 0, (char *) 0 },
2622 { NOTHING, 0, 0, (char *) 0 },
2623
2624 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
2625 { NOTHING, 0, 0, (char *) 0 },
2626 { NOTHING, 0, 0, (char *) 0 },
2627 { NOTHING, 0, 0, (char *) 0 },
2628 { NOTHING, 0, 0, (char *) 0 },
2629 { NOTHING, 0, 0, (char *) 0 },
2630 { NOTHING, 0, 0, (char *) 0 },
2631 { NOTHING, 0, 0, (char *) 0 },
2632
2633 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
2634 { NOTHING, 0, 0, (char *) 0 },
2635 { NOTHING, 0, 0, (char *) 0 },
2636 { NOTHING, 0, 0, (char *) 0 },
2637 { NOTHING, 0, 0, (char *) 0 },
2638 { NOTHING, 0, 0, (char *) 0 },
2639 { NOTHING, 0, 0, (char *) 0 },
2640 { NOTHING, 0, 0, (char *) 0 },
2641
2642 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
2643 { NOTHING, 0, 0, (char *) 0 },
2644 { NOTHING, 0, 0, (char *) 0 },
2645 { NOTHING, 0, 0, (char *) 0 },
2646 { NOTHING, 0, 0, (char *) 0 },
2647 { NOTHING, 0, 0, (char *) 0 },
2648 { NOTHING, 0, 0, (char *) 0 },
2649 { NOTHING, 0, 0, (char *) 0 },
2650
2651 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
2652 { NOTHING, 0, 0, (char *) 0 },
2653 { NOTHING, 0, 0, (char *) 0 },
2654 { NOTHING, 0, 0, (char *) 0 },
2655 { NOTHING, 0, 0, (char *) 0 },
2656 { NOTHING, 0, 0, (char *) 0 },
2657 { NOTHING, 0, 0, (char *) 0 },
2658 { NOTHING, 0, 0, (char *) 0 },
2659
2660 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
2661 { NOTHING, 0, 0, (char *) 0 },
2662 { NOTHING, 0, 0, (char *) 0 },
2663 { NOTHING, 0, 0, (char *) 0 },
2664 { NOTHING, 0, 0, (char *) 0 },
2665 { NOTHING, 0, 0, (char *) 0 },
2666 { NOTHING, 0, 0, (char *) 0 },
2667 { NOTHING, 0, 0, (char *) 0 },
2668
2669 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
2670 { NOTHING, 0, 0, (char *) 0 },
2671 { NOTHING, 0, 0, (char *) 0 },
2672 { NOTHING, 0, 0, (char *) 0 },
2673 { NOTHING, 0, 0, (char *) 0 },
2674 { NOTHING, 0, 0, (char *) 0 },
2675 { NOTHING, 0, 0, (char *) 0 },
2676 { NOTHING, 0, 0, (char *) 0 },
2677
2678 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
2679 { NOTHING, 0, 0, (char *) 0 },
2680 { NOTHING, 0, 0, (char *) 0 },
2681 { NOTHING, 0, 0, (char *) 0 },
2682 { NOTHING, 0, 0, (char *) 0 },
2683 { NOTHING, 0, 0, (char *) 0 },
2684 { NOTHING, 0, 0, (char *) 0 },
2685 { NOTHING, 0, 0, (char *) 0 }
2686 };
2687
2688 #ifndef LITE
2689 KeyMap meta6_keys[] =
2690 {
2691 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
2692 { NOTHING, 0, 0, (char *) 0 },
2693 { NOTHING, 0, 0, (char *) 0 },
2694 { NOTHING, 0, 0, (char *) 0 },
2695 { NOTHING, 0, 0, (char *) 0 },
2696 { NOTHING, 0, 0, (char *) 0 },
2697 { NOTHING, 0, 0, (char *) 0 },
2698 { NOTHING, 0, 0, (char *) 0 },
2699
2700 { NOTHING, 0, 0, (char *) 0 }, /* 8 */
2701 { NOTHING, 0, 0, (char *) 0 },
2702 { NOTHING, 0, 0, (char *) 0 },
2703 { NOTHING, 0, 0, (char *) 0 },
2704 { NOTHING, 0, 0, (char *) 0 },
2705 { NOTHING, 0, 0, (char *) 0 },
2706 { NOTHING, 0, 0, (char *) 0 },
2707 { NOTHING, 0, 0, (char *) 0 },
2708
2709 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
2710 { NOTHING, 0, 0, (char *) 0 },
2711 { NOTHING, 0, 0, (char *) 0 },
2712 { NOTHING, 0, 0, (char *) 0 },
2713 { NOTHING, 0, 0, (char *) 0 },
2714 { NOTHING, 0, 0, (char *) 0 },
2715 { NOTHING, 0, 0, (char *) 0 },
2716 { NOTHING, 0, 0, (char *) 0 },
2717
2718 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
2719 { NOTHING, 0, 0, (char *) 0 },
2720 { NOTHING, 0, 0, (char *) 0 },
2721 { NOTHING, 0, 0, (char *) 0 },
2722 { NOTHING, 0, 0, (char *) 0 },
2723 { NOTHING, 0, 0, (char *) 0 },
2724 { NOTHING, 0, 0, (char *) 0 },
2725 { NOTHING, 0, 0, (char *) 0 },
2726
2727 { NOTHING, 0, 0, (char *) 0 }, /* 32 */
2728 { NOTHING, 0, 0, (char *) 0 },
2729 { NOTHING, 0, 0, (char *) 0 },
2730 { NOTHING, 0, 0, (char *) 0 },
2731 { NOTHING, 0, 0, (char *) 0 },
2732 { NOTHING, 0, 0, (char *) 0 },
2733 { NOTHING, 0, 0, (char *) 0 },
2734 { NOTHING, 0, 0, (char *) 0 },
2735
2736 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
2737 { NOTHING, 0, 0, (char *) 0 },
2738 { NOTHING, 0, 0, (char *) 0 },
2739 { NOTHING, 0, 0, (char *) 0 },
2740 { NOTHING, 0, 0, (char *) 0 },
2741 { NOTHING, 0, 0, (char *) 0 },
2742 { NOTHING, 0, 0, (char *) 0 },
2743 { NOTHING, 0, 0, (char *) 0 },
2744
2745 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
2746 { NOTHING, 0, 0, (char *) 0 },
2747 { NOTHING, 0, 0, (char *) 0 },
2748 { NOTHING, 0, 0, (char *) 0 },
2749 { NOTHING, 0, 0, (char *) 0 },
2750 { NOTHING, 0, 0, (char *) 0 },
2751 { NOTHING, 0, 0, (char *) 0 },
2752 { NOTHING, 0, 0, (char *) 0 },
2753
2754 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
2755 { NOTHING, 0, 0, (char *) 0 },
2756 { NOTHING, 0, 0, (char *) 0 },
2757 { NOTHING, 0, 0, (char *) 0 },
2758 { NOTHING, 0, 0, (char *) 0 },
2759 { NOTHING, 0, 0, (char *) 0 },
2760 { NOTHING, 0, 0, (char *) 0 },
2761 { NOTHING, 0, 0, (char *) 0 },
2762
2763 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
2764 { NOTHING, 0, 0, (char *) 0 },
2765 { NOTHING, 0, 0, (char *) 0 },
2766 { NOTHING, 0, 0, (char *) 0 },
2767 { NOTHING, 0, 0, (char *) 0 },
2768 { NOTHING, 0, 0, (char *) 0 },
2769 { NOTHING, 0, 0, (char *) 0 },
2770 { NOTHING, 0, 0, (char *) 0 },
2771
2772 { NOTHING, 0, 0, (char *) 0 }, /* 72 */
2773 { NOTHING, 0, 0, (char *) 0 },
2774 { NOTHING, 0, 0, (char *) 0 },
2775 { NOTHING, 0, 0, (char *) 0 },
2776 { NOTHING, 0, 0, (char *) 0 },
2777 { NOTHING, 0, 0, (char *) 0 },
2778 { NOTHING, 0, 0, (char *) 0 },
2779 { NOTHING, 0, 0, (char *) 0 },
2780
2781 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
2782 { NOTHING, 0, 0, (char *) 0 },
2783 { NOTHING, 0, 0, (char *) 0 },
2784 { NOTHING, 0, 0, (char *) 0 },
2785 { NOTHING, 0, 0, (char *) 0 },
2786 { NOTHING, 0, 0, (char *) 0 },
2787 { NOTHING, 0, 0, (char *) 0 },
2788 { NOTHING, 0, 0, (char *) 0 },
2789
2790 { NOTHING, 0, 0, (char *) 0 }, /* 88 */
2791 { NOTHING, 0, 0, (char *) 0 },
2792 { NOTHING, 0, 0, (char *) 0 },
2793 { NOTHING, 0, 0, (char *) 0 },
2794 { NOTHING, 0, 0, (char *) 0 },
2795 { NOTHING, 0, 0, (char *) 0 },
2796 { NOTHING, 0, 0, (char *) 0 },
2797 { NOTHING, 0, 0, (char *) 0 },
2798
2799 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
2800 { NOTHING, 0, 0, (char *) 0 },
2801 { NOTHING, 0, 0, (char *) 0 },
2802 { NOTHING, 0, 0, (char *) 0 },
2803 { NOTHING, 0, 0, (char *) 0 },
2804 { NOTHING, 0, 0, (char *) 0 },
2805 { NOTHING, 0, 0, (char *) 0 },
2806 { NOTHING, 0, 0, (char *) 0 },
2807
2808 { NOTHING, 0, 0, (char *) 0 }, /* 104 */
2809 { NOTHING, 0, 0, (char *) 0 },
2810 { NOTHING, 0, 0, (char *) 0 },
2811 { NOTHING, 0, 0, (char *) 0 },
2812 { NOTHING, 0, 0, (char *) 0 },
2813 { NOTHING, 0, 0, (char *) 0 },
2814 { NOTHING, 0, 0, (char *) 0 },
2815 { NOTHING, 0, 0, (char *) 0 },
2816
2817 { NOTHING, 0, 0, (char *) 0 }, /* 112 */
2818 { NOTHING, 0, 0, (char *) 0 },
2819 { NOTHING, 0, 0, (char *) 0 },
2820 { NOTHING, 0, 0, (char *) 0 },
2821 { NOTHING, 0, 0, (char *) 0 },
2822 { NOTHING, 0, 0, (char *) 0 },
2823 { NOTHING, 0, 0, (char *) 0 },
2824 { NOTHING, 0, 0, (char *) 0 },
2825
2826 { NOTHING, 0, 0, (char *) 0 }, /* 120 */
2827 { NOTHING, 0, 0, (char *) 0 },
2828 { NOTHING, 0, 0, (char *) 0 },
2829 { NOTHING, 0, 0, (char *) 0 },
2830 { NOTHING, 0, 0, (char *) 0 },
2831 { NOTHING, 0, 0, (char *) 0 },
2832 { NOTHING, 0, 0, (char *) 0 },
2833 { NOTHING, 0, 0, (char *) 0 },
2834
2835 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
2836 { NOTHING, 0, 0, (char *) 0 },
2837 { NOTHING, 0, 0, (char *) 0 },
2838 { NOTHING, 0, 0, (char *) 0 },
2839 { NOTHING, 0, 0, (char *) 0 },
2840 { NOTHING, 0, 0, (char *) 0 },
2841 { NOTHING, 0, 0, (char *) 0 },
2842 { NOTHING, 0, 0, (char *) 0 },
2843
2844 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
2845 { NOTHING, 0, 0, (char *) 0 },
2846 { NOTHING, 0, 0, (char *) 0 },
2847 { NOTHING, 0, 0, (char *) 0 },
2848 { NOTHING, 0, 0, (char *) 0 },
2849 { NOTHING, 0, 0, (char *) 0 },
2850 { NOTHING, 0, 0, (char *) 0 },
2851 { NOTHING, 0, 0, (char *) 0 },
2852
2853 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
2854 { NOTHING, 0, 0, (char *) 0 },
2855 { NOTHING, 0, 0, (char *) 0 },
2856 { NOTHING, 0, 0, (char *) 0 },
2857 { NOTHING, 0, 0, (char *) 0 },
2858 { NOTHING, 0, 0, (char *) 0 },
2859 { NOTHING, 0, 0, (char *) 0 },
2860 { NOTHING, 0, 0, (char *) 0 },
2861
2862 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
2863 { NOTHING, 0, 0, (char *) 0 },
2864 { NOTHING, 0, 0, (char *) 0 },
2865 { NOTHING, 0, 0, (char *) 0 },
2866 { NOTHING, 0, 0, (char *) 0 },
2867 { NOTHING, 0, 0, (char *) 0 },
2868 { NOTHING, 0, 0, (char *) 0 },
2869 { NOTHING, 0, 0, (char *) 0 },
2870
2871 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
2872 { NOTHING, 0, 0, (char *) 0 },
2873 { NOTHING, 0, 0, (char *) 0 },
2874 { NOTHING, 0, 0, (char *) 0 },
2875 { NOTHING, 0, 0, (char *) 0 },
2876 { NOTHING, 0, 0, (char *) 0 },
2877 { NOTHING, 0, 0, (char *) 0 },
2878 { NOTHING, 0, 0, (char *) 0 },
2879
2880 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
2881 { NOTHING, 0, 0, (char *) 0 },
2882 { NOTHING, 0, 0, (char *) 0 },
2883 { NOTHING, 0, 0, (char *) 0 },
2884 { NOTHING, 0, 0, (char *) 0 },
2885 { NOTHING, 0, 0, (char *) 0 },
2886 { NOTHING, 0, 0, (char *) 0 },
2887 { NOTHING, 0, 0, (char *) 0 },
2888
2889 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
2890 { NOTHING, 0, 0, (char *) 0 },
2891 { NOTHING, 0, 0, (char *) 0 },
2892 { NOTHING, 0, 0, (char *) 0 },
2893 { NOTHING, 0, 0, (char *) 0 },
2894 { NOTHING, 0, 0, (char *) 0 },
2895 { NOTHING, 0, 0, (char *) 0 },
2896 { NOTHING, 0, 0, (char *) 0 },
2897
2898 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
2899 { NOTHING, 0, 0, (char *) 0 },
2900 { NOTHING, 0, 0, (char *) 0 },
2901 { NOTHING, 0, 0, (char *) 0 },
2902 { NOTHING, 0, 0, (char *) 0 },
2903 { NOTHING, 0, 0, (char *) 0 },
2904 { NOTHING, 0, 0, (char *) 0 },
2905 { NOTHING, 0, 0, (char *) 0 },
2906
2907 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
2908 { NOTHING, 0, 0, (char *) 0 },
2909 { NOTHING, 0, 0, (char *) 0 },
2910 { NOTHING, 0, 0, (char *) 0 },
2911 { NOTHING, 0, 0, (char *) 0 },
2912 { NOTHING, 0, 0, (char *) 0 },
2913 { NOTHING, 0, 0, (char *) 0 },
2914 { NOTHING, 0, 0, (char *) 0 },
2915
2916 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
2917 { NOTHING, 0, 0, (char *) 0 },
2918 { NOTHING, 0, 0, (char *) 0 },
2919 { NOTHING, 0, 0, (char *) 0 },
2920 { NOTHING, 0, 0, (char *) 0 },
2921 { NOTHING, 0, 0, (char *) 0 },
2922 { NOTHING, 0, 0, (char *) 0 },
2923 { NOTHING, 0, 0, (char *) 0 },
2924
2925 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
2926 { NOTHING, 0, 0, (char *) 0 },
2927 { NOTHING, 0, 0, (char *) 0 },
2928 { NOTHING, 0, 0, (char *) 0 },
2929 { NOTHING, 0, 0, (char *) 0 },
2930 { NOTHING, 0, 0, (char *) 0 },
2931 { NOTHING, 0, 0, (char *) 0 },
2932 { NOTHING, 0, 0, (char *) 0 },
2933
2934 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
2935 { NOTHING, 0, 0, (char *) 0 },
2936 { NOTHING, 0, 0, (char *) 0 },
2937 { NOTHING, 0, 0, (char *) 0 },
2938 { NOTHING, 0, 0, (char *) 0 },
2939 { NOTHING, 0, 0, (char *) 0 },
2940 { NOTHING, 0, 0, (char *) 0 },
2941 { NOTHING, 0, 0, (char *) 0 },
2942
2943 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
2944 { NOTHING, 0, 0, (char *) 0 },
2945 { NOTHING, 0, 0, (char *) 0 },
2946 { NOTHING, 0, 0, (char *) 0 },
2947 { NOTHING, 0, 0, (char *) 0 },
2948 { NOTHING, 0, 0, (char *) 0 },
2949 { NOTHING, 0, 0, (char *) 0 },
2950 { NOTHING, 0, 0, (char *) 0 },
2951
2952 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
2953 { NOTHING, 0, 0, (char *) 0 },
2954 { NOTHING, 0, 0, (char *) 0 },
2955 { NOTHING, 0, 0, (char *) 0 },
2956 { NOTHING, 0, 0, (char *) 0 },
2957 { NOTHING, 0, 0, (char *) 0 },
2958 { NOTHING, 0, 0, (char *) 0 },
2959 { NOTHING, 0, 0, (char *) 0 },
2960
2961 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
2962 { NOTHING, 0, 0, (char *) 0 },
2963 { NOTHING, 0, 0, (char *) 0 },
2964 { NOTHING, 0, 0, (char *) 0 },
2965 { NOTHING, 0, 0, (char *) 0 },
2966 { NOTHING, 0, 0, (char *) 0 },
2967 { NOTHING, 0, 0, (char *) 0 },
2968 { NOTHING, 0, 0, (char *) 0 },
2969
2970 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
2971 { NOTHING, 0, 0, (char *) 0 },
2972 { NOTHING, 0, 0, (char *) 0 },
2973 { NOTHING, 0, 0, (char *) 0 },
2974 { NOTHING, 0, 0, (char *) 0 },
2975 { NOTHING, 0, 0, (char *) 0 },
2976 { NOTHING, 0, 0, (char *) 0 },
2977 { NOTHING, 0, 0, (char *) 0 }
2978 };
2979
2980 KeyMap meta7_keys[] =
2981 {
2982 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
2983 { NOTHING, 0, 0, (char *) 0 },
2984 { NOTHING, 0, 0, (char *) 0 },
2985 { NOTHING, 0, 0, (char *) 0 },
2986 { NOTHING, 0, 0, (char *) 0 },
2987 { NOTHING, 0, 0, (char *) 0 },
2988 { NOTHING, 0, 0, (char *) 0 },
2989 { NOTHING, 0, 0, (char *) 0 },
2990
2991 { NOTHING, 0, 0, (char *) 0 }, /* 8 */
2992 { NOTHING, 0, 0, (char *) 0 },
2993 { NOTHING, 0, 0, (char *) 0 },
2994 { NOTHING, 0, 0, (char *) 0 },
2995 { NOTHING, 0, 0, (char *) 0 },
2996 { NOTHING, 0, 0, (char *) 0 },
2997 { NOTHING, 0, 0, (char *) 0 },
2998 { NOTHING, 0, 0, (char *) 0 },
2999
3000 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
3001 { NOTHING, 0, 0, (char *) 0 },
3002 { NOTHING, 0, 0, (char *) 0 },
3003 { NOTHING, 0, 0, (char *) 0 },
3004 { NOTHING, 0, 0, (char *) 0 },
3005 { NOTHING, 0, 0, (char *) 0 },
3006 { NOTHING, 0, 0, (char *) 0 },
3007 { NOTHING, 0, 0, (char *) 0 },
3008
3009 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
3010 { NOTHING, 0, 0, (char *) 0 },
3011 { NOTHING, 0, 0, (char *) 0 },
3012 { NOTHING, 0, 0, (char *) 0 },
3013 { NOTHING, 0, 0, (char *) 0 },
3014 { NOTHING, 0, 0, (char *) 0 },
3015 { NOTHING, 0, 0, (char *) 0 },
3016 { NOTHING, 0, 0, (char *) 0 },
3017
3018 { NOTHING, 0, 0, (char *) 0 }, /* 32 */
3019 { NOTHING, 0, 0, (char *) 0 },
3020 { NOTHING, 0, 0, (char *) 0 },
3021 { NOTHING, 0, 0, (char *) 0 },
3022 { NOTHING, 0, 0, (char *) 0 },
3023 { NOTHING, 0, 0, (char *) 0 },
3024 { NOTHING, 0, 0, (char *) 0 },
3025 { NOTHING, 0, 0, (char *) 0 },
3026
3027 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
3028 { NOTHING, 0, 0, (char *) 0 },
3029 { NOTHING, 0, 0, (char *) 0 },
3030 { NOTHING, 0, 0, (char *) 0 },
3031 { NOTHING, 0, 0, (char *) 0 },
3032 { NOTHING, 0, 0, (char *) 0 },
3033 { NOTHING, 0, 0, (char *) 0 },
3034 { NOTHING, 0, 0, (char *) 0 },
3035
3036 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
3037 { NOTHING, 0, 0, (char *) 0 },
3038 { NOTHING, 0, 0, (char *) 0 },
3039 { NOTHING, 0, 0, (char *) 0 },
3040 { NOTHING, 0, 0, (char *) 0 },
3041 { NOTHING, 0, 0, (char *) 0 },
3042 { NOTHING, 0, 0, (char *) 0 },
3043 { NOTHING, 0, 0, (char *) 0 },
3044
3045 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
3046 { NOTHING, 0, 0, (char *) 0 },
3047 { NOTHING, 0, 0, (char *) 0 },
3048 { NOTHING, 0, 0, (char *) 0 },
3049 { NOTHING, 0, 0, (char *) 0 },
3050 { NOTHING, 0, 0, (char *) 0 },
3051 { NOTHING, 0, 0, (char *) 0 },
3052 { NOTHING, 0, 0, (char *) 0 },
3053
3054 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
3055 { NOTHING, 0, 0, (char *) 0 },
3056 { NOTHING, 0, 0, (char *) 0 },
3057 { NOTHING, 0, 0, (char *) 0 },
3058 { NOTHING, 0, 0, (char *) 0 },
3059 { NOTHING, 0, 0, (char *) 0 },
3060 { NOTHING, 0, 0, (char *) 0 },
3061 { NOTHING, 0, 0, (char *) 0 },
3062
3063 { NOTHING, 0, 0, (char *) 0 }, /* 72 */
3064 { NOTHING, 0, 0, (char *) 0 },
3065 { NOTHING, 0, 0, (char *) 0 },
3066 { NOTHING, 0, 0, (char *) 0 },
3067 { NOTHING, 0, 0, (char *) 0 },
3068 { NOTHING, 0, 0, (char *) 0 },
3069 { NOTHING, 0, 0, (char *) 0 },
3070 { NOTHING, 0, 0, (char *) 0 },
3071
3072 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
3073 { NOTHING, 0, 0, (char *) 0 },
3074 { NOTHING, 0, 0, (char *) 0 },
3075 { NOTHING, 0, 0, (char *) 0 },
3076 { NOTHING, 0, 0, (char *) 0 },
3077 { NOTHING, 0, 0, (char *) 0 },
3078 { NOTHING, 0, 0, (char *) 0 },
3079 { NOTHING, 0, 0, (char *) 0 },
3080
3081 { NOTHING, 0, 0, (char *) 0 }, /* 88 */
3082 { NOTHING, 0, 0, (char *) 0 },
3083 { NOTHING, 0, 0, (char *) 0 },
3084 { NOTHING, 0, 0, (char *) 0 },
3085 { NOTHING, 0, 0, (char *) 0 },
3086 { NOTHING, 0, 0, (char *) 0 },
3087 { NOTHING, 0, 0, (char *) 0 },
3088 { NOTHING, 0, 0, (char *) 0 },
3089
3090 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
3091 { NOTHING, 0, 0, (char *) 0 },
3092 { NOTHING, 0, 0, (char *) 0 },
3093 { NOTHING, 0, 0, (char *) 0 },
3094 { NOTHING, 0, 0, (char *) 0 },
3095 { NOTHING, 0, 0, (char *) 0 },
3096 { NOTHING, 0, 0, (char *) 0 },
3097 { NOTHING, 0, 0, (char *) 0 },
3098
3099 { NOTHING, 0, 0, (char *) 0 }, /* 104 */
3100 { NOTHING, 0, 0, (char *) 0 },
3101 { NOTHING, 0, 0, (char *) 0 },
3102 { NOTHING, 0, 0, (char *) 0 },
3103 { NOTHING, 0, 0, (char *) 0 },
3104 { NOTHING, 0, 0, (char *) 0 },
3105 { NOTHING, 0, 0, (char *) 0 },
3106 { NOTHING, 0, 0, (char *) 0 },
3107
3108 { NOTHING, 0, 0, (char *) 0 }, /* 112 */
3109 { NOTHING, 0, 0, (char *) 0 },
3110 { NOTHING, 0, 0, (char *) 0 },
3111 { NOTHING, 0, 0, (char *) 0 },
3112 { NOTHING, 0, 0, (char *) 0 },
3113 { NOTHING, 0, 0, (char *) 0 },
3114 { NOTHING, 0, 0, (char *) 0 },
3115 { NOTHING, 0, 0, (char *) 0 },
3116
3117 { NOTHING, 0, 0, (char *) 0 }, /* 120 */
3118 { NOTHING, 0, 0, (char *) 0 },
3119 { NOTHING, 0, 0, (char *) 0 },
3120 { NOTHING, 0, 0, (char *) 0 },
3121 { NOTHING, 0, 0, (char *) 0 },
3122 { NOTHING, 0, 0, (char *) 0 },
3123 { NOTHING, 0, 0, (char *) 0 },
3124 { NOTHING, 0, 0, (char *) 0 },
3125
3126 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
3127 { NOTHING, 0, 0, (char *) 0 },
3128 { NOTHING, 0, 0, (char *) 0 },
3129 { NOTHING, 0, 0, (char *) 0 },
3130 { NOTHING, 0, 0, (char *) 0 },
3131 { NOTHING, 0, 0, (char *) 0 },
3132 { NOTHING, 0, 0, (char *) 0 },
3133 { NOTHING, 0, 0, (char *) 0 },
3134
3135 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
3136 { NOTHING, 0, 0, (char *) 0 },
3137 { NOTHING, 0, 0, (char *) 0 },
3138 { NOTHING, 0, 0, (char *) 0 },
3139 { NOTHING, 0, 0, (char *) 0 },
3140 { NOTHING, 0, 0, (char *) 0 },
3141 { NOTHING, 0, 0, (char *) 0 },
3142 { NOTHING, 0, 0, (char *) 0 },
3143
3144 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
3145 { NOTHING, 0, 0, (char *) 0 },
3146 { NOTHING, 0, 0, (char *) 0 },
3147 { NOTHING, 0, 0, (char *) 0 },
3148 { NOTHING, 0, 0, (char *) 0 },
3149 { NOTHING, 0, 0, (char *) 0 },
3150 { NOTHING, 0, 0, (char *) 0 },
3151 { NOTHING, 0, 0, (char *) 0 },
3152
3153 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
3154 { NOTHING, 0, 0, (char *) 0 },
3155 { NOTHING, 0, 0, (char *) 0 },
3156 { NOTHING, 0, 0, (char *) 0 },
3157 { NOTHING, 0, 0, (char *) 0 },
3158 { NOTHING, 0, 0, (char *) 0 },
3159 { NOTHING, 0, 0, (char *) 0 },
3160 { NOTHING, 0, 0, (char *) 0 },
3161
3162 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
3163 { NOTHING, 0, 0, (char *) 0 },
3164 { NOTHING, 0, 0, (char *) 0 },
3165 { NOTHING, 0, 0, (char *) 0 },
3166 { NOTHING, 0, 0, (char *) 0 },
3167 { NOTHING, 0, 0, (char *) 0 },
3168 { NOTHING, 0, 0, (char *) 0 },
3169 { NOTHING, 0, 0, (char *) 0 },
3170
3171 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
3172 { NOTHING, 0, 0, (char *) 0 },
3173 { NOTHING, 0, 0, (char *) 0 },
3174 { NOTHING, 0, 0, (char *) 0 },
3175 { NOTHING, 0, 0, (char *) 0 },
3176 { NOTHING, 0, 0, (char *) 0 },
3177 { NOTHING, 0, 0, (char *) 0 },
3178 { NOTHING, 0, 0, (char *) 0 },
3179
3180 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
3181 { NOTHING, 0, 0, (char *) 0 },
3182 { NOTHING, 0, 0, (char *) 0 },
3183 { NOTHING, 0, 0, (char *) 0 },
3184 { NOTHING, 0, 0, (char *) 0 },
3185 { NOTHING, 0, 0, (char *) 0 },
3186 { NOTHING, 0, 0, (char *) 0 },
3187 { NOTHING, 0, 0, (char *) 0 },
3188
3189 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
3190 { NOTHING, 0, 0, (char *) 0 },
3191 { NOTHING, 0, 0, (char *) 0 },
3192 { NOTHING, 0, 0, (char *) 0 },
3193 { NOTHING, 0, 0, (char *) 0 },
3194 { NOTHING, 0, 0, (char *) 0 },
3195 { NOTHING, 0, 0, (char *) 0 },
3196 { NOTHING, 0, 0, (char *) 0 },
3197
3198 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
3199 { NOTHING, 0, 0, (char *) 0 },
3200 { NOTHING, 0, 0, (char *) 0 },
3201 { NOTHING, 0, 0, (char *) 0 },
3202 { NOTHING, 0, 0, (char *) 0 },
3203 { NOTHING, 0, 0, (char *) 0 },
3204 { NOTHING, 0, 0, (char *) 0 },
3205 { NOTHING, 0, 0, (char *) 0 },
3206
3207 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
3208 { NOTHING, 0, 0, (char *) 0 },
3209 { NOTHING, 0, 0, (char *) 0 },
3210 { NOTHING, 0, 0, (char *) 0 },
3211 { NOTHING, 0, 0, (char *) 0 },
3212 { NOTHING, 0, 0, (char *) 0 },
3213 { NOTHING, 0, 0, (char *) 0 },
3214 { NOTHING, 0, 0, (char *) 0 },
3215
3216 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
3217 { NOTHING, 0, 0, (char *) 0 },
3218 { NOTHING, 0, 0, (char *) 0 },
3219 { NOTHING, 0, 0, (char *) 0 },
3220 { NOTHING, 0, 0, (char *) 0 },
3221 { NOTHING, 0, 0, (char *) 0 },
3222 { NOTHING, 0, 0, (char *) 0 },
3223 { NOTHING, 0, 0, (char *) 0 },
3224
3225 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
3226 { NOTHING, 0, 0, (char *) 0 },
3227 { NOTHING, 0, 0, (char *) 0 },
3228 { NOTHING, 0, 0, (char *) 0 },
3229 { NOTHING, 0, 0, (char *) 0 },
3230 { NOTHING, 0, 0, (char *) 0 },
3231 { NOTHING, 0, 0, (char *) 0 },
3232 { NOTHING, 0, 0, (char *) 0 },
3233
3234 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
3235 { NOTHING, 0, 0, (char *) 0 },
3236 { NOTHING, 0, 0, (char *) 0 },
3237 { NOTHING, 0, 0, (char *) 0 },
3238 { NOTHING, 0, 0, (char *) 0 },
3239 { NOTHING, 0, 0, (char *) 0 },
3240 { NOTHING, 0, 0, (char *) 0 },
3241 { NOTHING, 0, 0, (char *) 0 },
3242
3243 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
3244 { NOTHING, 0, 0, (char *) 0 },
3245 { NOTHING, 0, 0, (char *) 0 },
3246 { NOTHING, 0, 0, (char *) 0 },
3247 { NOTHING, 0, 0, (char *) 0 },
3248 { NOTHING, 0, 0, (char *) 0 },
3249 { NOTHING, 0, 0, (char *) 0 },
3250 { NOTHING, 0, 0, (char *) 0 },
3251
3252 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
3253 { NOTHING, 0, 0, (char *) 0 },
3254 { NOTHING, 0, 0, (char *) 0 },
3255 { NOTHING, 0, 0, (char *) 0 },
3256 { NOTHING, 0, 0, (char *) 0 },
3257 { NOTHING, 0, 0, (char *) 0 },
3258 { NOTHING, 0, 0, (char *) 0 },
3259 { NOTHING, 0, 0, (char *) 0 },
3260
3261 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
3262 { NOTHING, 0, 0, (char *) 0 },
3263 { NOTHING, 0, 0, (char *) 0 },
3264 { NOTHING, 0, 0, (char *) 0 },
3265 { NOTHING, 0, 0, (char *) 0 },
3266 { NOTHING, 0, 0, (char *) 0 },
3267 { NOTHING, 0, 0, (char *) 0 },
3268 { NOTHING, 0, 0, (char *) 0 }
3269 };
3270
3271 KeyMap meta8_keys[] =
3272 {
3273 { NOTHING, 0, 0, (char *) 0 }, /* 0 */
3274 { NOTHING, 0, 0, (char *) 0 },
3275 { NOTHING, 0, 0, (char *) 0 },
3276 { NOTHING, 0, 0, (char *) 0 },
3277 { NOTHING, 0, 0, (char *) 0 },
3278 { NOTHING, 0, 0, (char *) 0 },
3279 { NOTHING, 0, 0, (char *) 0 },
3280 { NOTHING, 0, 0, (char *) 0 },
3281
3282 { NOTHING, 0, 0, (char *) 0 }, /* 8 */
3283 { NOTHING, 0, 0, (char *) 0 },
3284 { NOTHING, 0, 0, (char *) 0 },
3285 { NOTHING, 0, 0, (char *) 0 },
3286 { NOTHING, 0, 0, (char *) 0 },
3287 { NOTHING, 0, 0, (char *) 0 },
3288 { NOTHING, 0, 0, (char *) 0 },
3289 { NOTHING, 0, 0, (char *) 0 },
3290
3291 { NOTHING, 0, 0, (char *) 0 }, /* 16 */
3292 { NOTHING, 0, 0, (char *) 0 },
3293 { NOTHING, 0, 0, (char *) 0 },
3294 { NOTHING, 0, 0, (char *) 0 },
3295 { NOTHING, 0, 0, (char *) 0 },
3296 { NOTHING, 0, 0, (char *) 0 },
3297 { NOTHING, 0, 0, (char *) 0 },
3298 { NOTHING, 0, 0, (char *) 0 },
3299
3300 { NOTHING, 0, 0, (char *) 0 }, /* 24 */
3301 { NOTHING, 0, 0, (char *) 0 },
3302 { NOTHING, 0, 0, (char *) 0 },
3303 { NOTHING, 0, 0, (char *) 0 },
3304 { NOTHING, 0, 0, (char *) 0 },
3305 { NOTHING, 0, 0, (char *) 0 },
3306 { NOTHING, 0, 0, (char *) 0 },
3307 { NOTHING, 0, 0, (char *) 0 },
3308
3309 { NOTHING, 0, 0, (char *) 0 }, /* 32 */
3310 { NOTHING, 0, 0, (char *) 0 },
3311 { NOTHING, 0, 0, (char *) 0 },
3312 { NOTHING, 0, 0, (char *) 0 },
3313 { NOTHING, 0, 0, (char *) 0 },
3314 { NOTHING, 0, 0, (char *) 0 },
3315 { NOTHING, 0, 0, (char *) 0 },
3316 { NOTHING, 0, 0, (char *) 0 },
3317
3318 { NOTHING, 0, 0, (char *) 0 }, /* 40 */
3319 { NOTHING, 0, 0, (char *) 0 },
3320 { NOTHING, 0, 0, (char *) 0 },
3321 { NOTHING, 0, 0, (char *) 0 },
3322 { NOTHING, 0, 0, (char *) 0 },
3323 { NOTHING, 0, 0, (char *) 0 },
3324 { NOTHING, 0, 0, (char *) 0 },
3325 { NOTHING, 0, 0, (char *) 0 },
3326
3327 { NOTHING, 0, 0, (char *) 0 }, /* 48 */
3328 { NOTHING, 0, 0, (char *) 0 },
3329 { NOTHING, 0, 0, (char *) 0 },
3330 { NOTHING, 0, 0, (char *) 0 },
3331 { NOTHING, 0, 0, (char *) 0 },
3332 { NOTHING, 0, 0, (char *) 0 },
3333 { NOTHING, 0, 0, (char *) 0 },
3334 { NOTHING, 0, 0, (char *) 0 },
3335
3336 { NOTHING, 0, 0, (char *) 0 }, /* 56 */
3337 { NOTHING, 0, 0, (char *) 0 },
3338 { NOTHING, 0, 0, (char *) 0 },
3339 { NOTHING, 0, 0, (char *) 0 },
3340 { NOTHING, 0, 0, (char *) 0 },
3341 { NOTHING, 0, 0, (char *) 0 },
3342 { NOTHING, 0, 0, (char *) 0 },
3343 { NOTHING, 0, 0, (char *) 0 },
3344
3345 { NOTHING, 0, 0, (char *) 0 }, /* 64 */
3346 { NOTHING, 0, 0, (char *) 0 },
3347 { NOTHING, 0, 0, (char *) 0 },
3348 { NOTHING, 0, 0, (char *) 0 },
3349 { NOTHING, 0, 0, (char *) 0 },
3350 { NOTHING, 0, 0, (char *) 0 },
3351 { NOTHING, 0, 0, (char *) 0 },
3352 { NOTHING, 0, 0, (char *) 0 },
3353
3354 { NOTHING, 0, 0, (char *) 0 }, /* 72 */
3355 { NOTHING, 0, 0, (char *) 0 },
3356 { NOTHING, 0, 0, (char *) 0 },
3357 { NOTHING, 0, 0, (char *) 0 },
3358 { NOTHING, 0, 0, (char *) 0 },
3359 { NOTHING, 0, 0, (char *) 0 },
3360 { NOTHING, 0, 0, (char *) 0 },
3361 { NOTHING, 0, 0, (char *) 0 },
3362
3363 { NOTHING, 0, 0, (char *) 0 }, /* 80 */
3364 { NOTHING, 0, 0, (char *) 0 },
3365 { NOTHING, 0, 0, (char *) 0 },
3366 { NOTHING, 0, 0, (char *) 0 },
3367 { NOTHING, 0, 0, (char *) 0 },
3368 { NOTHING, 0, 0, (char *) 0 },
3369 { NOTHING, 0, 0, (char *) 0 },
3370 { NOTHING, 0, 0, (char *) 0 },
3371
3372 { NOTHING, 0, 0, (char *) 0 }, /* 88 */
3373 { NOTHING, 0, 0, (char *) 0 },
3374 { NOTHING, 0, 0, (char *) 0 },
3375 { NOTHING, 0, 0, (char *) 0 },
3376 { NOTHING, 0, 0, (char *) 0 },
3377 { NOTHING, 0, 0, (char *) 0 },
3378 { NOTHING, 0, 0, (char *) 0 },
3379 { NOTHING, 0, 0, (char *) 0 },
3380
3381 { NOTHING, 0, 0, (char *) 0 }, /* 96 */
3382 { NOTHING, 0, 0, (char *) 0 },
3383 { NOTHING, 0, 0, (char *) 0 },
3384 { NOTHING, 0, 0, (char *) 0 },
3385 { NOTHING, 0, 0, (char *) 0 },
3386 { NOTHING, 0, 0, (char *) 0 },
3387 { NOTHING, 0, 0, (char *) 0 },
3388 { NOTHING, 0, 0, (char *) 0 },
3389
3390 { NOTHING, 0, 0, (char *) 0 }, /* 104 */
3391 { NOTHING, 0, 0, (char *) 0 },
3392 { NOTHING, 0, 0, (char *) 0 },
3393 { NOTHING, 0, 0, (char *) 0 },
3394 { NOTHING, 0, 0, (char *) 0 },
3395 { NOTHING, 0, 0, (char *) 0 },
3396 { NOTHING, 0, 0, (char *) 0 },
3397 { NOTHING, 0, 0, (char *) 0 },
3398
3399 { NOTHING, 0, 0, (char *) 0 }, /* 112 */
3400 { NOTHING, 0, 0, (char *) 0 },
3401 { NOTHING, 0, 0, (char *) 0 },
3402 { NOTHING, 0, 0, (char *) 0 },
3403 { NOTHING, 0, 0, (char *) 0 },
3404 { NOTHING, 0, 0, (char *) 0 },
3405 { NOTHING, 0, 0, (char *) 0 },
3406 { NOTHING, 0, 0, (char *) 0 },
3407
3408 { NOTHING, 0, 0, (char *) 0 }, /* 120 */
3409 { NOTHING, 0, 0, (char *) 0 },
3410 { NOTHING, 0, 0, (char *) 0 },
3411 { NOTHING, 0, 0, (char *) 0 },
3412 { NOTHING, 0, 0, (char *) 0 },
3413 { NOTHING, 0, 0, (char *) 0 },
3414 { NOTHING, 0, 0, (char *) 0 },
3415 { NOTHING, 0, 0, (char *) 0 },
3416
3417 { NOTHING, 0, 0, (char *) 0 }, /* 128 */
3418 { NOTHING, 0, 0, (char *) 0 },
3419 { NOTHING, 0, 0, (char *) 0 },
3420 { NOTHING, 0, 0, (char *) 0 },
3421 { NOTHING, 0, 0, (char *) 0 },
3422 { NOTHING, 0, 0, (char *) 0 },
3423 { NOTHING, 0, 0, (char *) 0 },
3424 { NOTHING, 0, 0, (char *) 0 },
3425
3426 { NOTHING, 0, 0, (char *) 0 }, /* 136 */
3427 { NOTHING, 0, 0, (char *) 0 },
3428 { NOTHING, 0, 0, (char *) 0 },
3429 { NOTHING, 0, 0, (char *) 0 },
3430 { NOTHING, 0, 0, (char *) 0 },
3431 { NOTHING, 0, 0, (char *) 0 },
3432 { NOTHING, 0, 0, (char *) 0 },
3433 { NOTHING, 0, 0, (char *) 0 },
3434
3435 { NOTHING, 0, 0, (char *) 0 }, /* 144 */
3436 { NOTHING, 0, 0, (char *) 0 },
3437 { NOTHING, 0, 0, (char *) 0 },
3438 { NOTHING, 0, 0, (char *) 0 },
3439 { NOTHING, 0, 0, (char *) 0 },
3440 { NOTHING, 0, 0, (char *) 0 },
3441 { NOTHING, 0, 0, (char *) 0 },
3442 { NOTHING, 0, 0, (char *) 0 },
3443
3444 { NOTHING, 0, 0, (char *) 0 }, /* 152 */
3445 { NOTHING, 0, 0, (char *) 0 },
3446 { NOTHING, 0, 0, (char *) 0 },
3447 { NOTHING, 0, 0, (char *) 0 },
3448 { NOTHING, 0, 0, (char *) 0 },
3449 { NOTHING, 0, 0, (char *) 0 },
3450 { NOTHING, 0, 0, (char *) 0 },
3451 { NOTHING, 0, 0, (char *) 0 },
3452
3453 { NOTHING, 0, 0, (char *) 0 }, /* 160 */
3454 { NOTHING, 0, 0, (char *) 0 },
3455 { NOTHING, 0, 0, (char *) 0 },
3456 { NOTHING, 0, 0, (char *) 0 },
3457 { NOTHING, 0, 0, (char *) 0 },
3458 { NOTHING, 0, 0, (char *) 0 },
3459 { NOTHING, 0, 0, (char *) 0 },
3460 { NOTHING, 0, 0, (char *) 0 },
3461
3462 { NOTHING, 0, 0, (char *) 0 }, /* 168 */
3463 { NOTHING, 0, 0, (char *) 0 },
3464 { NOTHING, 0, 0, (char *) 0 },
3465 { NOTHING, 0, 0, (char *) 0 },
3466 { NOTHING, 0, 0, (char *) 0 },
3467 { NOTHING, 0, 0, (char *) 0 },
3468 { NOTHING, 0, 0, (char *) 0 },
3469 { NOTHING, 0, 0, (char *) 0 },
3470
3471 { NOTHING, 0, 0, (char *) 0 }, /* 176 */
3472 { NOTHING, 0, 0, (char *) 0 },
3473 { NOTHING, 0, 0, (char *) 0 },
3474 { NOTHING, 0, 0, (char *) 0 },
3475 { NOTHING, 0, 0, (char *) 0 },
3476 { NOTHING, 0, 0, (char *) 0 },
3477 { NOTHING, 0, 0, (char *) 0 },
3478 { NOTHING, 0, 0, (char *) 0 },
3479
3480 { NOTHING, 0, 0, (char *) 0 }, /* 184 */
3481 { NOTHING, 0, 0, (char *) 0 },
3482 { NOTHING, 0, 0, (char *) 0 },
3483 { NOTHING, 0, 0, (char *) 0 },
3484 { NOTHING, 0, 0, (char *) 0 },
3485 { NOTHING, 0, 0, (char *) 0 },
3486 { NOTHING, 0, 0, (char *) 0 },
3487 { NOTHING, 0, 0, (char *) 0 },
3488
3489 { NOTHING, 0, 0, (char *) 0 }, /* 192 */
3490 { NOTHING, 0, 0, (char *) 0 },
3491 { NOTHING, 0, 0, (char *) 0 },
3492 { NOTHING, 0, 0, (char *) 0 },
3493 { NOTHING, 0, 0, (char *) 0 },
3494 { NOTHING, 0, 0, (char *) 0 },
3495 { NOTHING, 0, 0, (char *) 0 },
3496 { NOTHING, 0, 0, (char *) 0 },
3497
3498 { NOTHING, 0, 0, (char *) 0 }, /* 200 */
3499 { NOTHING, 0, 0, (char *) 0 },
3500 { NOTHING, 0, 0, (char *) 0 },
3501 { NOTHING, 0, 0, (char *) 0 },
3502 { NOTHING, 0, 0, (char *) 0 },
3503 { NOTHING, 0, 0, (char *) 0 },
3504 { NOTHING, 0, 0, (char *) 0 },
3505 { NOTHING, 0, 0, (char *) 0 },
3506
3507 { NOTHING, 0, 0, (char *) 0 }, /* 208 */
3508 { NOTHING, 0, 0, (char *) 0 },
3509 { NOTHING, 0, 0, (char *) 0 },
3510 { NOTHING, 0, 0, (char *) 0 },
3511 { NOTHING, 0, 0, (char *) 0 },
3512 { NOTHING, 0, 0, (char *) 0 },
3513 { NOTHING, 0, 0, (char *) 0 },
3514 { NOTHING, 0, 0, (char *) 0 },
3515
3516 { NOTHING, 0, 0, (char *) 0 }, /* 216 */
3517 { NOTHING, 0, 0, (char *) 0 },
3518 { NOTHING, 0, 0, (char *) 0 },
3519 { NOTHING, 0, 0, (char *) 0 },
3520 { NOTHING, 0, 0, (char *) 0 },
3521 { NOTHING, 0, 0, (char *) 0 },
3522 { NOTHING, 0, 0, (char *) 0 },
3523 { NOTHING, 0, 0, (char *) 0 },
3524
3525 { NOTHING, 0, 0, (char *) 0 }, /* 224 */
3526 { NOTHING, 0, 0, (char *) 0 },
3527 { NOTHING, 0, 0, (char *) 0 },
3528 { NOTHING, 0, 0, (char *) 0 },
3529 { NOTHING, 0, 0, (char *) 0 },
3530 { NOTHING, 0, 0, (char *) 0 },
3531 { NOTHING, 0, 0, (char *) 0 },
3532 { NOTHING, 0, 0, (char *) 0 },
3533
3534 { NOTHING, 0, 0, (char *) 0 }, /* 232 */
3535 { NOTHING, 0, 0, (char *) 0 },
3536 { NOTHING, 0, 0, (char *) 0 },
3537 { NOTHING, 0, 0, (char *) 0 },
3538 { NOTHING, 0, 0, (char *) 0 },
3539 { NOTHING, 0, 0, (char *) 0 },
3540 { NOTHING, 0, 0, (char *) 0 },
3541 { NOTHING, 0, 0, (char *) 0 },
3542
3543 { NOTHING, 0, 0, (char *) 0 }, /* 240 */
3544 { NOTHING, 0, 0, (char *) 0 },
3545 { NOTHING, 0, 0, (char *) 0 },
3546 { NOTHING, 0, 0, (char *) 0 },
3547 { NOTHING, 0, 0, (char *) 0 },
3548 { NOTHING, 0, 0, (char *) 0 },
3549 { NOTHING, 0, 0, (char *) 0 },
3550 { NOTHING, 0, 0, (char *) 0 },
3551
3552 { NOTHING, 0, 0, (char *) 0 }, /* 248 */
3553 { NOTHING, 0, 0, (char *) 0 },
3554 { NOTHING, 0, 0, (char *) 0 },
3555 { NOTHING, 0, 0, (char *) 0 },
3556 { NOTHING, 0, 0, (char *) 0 },
3557 { NOTHING, 0, 0, (char *) 0 },
3558 { NOTHING, 0, 0, (char *) 0 },
3559 { NOTHING, 0, 0, (char *) 0 }
3560 };
3561 #endif /* LITE */
3562 /****************************************************************************/
3563
3564 /*
3565 * write_binding: This will write to the given FILE pointer the information
3566 * about the specified key binding. The format it writes it out is such that
3567 * it can be parsed back in later using LOAD or with the -l switch
3568 */
3569 static void
write_binding(c,m,fp,do_all)3570 write_binding(c, m, fp, do_all)
3571 u_int c,
3572 m;
3573 FILE *fp;
3574 int do_all;
3575 {
3576 KeyMap *map;
3577 char *meta_str;
3578
3579 if (c == 32)
3580 return;
3581 switch (m)
3582 {
3583 case 1:
3584 map = meta1_keys;
3585 meta_str = "META1-";
3586 break;
3587 case 2:
3588 map = meta2_keys;
3589 meta_str = "META2-";
3590 break;
3591 case 3:
3592 map = meta3_keys;
3593 meta_str = "META3-";
3594 break;
3595 case 4:
3596 map = meta4_keys;
3597 meta_str = "META4-";
3598 break;
3599 case 5:
3600 map = meta5_keys;
3601 meta_str = "META5-";
3602 break;
3603 #ifndef LITE
3604 case 6:
3605 map = meta6_keys;
3606 meta_str = "META6-";
3607 break;
3608 case 7:
3609 map = meta7_keys;
3610 meta_str = "META7-";
3611 break;
3612 case 8:
3613 map = meta8_keys;
3614 meta_str = "META8-";
3615 break;
3616 #endif
3617 default:
3618 map = keys;
3619 meta_str = empty_string;
3620 break;
3621 }
3622 if (map[c].changed)
3623 {
3624 fprintf(fp, "BIND %s%s %s", meta_str, display_key(c),
3625 key_names[map[c].index].name);
3626 if (map[c].stuff && (*(map[c].stuff)))
3627 {
3628 fprintf(fp, " %s\n", map[c].stuff);
3629 }
3630 else
3631 fprintf(fp, "\n");
3632 }
3633 }
3634
3635 /*
3636 * save_bindings: this writes all the keys bindings for IRCII to the given
3637 * FILE pointer using the write_binding function
3638 */
3639 void
save_bindings(fp,do_all)3640 save_bindings(fp, do_all)
3641 FILE *fp;
3642 int do_all;
3643 {
3644 int i;
3645 int charsize = charset_size();
3646
3647 for (i = 0; i < charsize; i++)
3648 write_binding((u_char) i, 0, fp, do_all);
3649 for (i = 0; i < charsize; i++)
3650 write_binding((u_char) i, 1, fp, do_all);
3651 for (i = 0; i < charsize; i++)
3652 write_binding((u_char) i, 2, fp, do_all);
3653 for (i = 0; i < charsize; i++)
3654 write_binding((u_char) i, 3, fp, do_all);
3655 for (i = 0; i < charsize; i++)
3656 write_binding((u_char) i, 4, fp, do_all);
3657 for (i = 0; i < charsize; i++)
3658 write_binding((u_char) i, 5, fp, do_all);
3659 for (i = 0; i < charsize; i++)
3660 write_binding((u_char) i, 6, fp, do_all);
3661 for (i = 0; i < charsize; i++)
3662 write_binding((u_char) i, 7, fp, do_all);
3663 for (i = 0; i < charsize; i++)
3664 write_binding((u_char) i, 8, fp, do_all);
3665 }
3666