diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2005-04-17 01:37:38 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2005-04-17 01:37:38 +0000 |
commit | 60ec7b7ed9b42fac4b58bdfc8fce6100b66668cb (patch) | |
tree | 65b495edf369e7ebdb66e81bc3cfc87b69aad152 /src/term.c | |
parent | b72c5a86fdeb8ddd85935c256ebd4883fbd39b5b (diff) | |
download | emacs-60ec7b7ed9b42fac4b58bdfc8fce6100b66668cb.tar.gz |
(struct keys): Add support for shifted keys.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 21 |
1 files changed, 20 insertions, 1 deletions
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[] = {"k6", "f6"}, {"k7", "f7"}, {"k8", "f8"}, - {"k9", "f9"} + {"k9", "f9"}, + + {"&0", "S-cancel"}, /*shifted cancel key*/ + {"&9", "S-begin"}, /*shifted begin key*/ + {"*0", "S-find"}, /*shifted find key*/ + {"*1", "S-execute"}, /*shifted execute? actually shifted command key*/ + {"*4", "S-delete"}, /*shifted delete-character key*/ + {"*7", "S-end"}, /*shifted end key*/ + {"*8", "S-clearline"}, /*shifted clear-to end-of-line key*/ + {"#1", "S-help"}, /*shifted help key*/ + {"#2", "S-home"}, /*shifted home key*/ + {"#3", "S-insert"}, /*shifted insert-character key*/ + {"#4", "S-left"}, /*shifted left-arrow key*/ + {"%d", "S-menu"}, /*shifted menu? actually shifted options key*/ + {"%c", "S-next"}, /*shifted next key*/ + {"%e", "S-prior"}, /*shifted previous key*/ + {"%f", "S-print"}, /*shifted print key*/ + {"%g", "S-redo"}, /*shifted redo key*/ + {"%i", "S-right"}, /*shifted right-arrow key*/ + {"!3", "S-undo"} /*shifted undo key*/ }; static char **term_get_fkeys_arg; |