annotate lisp/term/linux.el @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 ;;; linux.el --- define function key sequences for the Linux console
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 ;; Author: Ben Wing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 ;; Keywords: terminals
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 ;; Copyright (C) 1996 Ben Wing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 ;; This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 ;; XEmacs is free software; you can redistribute it and/or modify it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 ;; under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 ;; the Free Software Foundation; either version 2, or (at your option)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ;; any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 ;; XEmacs is distributed in the hope that it will be useful, but
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ;; General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ;; You should have received a copy of the GNU General Public License
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 52
diff changeset
20 ;; along with XEmacs; see the file COPYING. If not, write to the Free
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
21 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
22 ;; 02111-1307, USA.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;;;; Code:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 ;; Termcap or terminfo should set these next four?
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 (define-key function-key-map "\e[A" [up])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 (define-key function-key-map "\e[B" [down])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 (define-key function-key-map "\e[C" [right])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 (define-key function-key-map "\e[D" [left])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 (define-key function-key-map "\e[[A" [f1])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 (define-key function-key-map "\e[[B" [f2])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 (define-key function-key-map "\e[[C" [f3])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 (define-key function-key-map "\e[[D" [f4])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 (define-key function-key-map "\e[[E" [f5])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 (define-key function-key-map "\e[17~" [f6])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 (define-key function-key-map "\e[18~" [f7])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 (define-key function-key-map "\e[19~" [f8])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (define-key function-key-map "\e[20~" [f9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 (define-key function-key-map "\e[21~" [f10])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 (define-key function-key-map "\e[23~" [f11])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 (define-key function-key-map "\e[24~" [f12])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 (define-key function-key-map "\e[25~" [f13])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 (define-key function-key-map "\e[26~" [f14])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 (define-key function-key-map "\e[28~" [f15])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 (define-key function-key-map "\e[29~" [f16])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 (define-key function-key-map "\e[31~" [f17])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 (define-key function-key-map "\e[32~" [f18])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 (define-key function-key-map "\e[33~" [f19])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 (define-key function-key-map "\e[34~" [f20])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 (define-key function-key-map "\e[1~" [home])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 (define-key function-key-map "\e[2~" [insert])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 (define-key function-key-map "\e[3~" [delete])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 (define-key function-key-map "\e[4~" [end])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 (define-key function-key-map "\e[5~" [prior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 (define-key function-key-map "\e[6~" [next])
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
59 (define-key function-key-map "\e[G" [kp-5])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
61 (define-key function-key-map "\eOp" [kp-0])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
62 (define-key function-key-map "\eOq" [kp-1])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
63 (define-key function-key-map "\eOr" [kp-2])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
64 (define-key function-key-map "\eOs" [kp-3])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
65 (define-key function-key-map "\eOt" [kp-4])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
66 (define-key function-key-map "\eOu" [kp-5])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
67 (define-key function-key-map "\eOv" [kp-6])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
68 (define-key function-key-map "\eOw" [kp-7])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
69 (define-key function-key-map "\eOx" [kp-8])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
70 (define-key function-key-map "\eOy" [kp-9])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
72 (define-key function-key-map "\eOl" [kp-add])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
73 (define-key function-key-map "\eOS" [kp-subtract])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
74 (define-key function-key-map "\eOM" [kp-enter])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
75 (define-key function-key-map "\eOR" [kp-multiply])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
76 (define-key function-key-map "\eOQ" [kp-divide])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
77 (define-key function-key-map "\eOn" [kp-decimal])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
78 (define-key function-key-map "\eOP" [kp-numlock])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
80 ;;; linux.el ends here
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
81