Mercurial > emacs
comparison lisp/term/vt220.el @ 85550:528714e93230
(terminal-init-vtNNN): Use input-decode-map.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 22 Oct 2007 15:22:00 +0000 |
parents | 673d62ad74b5 |
children | 4bc33ffdda1a ef719132ddfa |
comparison
equal
deleted
inserted
replaced
85549:efbb484c3a9d | 85550:528714e93230 |
---|---|
3 ;; Most differences are handled by the termcap entry. | 3 ;; Most differences are handled by the termcap entry. |
4 (defun terminal-init-vt220 () | 4 (defun terminal-init-vt220 () |
5 "Terminal initialization function for vt220." | 5 "Terminal initialization function for vt220." |
6 (tty-run-terminal-initialization (selected-frame) "vt100") | 6 (tty-run-terminal-initialization (selected-frame) "vt100") |
7 ;; Make F11 an escape key. | 7 ;; Make F11 an escape key. |
8 (define-key local-function-key-map "\e[23~" [?\e])) | 8 (define-key input-decode-map "\e[23~" [f11]) ;Probably redundant. |
9 (define-key local-function-key-map [f11] [?\e])) | |
9 | 10 |
10 ;;; arch-tag: 98fc4867-a20d-46a1-a276-d7be31e49871 | 11 ;; arch-tag: 98fc4867-a20d-46a1-a276-d7be31e49871 |
11 ;;; vt220.el ends here | 12 ;;; vt220.el ends here |