summaryrefslogtreecommitdiff
path: root/lisp/term/xterm.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term/xterm.el')
-rw-r--r--lisp/term/xterm.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el
index 049d65c62fa..2bf36283983 100644
--- a/lisp/term/xterm.el
+++ b/lisp/term/xterm.el
@@ -162,6 +162,14 @@
(define-key xterm-function-map "\e[4~" [select])
(define-key xterm-function-map "\e[29~" [print])
+ ;; These keys will be available xterm starting probably from
+ ;; version 214.
+ (define-key xterm-function-map "\e[27;5;8~" [(control ?\t)])
+ (define-key xterm-function-map "\e[27;5;44~" [(control ?\,)])
+ (define-key xterm-function-map "\e[27;5;46~" [(control ?\.)])
+ (define-key xterm-function-map "\e[27;5;47~" [(control ?\/)])
+ (define-key xterm-function-map "\e[27;5;92~" [(control ?\\)])
+
;; Other versions of xterm might emit these.
(define-key xterm-function-map "\e[A" [up])
(define-key xterm-function-map "\e[B" [down])