aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/term/xterm.el14
1 files changed, 12 insertions, 2 deletions
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el
index d66646876b1..234280a3c3f 100644
--- a/lisp/term/xterm.el
+++ b/lisp/term/xterm.el
@@ -1,6 +1,6 @@
1;;; xterm.el --- define function key sequences and standard colors for xterm 1;;; xterm.el --- define function key sequences and standard colors for xterm
2 2
3;; Copyright (C) 1995, 2002 Free Software Foundation, Inc. 3;; Copyright (C) 1995, 2002, 2004 Free Software Foundation, Inc.
4 4
5;; Author: FSF 5;; Author: FSF
6;; Keywords: terminals 6;; Keywords: terminals
@@ -51,6 +51,16 @@
51 (define-key map "\e[24~" [f12]) 51 (define-key map "\e[24~" [f12])
52 (define-key map "\e[29~" [print]) 52 (define-key map "\e[29~" [print])
53 53
54 (define-key map "\e[1;2A" [S-up])
55 (define-key map "\e[1;2B" [S-down])
56 (define-key map "\e[1;2C" [S-right])
57 (define-key map "\e[1;2D" [S-left])
58
59 (define-key map "\e[1;5A" [C-up])
60 (define-key map "\e[1;5B" [C-down])
61 (define-key map "\e[1;5C" [C-right])
62 (define-key map "\e[1;5D" [C-left])
63
54 (define-key map "\e[2;2~" [S-insert]) 64 (define-key map "\e[2;2~" [S-insert])
55 (define-key map "\e[3;2~" [S-delete]) 65 (define-key map "\e[3;2~" [S-delete])
56 (define-key map "\e[5;2~" [S-prior]) 66 (define-key map "\e[5;2~" [S-prior])
@@ -236,5 +246,5 @@ versions of xterm."
236;; This recomputes all the default faces given the colors we've just set up. 246;; This recomputes all the default faces given the colors we've just set up.
237(tty-set-up-initial-frame-faces) 247(tty-set-up-initial-frame-faces)
238 248
239;;; arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a 249;; arch-tag: 12e7ebdd-1e6c-4b25-b0f9-35ace25e855a
240;;; xterm.el ends here 250;;; xterm.el ends here