annotate lisp/term/lk201.el @ 258:58424f6abf56

Added tag r20-5b27 for changeset 65c19d2020f7
author cvs
date Mon, 13 Aug 2007 10:22:10 +0200
parents 54cc21c15cbb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
1 ;;; lk201.el --- basic editing commands for XEmacs
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
2
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
3 ;; This file is part of XEmacs.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
4
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
5 ;; XEmacs is free software; you can redistribute it and/or modify it
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
6 ;; under the terms of the GNU General Public License as published by
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
7 ;; the Free Software Foundation; either version 2, or (at your option)
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
8 ;; any later version.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
9
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
10 ;; XEmacs is distributed in the hope that it will be useful, but
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
11 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
12 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
13 ;; General Public License for more details.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
14
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
15 ;; You should have received a copy of the GNU General Public License
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
16 ;; along with XEmacs; see the file COPYING. If not, write to the Free
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
17 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
18 ;; 02111-1307, USA.
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
19
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
20 ;;; Synched up with: Not in FSF
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
21
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
22 ;;; Commentary:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
23
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ;; Define function key sequences for DEC terminals.
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.
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
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
32 ;;; Code:
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
33
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 (define-key function-key-map "\e[1~" [find])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 (define-key function-key-map "\e[2~" [insert])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 (define-key function-key-map "\e[3~" [delete])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 (define-key function-key-map "\e[4~" [select])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 (define-key function-key-map "\e[5~" [prior])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 (define-key function-key-map "\e[6~" [next])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 (define-key function-key-map "\e[11~" [f1])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 (define-key function-key-map "\e[12~" [f2])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 (define-key function-key-map "\e[13~" [f3])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 (define-key function-key-map "\e[14~" [f4])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 (define-key function-key-map "\e[15~" [f5])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 (define-key function-key-map "\e[17~" [f6])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 (define-key function-key-map "\e[18~" [f7])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 (define-key function-key-map "\e[19~" [f8])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 (define-key function-key-map "\e[20~" [f9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 (define-key function-key-map "\e[21~" [f10])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 ;; Customarily F11 is used as the ESC key.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 ;; The file that includes this one, takes care of that.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 (define-key function-key-map "\e[23~" [f11])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 (define-key function-key-map "\e[24~" [f12])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 (define-key function-key-map "\e[25~" [f13])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 (define-key function-key-map "\e[26~" [f14])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 (define-key function-key-map "\e[28~" [help])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 (define-key function-key-map "\e[29~" [menu])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 (define-key function-key-map "\e[31~" [f17])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 (define-key function-key-map "\e[32~" [f18])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 (define-key function-key-map "\e[33~" [f19])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 (define-key function-key-map "\e[34~" [f20])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 ;; Termcap or terminfo should set these.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 ;; (define-key function-key-map "\eOA" [up])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 ;; (define-key function-key-map "\eOB" [down])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 ;; (define-key function-key-map "\eOC" [right])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 ;; (define-key function-key-map "\eOD" [left])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 ;; Termcap or terminfo should set these, but doesn't properly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 ;; Termcap sets these to k1-k4, which get mapped to f1-f4 in term.c
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
71 (define-key function-key-map "\eOP" [kp-f1])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
72 (define-key function-key-map "\eOQ" [kp-f2])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
73 (define-key function-key-map "\eOR" [kp-f3])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
74 (define-key function-key-map "\eOS" [kp-f4])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75
74
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
76 (define-key function-key-map "\eOI" [kp-tab])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
77 (define-key function-key-map "\eOj" [kp-multiply])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
78 (define-key function-key-map "\eOk" [kp-add])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
79 (define-key function-key-map "\eOl" [kp-separator])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
80 (define-key function-key-map "\eOM" [kp-enter])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
81 (define-key function-key-map "\eOm" [kp-subtract])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
82 (define-key function-key-map "\eOn" [kp-decimal])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
83 (define-key function-key-map "\eOo" [kp-divide])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
84 (define-key function-key-map "\eOp" [kp-0])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
85 (define-key function-key-map "\eOq" [kp-1])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
86 (define-key function-key-map "\eOr" [kp-2])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
87 (define-key function-key-map "\eOs" [kp-3])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
88 (define-key function-key-map "\eOt" [kp-4])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
89 (define-key function-key-map "\eOu" [kp-5])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
90 (define-key function-key-map "\eOv" [kp-6])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
91 (define-key function-key-map "\eOw" [kp-7])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
92 (define-key function-key-map "\eOx" [kp-8])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
93 (define-key function-key-map "\eOy" [kp-9])
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
94
54cc21c15cbb Import from CVS: tag r20-0b32
cvs
parents: 70
diff changeset
95 ;;; lk201.el ends here