Mercurial > emacs
comparison src/term.c @ 42122:706558f91b28
(keys): Add missing braces around initializer.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Tue, 18 Dec 2001 06:25:50 +0000 |
parents | 050b19294988 |
children | 73fcf65b58d3 |
comparison
equal
deleted
inserted
replaced
42121:3069e9eb44de | 42122:706558f91b28 |
---|---|
1380 other keys (as on the IBM PC keyboard) they get overridden. | 1380 other keys (as on the IBM PC keyboard) they get overridden. |
1381 */ | 1381 */ |
1382 | 1382 |
1383 static struct fkey_table keys[] = | 1383 static struct fkey_table keys[] = |
1384 { | 1384 { |
1385 "kh", "home", /* termcap */ | 1385 {"kh", "home"}, /* termcap */ |
1386 "kl", "left", /* termcap */ | 1386 {"kl", "left"}, /* termcap */ |
1387 "ku", "up", /* termcap */ | 1387 {"ku", "up"}, /* termcap */ |
1388 "kr", "right", /* termcap */ | 1388 {"kr", "right"}, /* termcap */ |
1389 "kd", "down", /* termcap */ | 1389 {"kd", "down"}, /* termcap */ |
1390 "%8", "prior", /* terminfo */ | 1390 {"%8", "prior"}, /* terminfo */ |
1391 "%5", "next", /* terminfo */ | 1391 {"%5", "next"}, /* terminfo */ |
1392 "@7", "end", /* terminfo */ | 1392 {"@7", "end"}, /* terminfo */ |
1393 "@1", "begin", /* terminfo */ | 1393 {"@1", "begin"}, /* terminfo */ |
1394 "*6", "select", /* terminfo */ | 1394 {"*6", "select"}, /* terminfo */ |
1395 "%9", "print", /* terminfo */ | 1395 {"%9", "print"}, /* terminfo */ |
1396 "@4", "execute", /* terminfo --- actually the `command' key */ | 1396 {"@4", "execute"}, /* terminfo --- actually the `command' key */ |
1397 /* | 1397 /* |
1398 * "insert" --- see below | 1398 * "insert" --- see below |
1399 */ | 1399 */ |
1400 "&8", "undo", /* terminfo */ | 1400 {"&8", "undo"}, /* terminfo */ |
1401 "%0", "redo", /* terminfo */ | 1401 {"%0", "redo"}, /* terminfo */ |
1402 "%7", "menu", /* terminfo --- actually the `options' key */ | 1402 {"%7", "menu"}, /* terminfo --- actually the `options' key */ |
1403 "@0", "find", /* terminfo */ | 1403 {"@0", "find"}, /* terminfo */ |
1404 "@2", "cancel", /* terminfo */ | 1404 {"@2", "cancel"}, /* terminfo */ |
1405 "%1", "help", /* terminfo */ | 1405 {"%1", "help"}, /* terminfo */ |
1406 /* | 1406 /* |
1407 * "break" goes here, but can't be reliably intercepted with termcap | 1407 * "break" goes here, but can't be reliably intercepted with termcap |
1408 */ | 1408 */ |
1409 "&4", "reset", /* terminfo --- actually `restart' */ | 1409 {"&4", "reset"}, /* terminfo --- actually `restart' */ |
1410 /* | 1410 /* |
1411 * "system" and "user" --- no termcaps | 1411 * "system" and "user" --- no termcaps |
1412 */ | 1412 */ |
1413 "kE", "clearline", /* terminfo */ | 1413 {"kE", "clearline"}, /* terminfo */ |
1414 "kA", "insertline", /* terminfo */ | 1414 {"kA", "insertline"}, /* terminfo */ |
1415 "kL", "deleteline", /* terminfo */ | 1415 {"kL", "deleteline"}, /* terminfo */ |
1416 "kI", "insertchar", /* terminfo */ | 1416 {"kI", "insertchar"}, /* terminfo */ |
1417 "kD", "deletechar", /* terminfo */ | 1417 {"kD", "deletechar"}, /* terminfo */ |
1418 "kB", "backtab", /* terminfo */ | 1418 {"kB", "backtab"}, /* terminfo */ |
1419 /* | 1419 /* |
1420 * "kp_backtab", "kp-space", "kp-tab" --- no termcaps | 1420 * "kp_backtab", "kp-space", "kp-tab" --- no termcaps |
1421 */ | 1421 */ |
1422 "@8", "kp-enter", /* terminfo */ | 1422 {"@8", "kp-enter"}, /* terminfo */ |
1423 /* | 1423 /* |
1424 * "kp-f1", "kp-f2", "kp-f3" "kp-f4", | 1424 * "kp-f1", "kp-f2", "kp-f3" "kp-f4", |
1425 * "kp-multiply", "kp-add", "kp-separator", | 1425 * "kp-multiply", "kp-add", "kp-separator", |
1426 * "kp-subtract", "kp-decimal", "kp-divide", "kp-0"; | 1426 * "kp-subtract", "kp-decimal", "kp-divide", "kp-0"; |
1427 * --- no termcaps for any of these. | 1427 * --- no termcaps for any of these. |
1428 */ | 1428 */ |
1429 "K4", "kp-1", /* terminfo */ | 1429 {"K4", "kp-1"}, /* terminfo */ |
1430 /* | 1430 /* |
1431 * "kp-2" --- no termcap | 1431 * "kp-2" --- no termcap |
1432 */ | 1432 */ |
1433 "K5", "kp-3", /* terminfo */ | 1433 {"K5", "kp-3"}, /* terminfo */ |
1434 /* | 1434 /* |
1435 * "kp-4" --- no termcap | 1435 * "kp-4" --- no termcap |
1436 */ | 1436 */ |
1437 "K2", "kp-5", /* terminfo */ | 1437 {"K2", "kp-5"}, /* terminfo */ |
1438 /* | 1438 /* |
1439 * "kp-6" --- no termcap | 1439 * "kp-6" --- no termcap |
1440 */ | 1440 */ |
1441 "K1", "kp-7", /* terminfo */ | 1441 {"K1", "kp-7"}, /* terminfo */ |
1442 /* | 1442 /* |
1443 * "kp-8" --- no termcap | 1443 * "kp-8" --- no termcap |
1444 */ | 1444 */ |
1445 "K3", "kp-9", /* terminfo */ | 1445 {"K3", "kp-9"}, /* terminfo */ |
1446 /* | 1446 /* |
1447 * "kp-equal" --- no termcap | 1447 * "kp-equal" --- no termcap |
1448 */ | 1448 */ |
1449 "k1", "f1", | 1449 {"k1", "f1"}, |
1450 "k2", "f2", | 1450 {"k2", "f2"}, |
1451 "k3", "f3", | 1451 {"k3", "f3"}, |
1452 "k4", "f4", | 1452 {"k4", "f4"}, |
1453 "k5", "f5", | 1453 {"k5", "f5"}, |
1454 "k6", "f6", | 1454 {"k6", "f6"}, |
1455 "k7", "f7", | 1455 {"k7", "f7"}, |
1456 "k8", "f8", | 1456 {"k8", "f8"}, |
1457 "k9", "f9", | 1457 {"k9", "f9"} |
1458 }; | 1458 }; |
1459 | 1459 |
1460 static char **term_get_fkeys_arg; | 1460 static char **term_get_fkeys_arg; |
1461 static Lisp_Object term_get_fkeys_1 (); | 1461 static Lisp_Object term_get_fkeys_1 (); |
1462 | 1462 |