aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2005-04-17 01:37:38 +0000
committerDan Nicolaescu2005-04-17 01:37:38 +0000
commit60ec7b7ed9b42fac4b58bdfc8fce6100b66668cb (patch)
tree65b495edf369e7ebdb66e81bc3cfc87b69aad152
parentb72c5a86fdeb8ddd85935c256ebd4883fbd39b5b (diff)
downloademacs-60ec7b7ed9b42fac4b58bdfc8fce6100b66668cb.tar.gz
emacs-60ec7b7ed9b42fac4b58bdfc8fce6100b66668cb.zip
(struct keys): Add support for shifted keys.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/term.c21
2 files changed, 24 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ffcfdebcab1..3483a2c5905 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12005-04-16 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * term.c (struct keys): Add support for shifted keys.
4
12005-04-16 Richard M. Stallman <rms@gnu.org> 52005-04-16 Richard M. Stallman <rms@gnu.org>
2 6
3 * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case. 7 * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case.
diff --git a/src/term.c b/src/term.c
index 23da2ac8704..1e1a8674b0c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1451,7 +1451,26 @@ static struct fkey_table keys[] =
1451 {"k6", "f6"}, 1451 {"k6", "f6"},
1452 {"k7", "f7"}, 1452 {"k7", "f7"},
1453 {"k8", "f8"}, 1453 {"k8", "f8"},
1454 {"k9", "f9"} 1454 {"k9", "f9"},
1455
1456 {"&0", "S-cancel"}, /*shifted cancel key*/
1457 {"&9", "S-begin"}, /*shifted begin key*/
1458 {"*0", "S-find"}, /*shifted find key*/
1459 {"*1", "S-execute"}, /*shifted execute? actually shifted command key*/
1460 {"*4", "S-delete"}, /*shifted delete-character key*/
1461 {"*7", "S-end"}, /*shifted end key*/
1462 {"*8", "S-clearline"}, /*shifted clear-to end-of-line key*/
1463 {"#1", "S-help"}, /*shifted help key*/
1464 {"#2", "S-home"}, /*shifted home key*/
1465 {"#3", "S-insert"}, /*shifted insert-character key*/
1466 {"#4", "S-left"}, /*shifted left-arrow key*/
1467 {"%d", "S-menu"}, /*shifted menu? actually shifted options key*/
1468 {"%c", "S-next"}, /*shifted next key*/
1469 {"%e", "S-prior"}, /*shifted previous key*/
1470 {"%f", "S-print"}, /*shifted print key*/
1471 {"%g", "S-redo"}, /*shifted redo key*/
1472 {"%i", "S-right"}, /*shifted right-arrow key*/
1473 {"!3", "S-undo"} /*shifted undo key*/
1455 }; 1474 };
1456 1475
1457static char **term_get_fkeys_arg; 1476static char **term_get_fkeys_arg;