Mercurial > emacs
comparison lisp/term/vt320.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 |
---|---|
1 ;; -*- no-byte-compile: t -*- | 1 ;; -*- no-byte-compile: t -*- |
2 (defun terminal-init-vt320 () | 2 (defun terminal-init-vt320 () |
3 "Terminal initialization function for vt320." | 3 "Terminal initialization function for vt320." |
4 (tty-run-terminal-initialization (selected-frame) "vt100") | 4 (tty-run-terminal-initialization (selected-frame) "vt100") |
5 ;; Make F11 an escape key. | 5 ;; Make F11 an escape key. |
6 (define-key local-function-key-map "\e[23~" [?\e])) | 6 (define-key input-decode-map "\e[23~" [f11]) ;Probably redundant. |
7 (define-key local-function-key-map [f11] [?\e])) | |
7 | 8 |
8 ;;; arch-tag: f9f4c954-0b9e-45f9-b450-a320d32abd9c | 9 ;; arch-tag: f9f4c954-0b9e-45f9-b450-a320d32abd9c |
9 ;;; vt320.el ends here | 10 ;;; vt320.el ends here |