* term/x-win.el: Include (invocation-name) in the error messages
[bpt/emacs.git] / lisp / term / lk201.el
1 ;; Define function key sequences for DEC terminals.
2
3 ;; Termcap or terminfo should set these.
4 ;; (define-key function-key-map "\e[A" [up])
5 ;; (define-key function-key-map "\e[B" [down])
6 ;; (define-key function-key-map "\e[C" [right])
7 ;; (define-key function-key-map "\e[D" [left])
8
9 (define-key function-key-map "\e[1~" [find])
10 (define-key function-key-map "\e[2~" [insertchar])
11 (define-key function-key-map "\e[3~" [deletechar])
12 (define-key function-key-map "\e[4~" [select])
13 (define-key function-key-map "\e[5~" [prior])
14 (define-key function-key-map "\e[6~" [next])
15 (define-key function-key-map "\e[17~" [f6])
16 (define-key function-key-map "\e[18~" [f7])
17 (define-key function-key-map "\e[19~" [f8])
18 (define-key function-key-map "\e[20~" [f9])
19 (define-key function-key-map "\e[21~" [f10])
20 ;; Customarily F11 is used as the ESC key.
21 (define-key function-key-map "\e[23~" [?\e])
22 (define-key function-key-map "\e[24~" [f12])
23 (define-key function-key-map "\e[25~" [f13])
24 (define-key function-key-map "\e[26~" [f14])
25 (define-key function-key-map "\e[28~" [help])
26 (define-key function-key-map "\e[29~" [menu])
27 (define-key function-key-map "\e[31~" [f17])
28 (define-key function-key-map "\e[32~" [f18])
29 (define-key function-key-map "\e[33~" [f19])
30 (define-key function-key-map "\e[34~" [f20])
31
32 ;; Termcap or terminfo should set these.
33 ;; (define-key function-key-map "\eOA" [up])
34 ;; (define-key function-key-map "\eOB" [down])
35 ;; (define-key function-key-map "\eOC" [right])
36 ;; (define-key function-key-map "\eOD" [left])
37 ;; (define-key function-key-map "\eOP" [kp-f1])
38 ;; (define-key function-key-map "\eOQ" [kp-f2])
39 ;; (define-key function-key-map "\eOR" [kp-f3])
40 ;; (define-key function-key-map "\eOS" [kp-f4])
41
42 (define-key function-key-map "\eOM" [kp-enter])
43 (define-key function-key-map "\eOl" [kp-separator])
44 (define-key function-key-map "\eOm" [kp-subtract])
45 (define-key function-key-map "\eOn" [kp-period])
46 (define-key function-key-map "\eOp" [kp-0])
47 (define-key function-key-map "\eOq" [kp-1])
48 (define-key function-key-map "\eOr" [kp-2])
49 (define-key function-key-map "\eOs" [kp-3])
50 (define-key function-key-map "\eOt" [kp-4])
51 (define-key function-key-map "\eOu" [kp-5])
52 (define-key function-key-map "\eOv" [kp-6])
53 (define-key function-key-map "\eOw" [kp-7])
54 (define-key function-key-map "\eOx" [kp-8])
55 (define-key function-key-map "\eOy" [kp-9])