121308Sache/* emacs_keymap.c -- the keymap for emacs_mode in readline (). */
221308Sache
321308Sache/* Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc.
421308Sache
521308Sache   This file is part of the GNU Readline Library, a library for
621308Sache   reading lines of text with interactive input and history editing.
721308Sache
821308Sache   The GNU Readline Library is free software; you can redistribute it
921308Sache   and/or modify it under the terms of the GNU General Public License
1058310Sache   as published by the Free Software Foundation; either version 2, or
1121308Sache   (at your option) any later version.
1221308Sache
1321308Sache   The GNU Readline Library is distributed in the hope that it will be
1421308Sache   useful, but WITHOUT ANY WARRANTY; without even the implied warranty
1521308Sache   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1621308Sache   GNU General Public License for more details.
1721308Sache
1821308Sache   The GNU General Public License is often shipped with GNU software, and
1921308Sache   is generally kept in a file called COPYING or LICENSE.  If you do not
2021308Sache   have a copy of the license, write to the Free Software Foundation,
2158310Sache   59 Temple Place, Suite 330, Boston, MA 02111 USA. */
2221308Sache
2321308Sache#if !defined (BUFSIZ)
2421308Sache#include <stdio.h>
2521308Sache#endif /* !BUFSIZ */
2621308Sache
2721308Sache#include "readline.h"
2821308Sache
2921308Sache/* An array of function pointers, one for each possible key.
3021308Sache   If the type byte is ISKMAP, then the pointer is the address of
3121308Sache   a keymap. */
3221308Sache
3321308SacheKEYMAP_ENTRY_ARRAY emacs_standard_keymap = {
3421308Sache
3521308Sache  /* Control keys. */
3675406Sache  { ISFUNC, rl_set_mark },			/* Control-@ */
3775406Sache  { ISFUNC, rl_beg_of_line },			/* Control-a */
38119610Sache  { ISFUNC, rl_backward_char },			/* Control-b */
3975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-c */
4075406Sache  { ISFUNC, rl_delete },			/* Control-d */
4175406Sache  { ISFUNC, rl_end_of_line },			/* Control-e */
42119610Sache  { ISFUNC, rl_forward_char },			/* Control-f */
4375406Sache  { ISFUNC, rl_abort },				/* Control-g */
4475406Sache  { ISFUNC, rl_rubout },			/* Control-h */
4575406Sache  { ISFUNC, rl_complete },			/* Control-i */
4675406Sache  { ISFUNC, rl_newline },			/* Control-j */
4775406Sache  { ISFUNC, rl_kill_line },			/* Control-k */
4875406Sache  { ISFUNC, rl_clear_screen },			/* Control-l */
4975406Sache  { ISFUNC, rl_newline },			/* Control-m */
5075406Sache  { ISFUNC, rl_get_next_history },		/* Control-n */
5175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-o */
5275406Sache  { ISFUNC, rl_get_previous_history },		/* Control-p */
5375406Sache  { ISFUNC, rl_quoted_insert },			/* Control-q */
5475406Sache  { ISFUNC, rl_reverse_search_history },	/* Control-r */
5575406Sache  { ISFUNC, rl_forward_search_history },	/* Control-s */
5675406Sache  { ISFUNC, rl_transpose_chars },		/* Control-t */
5775406Sache  { ISFUNC, rl_unix_line_discard },		/* Control-u */
5875406Sache  { ISFUNC, rl_quoted_insert },			/* Control-v */
5975406Sache  { ISFUNC, rl_unix_word_rubout },		/* Control-w */
6075406Sache  { ISKMAP, (rl_command_func_t *)emacs_ctlx_keymap },	/* Control-x */
6175406Sache  { ISFUNC, rl_yank },				/* Control-y */
6275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-z */
6375406Sache  { ISKMAP, (rl_command_func_t *)emacs_meta_keymap }, /* Control-[ */
6475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-\ */
6575406Sache  { ISFUNC, rl_char_search },			/* Control-] */
6675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-^ */
6775406Sache  { ISFUNC, rl_undo_command },			/* Control-_ */
6821308Sache
6921308Sache  /* The start of printing characters. */
7075406Sache  { ISFUNC, rl_insert },		/* SPACE */
7175406Sache  { ISFUNC, rl_insert },		/* ! */
7275406Sache  { ISFUNC, rl_insert },		/* " */
7375406Sache  { ISFUNC, rl_insert },		/* # */
7475406Sache  { ISFUNC, rl_insert },		/* $ */
7575406Sache  { ISFUNC, rl_insert },		/* % */
7675406Sache  { ISFUNC, rl_insert },		/* & */
7775406Sache  { ISFUNC, rl_insert },		/* ' */
7875406Sache  { ISFUNC, rl_insert },		/* ( */
7975406Sache  { ISFUNC, rl_insert },		/* ) */
8075406Sache  { ISFUNC, rl_insert },		/* * */
8175406Sache  { ISFUNC, rl_insert },		/* + */
8275406Sache  { ISFUNC, rl_insert },		/* , */
8375406Sache  { ISFUNC, rl_insert },		/* - */
8475406Sache  { ISFUNC, rl_insert },		/* . */
8575406Sache  { ISFUNC, rl_insert },		/* / */
8675406Sache
8775406Sache	  /* Regular digits. */
8875406Sache  { ISFUNC, rl_insert },		/* 0 */
8975406Sache  { ISFUNC, rl_insert },		/* 1 */
9075406Sache  { ISFUNC, rl_insert },		/* 2 */
9175406Sache  { ISFUNC, rl_insert },		/* 3 */
9275406Sache  { ISFUNC, rl_insert },		/* 4 */
9375406Sache  { ISFUNC, rl_insert },		/* 5 */
9475406Sache  { ISFUNC, rl_insert },		/* 6 */
9575406Sache  { ISFUNC, rl_insert },		/* 7 */
9675406Sache  { ISFUNC, rl_insert },		/* 8 */
9775406Sache  { ISFUNC, rl_insert },		/* 9 */
9821308Sache
9921308Sache  /* A little more punctuation. */
10075406Sache  { ISFUNC, rl_insert },		/* : */
10175406Sache  { ISFUNC, rl_insert },		/* ; */
10275406Sache  { ISFUNC, rl_insert },		/* < */
10375406Sache  { ISFUNC, rl_insert },		/* = */
10475406Sache  { ISFUNC, rl_insert },		/* > */
10575406Sache  { ISFUNC, rl_insert },		/* ? */
10675406Sache  { ISFUNC, rl_insert },		/* @ */
10721308Sache
10821308Sache  /* Uppercase alphabet. */
10975406Sache  { ISFUNC, rl_insert },		/* A */
11075406Sache  { ISFUNC, rl_insert },		/* B */
11175406Sache  { ISFUNC, rl_insert },		/* C */
11275406Sache  { ISFUNC, rl_insert },		/* D */
11375406Sache  { ISFUNC, rl_insert },		/* E */
11475406Sache  { ISFUNC, rl_insert },		/* F */
11575406Sache  { ISFUNC, rl_insert },		/* G */
11675406Sache  { ISFUNC, rl_insert },		/* H */
11775406Sache  { ISFUNC, rl_insert },		/* I */
11875406Sache  { ISFUNC, rl_insert },		/* J */
11975406Sache  { ISFUNC, rl_insert },		/* K */
12075406Sache  { ISFUNC, rl_insert },		/* L */
12175406Sache  { ISFUNC, rl_insert },		/* M */
12275406Sache  { ISFUNC, rl_insert },		/* N */
12375406Sache  { ISFUNC, rl_insert },		/* O */
12475406Sache  { ISFUNC, rl_insert },		/* P */
12575406Sache  { ISFUNC, rl_insert },		/* Q */
12675406Sache  { ISFUNC, rl_insert },		/* R */
12775406Sache  { ISFUNC, rl_insert },		/* S */
12875406Sache  { ISFUNC, rl_insert },		/* T */
12975406Sache  { ISFUNC, rl_insert },		/* U */
13075406Sache  { ISFUNC, rl_insert },		/* V */
13175406Sache  { ISFUNC, rl_insert },		/* W */
13275406Sache  { ISFUNC, rl_insert },		/* X */
13375406Sache  { ISFUNC, rl_insert },		/* Y */
13475406Sache  { ISFUNC, rl_insert },		/* Z */
13521308Sache
13621308Sache  /* Some more punctuation. */
13775406Sache  { ISFUNC, rl_insert },		/* [ */
13875406Sache  { ISFUNC, rl_insert },		/* \ */
13975406Sache  { ISFUNC, rl_insert },		/* ] */
14075406Sache  { ISFUNC, rl_insert },		/* ^ */
14175406Sache  { ISFUNC, rl_insert },		/* _ */
14275406Sache  { ISFUNC, rl_insert },		/* ` */
14321308Sache
14421308Sache  /* Lowercase alphabet. */
14575406Sache  { ISFUNC, rl_insert },		/* a */
14675406Sache  { ISFUNC, rl_insert },		/* b */
14775406Sache  { ISFUNC, rl_insert },		/* c */
14875406Sache  { ISFUNC, rl_insert },		/* d */
14975406Sache  { ISFUNC, rl_insert },		/* e */
15075406Sache  { ISFUNC, rl_insert },		/* f */
15175406Sache  { ISFUNC, rl_insert },		/* g */
15275406Sache  { ISFUNC, rl_insert },		/* h */
15375406Sache  { ISFUNC, rl_insert },		/* i */
15475406Sache  { ISFUNC, rl_insert },		/* j */
15575406Sache  { ISFUNC, rl_insert },		/* k */
15675406Sache  { ISFUNC, rl_insert },		/* l */
15775406Sache  { ISFUNC, rl_insert },		/* m */
15875406Sache  { ISFUNC, rl_insert },		/* n */
15975406Sache  { ISFUNC, rl_insert },		/* o */
16075406Sache  { ISFUNC, rl_insert },		/* p */
16175406Sache  { ISFUNC, rl_insert },		/* q */
16275406Sache  { ISFUNC, rl_insert },		/* r */
16375406Sache  { ISFUNC, rl_insert },		/* s */
16475406Sache  { ISFUNC, rl_insert },		/* t */
16575406Sache  { ISFUNC, rl_insert },		/* u */
16675406Sache  { ISFUNC, rl_insert },		/* v */
16775406Sache  { ISFUNC, rl_insert },		/* w */
16875406Sache  { ISFUNC, rl_insert },		/* x */
16975406Sache  { ISFUNC, rl_insert },		/* y */
17075406Sache  { ISFUNC, rl_insert },		/* z */
17121308Sache
17221308Sache  /* Final punctuation. */
17375406Sache  { ISFUNC, rl_insert },		/* { */
17475406Sache  { ISFUNC, rl_insert },		/* | */
17575406Sache  { ISFUNC, rl_insert },		/* } */
17675406Sache  { ISFUNC, rl_insert },		/* ~ */
17775406Sache  { ISFUNC, rl_rubout },		/* RUBOUT */
17821308Sache
17921308Sache#if KEYMAP_SIZE > 128
18021308Sache  /* Pure 8-bit characters (128 - 159).
18121308Sache     These might be used in some
18221308Sache     character sets. */
18375406Sache  { ISFUNC, rl_insert },		/* ? */
18475406Sache  { ISFUNC, rl_insert },		/* ? */
18575406Sache  { ISFUNC, rl_insert },		/* ? */
18675406Sache  { ISFUNC, rl_insert },		/* ? */
18775406Sache  { ISFUNC, rl_insert },		/* ? */
18875406Sache  { ISFUNC, rl_insert },		/* ? */
18975406Sache  { ISFUNC, rl_insert },		/* ? */
19075406Sache  { ISFUNC, rl_insert },		/* ? */
19175406Sache  { ISFUNC, rl_insert },		/* ? */
19275406Sache  { ISFUNC, rl_insert },		/* ? */
19375406Sache  { ISFUNC, rl_insert },		/* ? */
19475406Sache  { ISFUNC, rl_insert },		/* ? */
19575406Sache  { ISFUNC, rl_insert },		/* ? */
19675406Sache  { ISFUNC, rl_insert },		/* ? */
19775406Sache  { ISFUNC, rl_insert },		/* ? */
19875406Sache  { ISFUNC, rl_insert },		/* ? */
19975406Sache  { ISFUNC, rl_insert },		/* ? */
20075406Sache  { ISFUNC, rl_insert },		/* ? */
20175406Sache  { ISFUNC, rl_insert },		/* ? */
20275406Sache  { ISFUNC, rl_insert },		/* ? */
20375406Sache  { ISFUNC, rl_insert },		/* ? */
20475406Sache  { ISFUNC, rl_insert },		/* ? */
20575406Sache  { ISFUNC, rl_insert },		/* ? */
20675406Sache  { ISFUNC, rl_insert },		/* ? */
20775406Sache  { ISFUNC, rl_insert },		/* ? */
20875406Sache  { ISFUNC, rl_insert },		/* ? */
20975406Sache  { ISFUNC, rl_insert },		/* ? */
21075406Sache  { ISFUNC, rl_insert },		/* ? */
21175406Sache  { ISFUNC, rl_insert },		/* ? */
21275406Sache  { ISFUNC, rl_insert },		/* ? */
21375406Sache  { ISFUNC, rl_insert },		/* ? */
21475406Sache  { ISFUNC, rl_insert },		/* ? */
21521308Sache
21621308Sache  /* ISO Latin-1 characters (160 - 255) */
21721308Sache  { ISFUNC, rl_insert },	/* No-break space */
21821308Sache  { ISFUNC, rl_insert },	/* Inverted exclamation mark */
21921308Sache  { ISFUNC, rl_insert },	/* Cent sign */
22021308Sache  { ISFUNC, rl_insert },	/* Pound sign */
22121308Sache  { ISFUNC, rl_insert },	/* Currency sign */
22221308Sache  { ISFUNC, rl_insert },	/* Yen sign */
22321308Sache  { ISFUNC, rl_insert },	/* Broken bar */
22421308Sache  { ISFUNC, rl_insert },	/* Section sign */
22521308Sache  { ISFUNC, rl_insert },	/* Diaeresis */
22621308Sache  { ISFUNC, rl_insert },	/* Copyright sign */
22721308Sache  { ISFUNC, rl_insert },	/* Feminine ordinal indicator */
22821308Sache  { ISFUNC, rl_insert },	/* Left pointing double angle quotation mark */
22921308Sache  { ISFUNC, rl_insert },	/* Not sign */
23021308Sache  { ISFUNC, rl_insert },	/* Soft hyphen */
23121308Sache  { ISFUNC, rl_insert },	/* Registered sign */
23221308Sache  { ISFUNC, rl_insert },	/* Macron */
23321308Sache  { ISFUNC, rl_insert },	/* Degree sign */
23421308Sache  { ISFUNC, rl_insert },	/* Plus-minus sign */
23521308Sache  { ISFUNC, rl_insert },	/* Superscript two */
23621308Sache  { ISFUNC, rl_insert },	/* Superscript three */
23721308Sache  { ISFUNC, rl_insert },	/* Acute accent */
23821308Sache  { ISFUNC, rl_insert },	/* Micro sign */
23921308Sache  { ISFUNC, rl_insert },	/* Pilcrow sign */
24021308Sache  { ISFUNC, rl_insert },	/* Middle dot */
24121308Sache  { ISFUNC, rl_insert },	/* Cedilla */
24221308Sache  { ISFUNC, rl_insert },	/* Superscript one */
24321308Sache  { ISFUNC, rl_insert },	/* Masculine ordinal indicator */
24421308Sache  { ISFUNC, rl_insert },	/* Right pointing double angle quotation mark */
24521308Sache  { ISFUNC, rl_insert },	/* Vulgar fraction one quarter */
24621308Sache  { ISFUNC, rl_insert },	/* Vulgar fraction one half */
24721308Sache  { ISFUNC, rl_insert },	/* Vulgar fraction three quarters */
24821308Sache  { ISFUNC, rl_insert },	/* Inverted questionk mark */
24921308Sache  { ISFUNC, rl_insert },	/* Latin capital letter a with grave */
25021308Sache  { ISFUNC, rl_insert },	/* Latin capital letter a with acute */
25121308Sache  { ISFUNC, rl_insert },	/* Latin capital letter a with circumflex */
25221308Sache  { ISFUNC, rl_insert },	/* Latin capital letter a with tilde */
25321308Sache  { ISFUNC, rl_insert },	/* Latin capital letter a with diaeresis */
25421308Sache  { ISFUNC, rl_insert },	/* Latin capital letter a with ring above */
25521308Sache  { ISFUNC, rl_insert },	/* Latin capital letter ae */
25621308Sache  { ISFUNC, rl_insert },	/* Latin capital letter c with cedilla */
25721308Sache  { ISFUNC, rl_insert },	/* Latin capital letter e with grave */
25821308Sache  { ISFUNC, rl_insert },	/* Latin capital letter e with acute */
25921308Sache  { ISFUNC, rl_insert },	/* Latin capital letter e with circumflex */
26021308Sache  { ISFUNC, rl_insert },	/* Latin capital letter e with diaeresis */
26121308Sache  { ISFUNC, rl_insert },	/* Latin capital letter i with grave */
26221308Sache  { ISFUNC, rl_insert },	/* Latin capital letter i with acute */
26321308Sache  { ISFUNC, rl_insert },	/* Latin capital letter i with circumflex */
26421308Sache  { ISFUNC, rl_insert },	/* Latin capital letter i with diaeresis */
26521308Sache  { ISFUNC, rl_insert },	/* Latin capital letter eth (Icelandic) */
26621308Sache  { ISFUNC, rl_insert },	/* Latin capital letter n with tilde */
26721308Sache  { ISFUNC, rl_insert },	/* Latin capital letter o with grave */
26821308Sache  { ISFUNC, rl_insert },	/* Latin capital letter o with acute */
26921308Sache  { ISFUNC, rl_insert },	/* Latin capital letter o with circumflex */
27021308Sache  { ISFUNC, rl_insert },	/* Latin capital letter o with tilde */
27121308Sache  { ISFUNC, rl_insert },	/* Latin capital letter o with diaeresis */
27221308Sache  { ISFUNC, rl_insert },	/* Multiplication sign */
27321308Sache  { ISFUNC, rl_insert },	/* Latin capital letter o with stroke */
27421308Sache  { ISFUNC, rl_insert },	/* Latin capital letter u with grave */
27521308Sache  { ISFUNC, rl_insert },	/* Latin capital letter u with acute */
27621308Sache  { ISFUNC, rl_insert },	/* Latin capital letter u with circumflex */
27721308Sache  { ISFUNC, rl_insert },	/* Latin capital letter u with diaeresis */
27821308Sache  { ISFUNC, rl_insert },	/* Latin capital letter Y with acute */
27921308Sache  { ISFUNC, rl_insert },	/* Latin capital letter thorn (Icelandic) */
28021308Sache  { ISFUNC, rl_insert },	/* Latin small letter sharp s (German) */
28121308Sache  { ISFUNC, rl_insert },	/* Latin small letter a with grave */
28221308Sache  { ISFUNC, rl_insert },	/* Latin small letter a with acute */
28321308Sache  { ISFUNC, rl_insert },	/* Latin small letter a with circumflex */
28421308Sache  { ISFUNC, rl_insert },	/* Latin small letter a with tilde */
28521308Sache  { ISFUNC, rl_insert },	/* Latin small letter a with diaeresis */
28621308Sache  { ISFUNC, rl_insert },	/* Latin small letter a with ring above */
28721308Sache  { ISFUNC, rl_insert },	/* Latin small letter ae */
28821308Sache  { ISFUNC, rl_insert },	/* Latin small letter c with cedilla */
28921308Sache  { ISFUNC, rl_insert },	/* Latin small letter e with grave */
29021308Sache  { ISFUNC, rl_insert },	/* Latin small letter e with acute */
29121308Sache  { ISFUNC, rl_insert },	/* Latin small letter e with circumflex */
29221308Sache  { ISFUNC, rl_insert },	/* Latin small letter e with diaeresis */
29321308Sache  { ISFUNC, rl_insert },	/* Latin small letter i with grave */
29421308Sache  { ISFUNC, rl_insert },	/* Latin small letter i with acute */
29521308Sache  { ISFUNC, rl_insert },	/* Latin small letter i with circumflex */
29621308Sache  { ISFUNC, rl_insert },	/* Latin small letter i with diaeresis */
29721308Sache  { ISFUNC, rl_insert },	/* Latin small letter eth (Icelandic) */
29821308Sache  { ISFUNC, rl_insert },	/* Latin small letter n with tilde */
29921308Sache  { ISFUNC, rl_insert },	/* Latin small letter o with grave */
30021308Sache  { ISFUNC, rl_insert },	/* Latin small letter o with acute */
30121308Sache  { ISFUNC, rl_insert },	/* Latin small letter o with circumflex */
30221308Sache  { ISFUNC, rl_insert },	/* Latin small letter o with tilde */
30321308Sache  { ISFUNC, rl_insert },	/* Latin small letter o with diaeresis */
30421308Sache  { ISFUNC, rl_insert },	/* Division sign */
30521308Sache  { ISFUNC, rl_insert },	/* Latin small letter o with stroke */
30621308Sache  { ISFUNC, rl_insert },	/* Latin small letter u with grave */
30721308Sache  { ISFUNC, rl_insert },	/* Latin small letter u with acute */
30821308Sache  { ISFUNC, rl_insert },	/* Latin small letter u with circumflex */
30921308Sache  { ISFUNC, rl_insert },	/* Latin small letter u with diaeresis */
31021308Sache  { ISFUNC, rl_insert },	/* Latin small letter y with acute */
31121308Sache  { ISFUNC, rl_insert },	/* Latin small letter thorn (Icelandic) */
31221308Sache  { ISFUNC, rl_insert }		/* Latin small letter y with diaeresis */
31321308Sache#endif /* KEYMAP_SIZE > 128 */
31421308Sache};
31521308Sache
31621308SacheKEYMAP_ENTRY_ARRAY emacs_meta_keymap = {
31721308Sache
31821308Sache  /* Meta keys.  Just like above, but the high bit is set. */
31975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-@ */
32075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-a */
32175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-b */
32275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-c */
32375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-d */
32475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-e */
32575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-f */
32675406Sache  { ISFUNC, rl_abort },			/* Meta-Control-g */
32721308Sache  { ISFUNC, rl_backward_kill_word },	/* Meta-Control-h */
32875406Sache  { ISFUNC, rl_tab_insert },		/* Meta-Control-i */
32975406Sache  { ISFUNC, rl_vi_editing_mode },	/* Meta-Control-j */
33075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-k */
33175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-l */
33275406Sache  { ISFUNC, rl_vi_editing_mode }, 	/* Meta-Control-m */
33375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-n */
33475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-o */
33575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-p */
33675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-q */
33775406Sache  { ISFUNC, rl_revert_line },		/* Meta-Control-r */
33875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-s */
33975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-t */
34075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-u */
34175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-v */
34275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-w */
34375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-x */
34475406Sache  { ISFUNC, rl_yank_nth_arg },		/* Meta-Control-y */
34575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-z */
34621308Sache
34775406Sache  { ISFUNC, rl_complete },		/* Meta-Control-[ */
34875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-\ */
34921308Sache  { ISFUNC, rl_backward_char_search },	/* Meta-Control-] */
35075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-^ */
35175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-Control-_ */
35221308Sache
35321308Sache  /* The start of printing characters. */
35475406Sache  { ISFUNC, rl_set_mark },		/* Meta-SPACE */
35575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-! */
35675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-" */
35775406Sache  { ISFUNC, rl_insert_comment },	/* Meta-# */
35875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-$ */
35975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-% */
36075406Sache  { ISFUNC, rl_tilde_expand },		/* Meta-& */
36175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-' */
36275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-( */
36375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-) */
36421308Sache  { ISFUNC, rl_insert_completions },	/* Meta-* */
36575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-+ */
36675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-, */
36775406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-- */
36875406Sache  { ISFUNC, rl_yank_last_arg},		/* Meta-. */
36975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-/ */
37021308Sache
37121308Sache  /* Regular digits. */
37275406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-0 */
37375406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-1 */
37475406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-2 */
37575406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-3 */
37675406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-4 */
37775406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-5 */
37875406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-6 */
37975406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-7 */
38075406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-8 */
38175406Sache  { ISFUNC, rl_digit_argument }, 	/* Meta-9 */
38221308Sache
38321308Sache  /* A little more punctuation. */
38475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-: */
38575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-; */
38621308Sache  { ISFUNC, rl_beginning_of_history },	/* Meta-< */
38721308Sache  { ISFUNC, rl_possible_completions },	/* Meta-= */
38821308Sache  { ISFUNC, rl_end_of_history },	/* Meta-> */
38921308Sache  { ISFUNC, rl_possible_completions },	/* Meta-? */
39075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-@ */
39121308Sache
39221308Sache  /* Uppercase alphabet. */
39321308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-A */
39421308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-B */
39521308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-C */
39621308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-D */
39721308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-E */
39821308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-F */
39921308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-G */
40021308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-H */
40121308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-I */
40221308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-J */
40321308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-K */
40421308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-L */
40521308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-M */
40621308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-N */
40721308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-O */
40821308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-P */
40921308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-Q */
41021308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-R */
41121308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-S */
41221308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-T */
41321308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-U */
41421308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-V */
41521308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-W */
41621308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-X */
41721308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-Y */
41821308Sache  { ISFUNC, rl_do_lowercase_version },	/* Meta-Z */
41921308Sache
42021308Sache  /* Some more punctuation. */
42175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Meta-[ */	/* was rl_arrow_keys */
42221308Sache  { ISFUNC, rl_delete_horizontal_space },	/* Meta-\ */
42375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Meta-] */
42475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Meta-^ */
42575406Sache  { ISFUNC, rl_yank_last_arg },			/* Meta-_ */
42675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Meta-` */
42721308Sache
42821308Sache  /* Lowercase alphabet. */
42975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-a */
43075406Sache  { ISFUNC, rl_backward_word },		/* Meta-b */
43175406Sache  { ISFUNC, rl_capitalize_word }, 	/* Meta-c */
43275406Sache  { ISFUNC, rl_kill_word },		/* Meta-d */
43375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-e */
43475406Sache  { ISFUNC, rl_forward_word },		/* Meta-f */
43575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-g */
43675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-h */
43775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-i */
43875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-j */
43975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-k */
44075406Sache  { ISFUNC, rl_downcase_word },		/* Meta-l */
44175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-m */
44221308Sache  { ISFUNC, rl_noninc_forward_search },	/* Meta-n */
44375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-o */	/* was rl_arrow_keys */
44421308Sache  { ISFUNC, rl_noninc_reverse_search },	/* Meta-p */
44575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-q */
44675406Sache  { ISFUNC, rl_revert_line },		/* Meta-r */
44775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-s */
44875406Sache  { ISFUNC, rl_transpose_words }, 	/* Meta-t */
44975406Sache  { ISFUNC, rl_upcase_word },		/* Meta-u */
45075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-v */
45175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-w */
45275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-x */
45375406Sache  { ISFUNC, rl_yank_pop },		/* Meta-y */
45475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-z */
45521308Sache
45621308Sache  /* Final punctuation. */
45775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-{ */
45875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-| */
45975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },	/* Meta-} */
46075406Sache  { ISFUNC, rl_tilde_expand },		/* Meta-~ */
46175406Sache  { ISFUNC, rl_backward_kill_word },	/* Meta-rubout */
46221308Sache
46321308Sache#if KEYMAP_SIZE > 128
46421308Sache  /* Undefined keys. */
46575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
46675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
46775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
46875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
46975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
47975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
48975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
49975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
50975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
51975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
52975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
53975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
54975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
55975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
56975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
57975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
58975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
59075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
59175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
59275406Sache  { ISFUNC, (rl_command_func_t *)0x0 }
59321308Sache#endif /* KEYMAP_SIZE > 128 */
59421308Sache};
59521308Sache
59621308SacheKEYMAP_ENTRY_ARRAY emacs_ctlx_keymap = {
59721308Sache
59821308Sache  /* Control keys. */
59975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-@ */
60075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-a */
60175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-b */
60275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-c */
60375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-d */
60475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-e */
60575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-f */
60675406Sache  { ISFUNC, rl_abort },				/* Control-g */
60775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-h */
60875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-i */
60975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-j */
61075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-k */
61175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-l */
61275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-m */
61375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-n */
61475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-o */
61575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-p */
61675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-q */
61775406Sache  { ISFUNC, rl_re_read_init_file },		/* Control-r */
61875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-s */
61975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-t */
62075406Sache  { ISFUNC, rl_undo_command },			/* Control-u */
62175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-v */
62275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-w */
62375406Sache  { ISFUNC, rl_exchange_point_and_mark },	/* Control-x */
62475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-y */
62575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-z */
62675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-[ */
62775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-\ */
62875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-] */
62975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-^ */
63075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* Control-_ */
63121308Sache
63221308Sache  /* The start of printing characters. */
63375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* SPACE */
63475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ! */
63575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* " */
63675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* # */
63775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* $ */
63875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* % */
63975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* & */
64075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ' */
64175406Sache  { ISFUNC, rl_start_kbd_macro },		/* ( */
64275406Sache  { ISFUNC, rl_end_kbd_macro  },		/* ) */
64375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* * */
64475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* + */
64575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* , */
64675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* - */
64775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* . */
64875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* / */
64921308Sache
65021308Sache  /* Regular digits. */
65175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 0 */
65275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 1 */
65375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 2 */
65475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 3 */
65575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 4 */
65675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 5 */
65775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 6 */
65875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 7 */
65975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 8 */
66075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* 9 */
66121308Sache
66221308Sache  /* A little more punctuation. */
66375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* : */
66475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ; */
66575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* < */
66675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* = */
66775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* > */
66875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ? */
66975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* @ */
67021308Sache
67121308Sache  /* Uppercase alphabet. */
67275406Sache  { ISFUNC, rl_do_lowercase_version },		/* A */
67375406Sache  { ISFUNC, rl_do_lowercase_version },		/* B */
67475406Sache  { ISFUNC, rl_do_lowercase_version },		/* C */
67575406Sache  { ISFUNC, rl_do_lowercase_version },		/* D */
67675406Sache  { ISFUNC, rl_do_lowercase_version },		/* E */
67775406Sache  { ISFUNC, rl_do_lowercase_version },		/* F */
67875406Sache  { ISFUNC, rl_do_lowercase_version },		/* G */
67975406Sache  { ISFUNC, rl_do_lowercase_version },		/* H */
68075406Sache  { ISFUNC, rl_do_lowercase_version },		/* I */
68175406Sache  { ISFUNC, rl_do_lowercase_version },		/* J */
68275406Sache  { ISFUNC, rl_do_lowercase_version },		/* K */
68375406Sache  { ISFUNC, rl_do_lowercase_version },		/* L */
68475406Sache  { ISFUNC, rl_do_lowercase_version },		/* M */
68575406Sache  { ISFUNC, rl_do_lowercase_version },		/* N */
68675406Sache  { ISFUNC, rl_do_lowercase_version },		/* O */
68775406Sache  { ISFUNC, rl_do_lowercase_version },		/* P */
68875406Sache  { ISFUNC, rl_do_lowercase_version },		/* Q */
68975406Sache  { ISFUNC, rl_do_lowercase_version },		/* R */
69075406Sache  { ISFUNC, rl_do_lowercase_version },		/* S */
69175406Sache  { ISFUNC, rl_do_lowercase_version },		/* T */
69275406Sache  { ISFUNC, rl_do_lowercase_version },		/* U */
69375406Sache  { ISFUNC, rl_do_lowercase_version },		/* V */
69475406Sache  { ISFUNC, rl_do_lowercase_version },		/* W */
69575406Sache  { ISFUNC, rl_do_lowercase_version },		/* X */
69675406Sache  { ISFUNC, rl_do_lowercase_version },		/* Y */
69775406Sache  { ISFUNC, rl_do_lowercase_version },		/* Z */
69821308Sache
69921308Sache  /* Some more punctuation. */
70075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* [ */
70175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* \ */
70275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ] */
70375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ^ */
70475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* _ */
70575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ` */
70621308Sache
70721308Sache  /* Lowercase alphabet. */
70875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* a */
70975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* b */
71075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* c */
71175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* d */
71275406Sache  { ISFUNC, rl_call_last_kbd_macro },		/* e */
71375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* f */
71475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* g */
71575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* h */
71675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* i */
71775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* j */
71875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* k */
71975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* l */
72075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* m */
72175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* n */
72275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* o */
72375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* p */
72475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* q */
72575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* r */
72675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* s */
72775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* t */
72875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* u */
72975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* v */
73075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* w */
73175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* x */
73275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* y */
73375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* z */
73421308Sache
73521308Sache  /* Final punctuation. */
73675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* { */
73775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* | */
73875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* } */
73975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },		/* ~ */
74075406Sache  { ISFUNC, rl_backward_kill_line },		/* RUBOUT */
74121308Sache
74221308Sache#if KEYMAP_SIZE > 128
74321308Sache  /* Undefined keys. */
74475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
74575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
74675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
74775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
74875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
74975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
75975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
76975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
77975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
78975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
79975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
80975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
81975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
82975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
83975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
84975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
85975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86175406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86275406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86375406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86475406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86575406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86675406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86775406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86875406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
86975406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
87075406Sache  { ISFUNC, (rl_command_func_t *)0x0 },
87175406Sache  { ISFUNC, (rl_command_func_t *)0x0 }
87221308Sache#endif /* KEYMAP_SIZE > 128 */
87321308Sache};
874