annotate lisp/term/lk201.el @ 47044:c3fb9620c314

2002-08-25 Andrew Choi <akochoi@shaw.ca> * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is defined instead of MAC_OSX. [Already logged in src/ChangeLog]
author Andrew Choi <akochoi@shaw.ca>
date Tue, 27 Aug 2002 00:30:54 +0000
parents 67b464da13ec
children 33d53d287ee4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a0e0f051e3d2 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 4206
diff changeset
15 (define-key function-key-map "\e[11~" [f1])
a0e0f051e3d2 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 4206
diff changeset
16 (define-key function-key-map "\e[12~" [f2])
a0e0f051e3d2 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 4206
diff changeset
17 (define-key function-key-map "\e[13~" [f3])
a0e0f051e3d2 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 4206
diff changeset
18 (define-key function-key-map "\e[14~" [f4])
a0e0f051e3d2 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 4206
diff changeset
19 (define-key function-key-map "\e[15~" [f5])
3251
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 (define-key function-key-map "\e[17~" [f6])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 (define-key function-key-map "\e[18~" [f7])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 (define-key function-key-map "\e[19~" [f8])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 (define-key function-key-map "\e[20~" [f9])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 (define-key function-key-map "\e[24~" [f12])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 (define-key function-key-map "\e[25~" [f13])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 (define-key function-key-map "\e[26~" [f14])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 (define-key function-key-map "\e[31~" [f17])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 (define-key function-key-map "\e[32~" [f18])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 (define-key function-key-map "\e[33~" [f19])
6283e50471eb Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
a0e0f051e3d2 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 4206
diff changeset
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])
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 6775
diff changeset
69
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 6775
diff changeset
70 ;;; lk201.el ends here