+2006-07-21 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * term/xterm.el (terminal-init-xterm): Fix key bindings
+ syntax. Bind S-return, C-M-., C-TAB, S-TAB and C-S-TAB.
+
2006-07-21 Eli Zaretskii <eliz@gnu.org>
* dos-w32.el (find-buffer-file-type-coding-system): Support calls
(define-key map "\e[29~" [print])
;; These keys are available in xterm starting from version 214
- ;; if the modifyOtherKeys resource is set.
- (define-key map "\e[27;5;9~" [(control ?\t)])
+ ;; if the modifyOtherKeys resource is set to 1.
+ (define-key map "\e[27;5;9~" [?\C-\t])
(define-key map "\e[27;5;13~" [C-return])
- (define-key map "\e[27;5;44~" [(control ?\,)])
- (define-key map "\e[27;5;46~" [(control ?\.)])
- (define-key map "\e[27;5;47~" [(control ?\/)])
- (define-key map "\e[27;5;92~" [(control ?\\)])
+ (define-key map "\e[27;5;44~" [?\C-,])
+ (define-key map "\e[27;5;46~" [?\C-.])
+ (define-key map "\e[27;5;47~" [?\C-/])
+ (define-key map "\e[27;5;92~" [?\C-\\])
+
+ (define-key map "\e[27;2;9~" [?\S-\t])
+ (define-key map "\e[27;2;13~" [S-return])
+
+ (define-key map "\e[27;6;9~" [?\C-\S-\t])
+
+ (define-key map "\e[27;13;46~" [?\C-\M-.])
+
;; Other versions of xterm might emit these.
(define-key map "\e[A" [up])