diff options
Diffstat (limited to 'lisp/term/xterm.el')
| -rw-r--r-- | lisp/term/xterm.el | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 9c4b8b1190b..2e498a8de86 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el | |||
| @@ -159,8 +159,37 @@ | |||
| 159 | (define-key xterm-function-map "\e[4~" [select]) | 159 | (define-key xterm-function-map "\e[4~" [select]) |
| 160 | (define-key xterm-function-map "\e[29~" [print]) | 160 | (define-key xterm-function-map "\e[29~" [print]) |
| 161 | 161 | ||
| 162 | ;; These keys are available in xterm starting from version 214 | 162 | ;; These keys are available in xterm starting from version 216 |
| 163 | ;; if the modifyOtherKeys resource is set to 1. | 163 | ;; if the modifyOtherKeys resource is set to 1. |
| 164 | |||
| 165 | (define-key xterm-function-map "\e[27;5;39~" [?\C-\']) | ||
| 166 | (define-key xterm-function-map "\e[27;5;45~" [?\C--]) | ||
| 167 | |||
| 168 | (define-key xterm-function-map "\e[27;5;48~" [?\C-0]) | ||
| 169 | (define-key xterm-function-map "\e[27;5;49~" [?\C-1]) | ||
| 170 | ;; Not all C-DIGIT keys have a distinct binding. | ||
| 171 | (define-key xterm-function-map "\e[27;5;57~" [?\C-9]) | ||
| 172 | |||
| 173 | (define-key xterm-function-map "\e[27;5;59~" [?\C-\;]) | ||
| 174 | (define-key xterm-function-map "\e[27;5;61~" [?\C-=]) | ||
| 175 | |||
| 176 | |||
| 177 | (define-key xterm-function-map "\e[27;6;33~" [?\C-!]) | ||
| 178 | (define-key xterm-function-map "\e[27;6;34~" [?\C-\"]) | ||
| 179 | (define-key xterm-function-map "\e[27;6;35~" [?\C-#]) | ||
| 180 | (define-key xterm-function-map "\e[27;6;36~" [?\C-$]) | ||
| 181 | (define-key xterm-function-map "\e[27;6;37~" [?\C-%]) | ||
| 182 | (define-key xterm-function-map "\e[27;6;38~" [(C-&)]) | ||
| 183 | (define-key xterm-function-map "\e[27;6;40~" [?\C-(]) | ||
| 184 | (define-key xterm-function-map "\e[27;6;41~" [?\C-)]) | ||
| 185 | (define-key xterm-function-map "\e[27;6;42~" [?\C-*]) | ||
| 186 | (define-key xterm-function-map "\e[27;6;43~" [?\C-+]) | ||
| 187 | |||
| 188 | (define-key xterm-function-map "\e[27;6;58~" [?\C-:]) | ||
| 189 | (define-key xterm-function-map "\e[27;6;60~" [?\C-<]) | ||
| 190 | (define-key xterm-function-map "\e[27;6;62~" [?\C->]) | ||
| 191 | (define-key xterm-function-map "\e[27;6;63~" [(C-\?)]) | ||
| 192 | |||
| 164 | (define-key xterm-function-map "\e[27;5;9~" [C-tab]) | 193 | (define-key xterm-function-map "\e[27;5;9~" [C-tab]) |
| 165 | (define-key xterm-function-map "\e[27;5;13~" [C-return]) | 194 | (define-key xterm-function-map "\e[27;5;13~" [C-return]) |
| 166 | (define-key xterm-function-map "\e[27;5;44~" [?\C-,]) | 195 | (define-key xterm-function-map "\e[27;5;44~" [?\C-,]) |