Mercurial > emacs
annotate lisp/term/lk201.el @ 5697:47563495ca14
(calendar-phases-of-moon): Fix mode line.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 30 Jan 1994 00:28:54 +0000 |
parents | 92a0425caeea |
children | e73caf9b9ad5 |
rev | line source |
---|---|
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
1 ;; Define function key sequences for DEC terminals. |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
2 |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
3 ;; Termcap or terminfo should set these. |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
4 ;; (define-key function-key-map "\e[A" [up]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
5 ;; (define-key function-key-map "\e[B" [down]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
6 ;; (define-key function-key-map "\e[C" [right]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
7 ;; (define-key function-key-map "\e[D" [left]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
8 |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
9 (define-key function-key-map "\e[1~" [find]) |
5581
92a0425caeea
(function-key-map): Change insertchar and deletechar to insert and delete.
Richard M. Stallman <rms@gnu.org>
parents:
5577
diff
changeset
|
10 (define-key function-key-map "\e[2~" [insert]) |
92a0425caeea
(function-key-map): Change insertchar and deletechar to insert and delete.
Richard M. Stallman <rms@gnu.org>
parents:
5577
diff
changeset
|
11 (define-key function-key-map "\e[3~" [delete]) |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
12 (define-key function-key-map "\e[4~" [select]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
13 (define-key function-key-map "\e[5~" [prior]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
14 (define-key function-key-map "\e[6~" [next]) |
5577 | 15 (define-key function-key-map "\e[11~" [f1]) |
16 (define-key function-key-map "\e[12~" [f2]) | |
17 (define-key function-key-map "\e[13~" [f3]) | |
18 (define-key function-key-map "\e[14~" [f4]) | |
19 (define-key function-key-map "\e[15~" [f5]) | |
3251 | 20 (define-key function-key-map "\e[17~" [f6]) |
21 (define-key function-key-map "\e[18~" [f7]) | |
22 (define-key function-key-map "\e[19~" [f8]) | |
23 (define-key function-key-map "\e[20~" [f9]) | |
24 (define-key function-key-map "\e[21~" [f10]) | |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
25 ;; Customarily F11 is used as the ESC key. |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
26 (define-key function-key-map "\e[23~" [?\e]) |
3251 | 27 (define-key function-key-map "\e[24~" [f12]) |
28 (define-key function-key-map "\e[25~" [f13]) | |
29 (define-key function-key-map "\e[26~" [f14]) | |
30 (define-key function-key-map "\e[28~" [help]) | |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
31 (define-key function-key-map "\e[29~" [menu]) |
3251 | 32 (define-key function-key-map "\e[31~" [f17]) |
33 (define-key function-key-map "\e[32~" [f18]) | |
34 (define-key function-key-map "\e[33~" [f19]) | |
35 (define-key function-key-map "\e[34~" [f20]) | |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
36 |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
37 ;; Termcap or terminfo should set these. |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
38 ;; (define-key function-key-map "\eOA" [up]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
39 ;; (define-key function-key-map "\eOB" [down]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
40 ;; (define-key function-key-map "\eOC" [right]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
41 ;; (define-key function-key-map "\eOD" [left]) |
4206
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
42 |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
43 ;; Termcap or terminfo should set these, but doesn't properly. |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
44 ;; Termcap sets these to k1-k4, which get mapped to f1-f4 in term.c |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
45 (define-key function-key-map "\eOP" [kp-f1]) |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
46 (define-key function-key-map "\eOQ" [kp-f2]) |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
47 (define-key function-key-map "\eOR" [kp-f3]) |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
48 (define-key function-key-map "\eOS" [kp-f4]) |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
49 |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
50 (define-key function-key-map "\eOM" [kp-enter]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
51 (define-key function-key-map "\eOl" [kp-separator]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
52 (define-key function-key-map "\eOm" [kp-subtract]) |
5577 | 53 (define-key function-key-map "\eOn" [kp-decimal]) |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
54 (define-key function-key-map "\eOp" [kp-0]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
55 (define-key function-key-map "\eOq" [kp-1]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
56 (define-key function-key-map "\eOr" [kp-2]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
57 (define-key function-key-map "\eOs" [kp-3]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
58 (define-key function-key-map "\eOt" [kp-4]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
59 (define-key function-key-map "\eOu" [kp-5]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
60 (define-key function-key-map "\eOv" [kp-6]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
61 (define-key function-key-map "\eOw" [kp-7]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
62 (define-key function-key-map "\eOx" [kp-8]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
63 (define-key function-key-map "\eOy" [kp-9]) |