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