Mercurial > emacs
annotate lisp/term/lk201.el @ 24843:a555cf7d6f73
("ethiopic"): Add translation rules.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 14 Jun 1999 07:11:40 +0000 |
parents | 07eb87564783 |
children | 67b464da13ec |
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. |
6775
07eb87564783
(function-key-map): Use f11, not \e.
Richard M. Stallman <rms@gnu.org>
parents:
6760
diff
changeset
|
26 ;; The file that includes this one, takes care of that. |
07eb87564783
(function-key-map): Use f11, not \e.
Richard M. Stallman <rms@gnu.org>
parents:
6760
diff
changeset
|
27 (define-key function-key-map "\e[23~" [f11]) |
3251 | 28 (define-key function-key-map "\e[24~" [f12]) |
29 (define-key function-key-map "\e[25~" [f13]) | |
30 (define-key function-key-map "\e[26~" [f14]) | |
31 (define-key function-key-map "\e[28~" [help]) | |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
32 (define-key function-key-map "\e[29~" [menu]) |
3251 | 33 (define-key function-key-map "\e[31~" [f17]) |
34 (define-key function-key-map "\e[32~" [f18]) | |
35 (define-key function-key-map "\e[33~" [f19]) | |
36 (define-key function-key-map "\e[34~" [f20]) | |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
37 |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
38 ;; Termcap or terminfo should set these. |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
39 ;; (define-key function-key-map "\eOA" [up]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
40 ;; (define-key function-key-map "\eOB" [down]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
41 ;; (define-key function-key-map "\eOC" [right]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
42 ;; (define-key function-key-map "\eOD" [left]) |
4206
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
43 |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
44 ;; Termcap or terminfo should set these, but doesn't properly. |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
45 ;; 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
|
46 (define-key function-key-map "\eOP" [kp-f1]) |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
47 (define-key function-key-map "\eOQ" [kp-f2]) |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
48 (define-key function-key-map "\eOR" [kp-f3]) |
9d2ef5f2ff83
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3285
diff
changeset
|
49 (define-key function-key-map "\eOS" [kp-f4]) |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
50 |
6760
e73caf9b9ad5
Support kp-tab, kp-multiply, kp-add, kp-divide.
Richard M. Stallman <rms@gnu.org>
parents:
5581
diff
changeset
|
51 (define-key function-key-map "\eOI" [kp-tab]) |
e73caf9b9ad5
Support kp-tab, kp-multiply, kp-add, kp-divide.
Richard M. Stallman <rms@gnu.org>
parents:
5581
diff
changeset
|
52 (define-key function-key-map "\eOj" [kp-multiply]) |
e73caf9b9ad5
Support kp-tab, kp-multiply, kp-add, kp-divide.
Richard M. Stallman <rms@gnu.org>
parents:
5581
diff
changeset
|
53 (define-key function-key-map "\eOk" [kp-add]) |
e73caf9b9ad5
Support kp-tab, kp-multiply, kp-add, kp-divide.
Richard M. Stallman <rms@gnu.org>
parents:
5581
diff
changeset
|
54 (define-key function-key-map "\eOl" [kp-separator]) |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
55 (define-key function-key-map "\eOM" [kp-enter]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
56 (define-key function-key-map "\eOm" [kp-subtract]) |
5577 | 57 (define-key function-key-map "\eOn" [kp-decimal]) |
6760
e73caf9b9ad5
Support kp-tab, kp-multiply, kp-add, kp-divide.
Richard M. Stallman <rms@gnu.org>
parents:
5581
diff
changeset
|
58 (define-key function-key-map "\eOo" [kp-divide]) |
3285
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
59 (define-key function-key-map "\eOp" [kp-0]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
60 (define-key function-key-map "\eOq" [kp-1]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
61 (define-key function-key-map "\eOr" [kp-2]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
62 (define-key function-key-map "\eOs" [kp-3]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
63 (define-key function-key-map "\eOt" [kp-4]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
64 (define-key function-key-map "\eOu" [kp-5]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
65 (define-key function-key-map "\eOv" [kp-6]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
66 (define-key function-key-map "\eOw" [kp-7]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
67 (define-key function-key-map "\eOx" [kp-8]) |
46b067e1652d
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
3251
diff
changeset
|
68 (define-key function-key-map "\eOy" [kp-9]) |