summaryrefslogtreecommitdiff
path: root/lib/mods/theme/pref/pref-gcu.prf
blob: cbc80adae723f18d7637ee5ce28f321e7286435e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File: pref-gcu.prf

#
# This file may be included by "pref.prf", when using "main-gcu.prf".
#
# It contains macro definitions to allow the VT100 cursor keys to be
# recognized by Angband.  This will also make the "escape" key take a
# few seconds to recognize, so you may want to use the "`" key instead.
#


### VT100 Keypad ###


# Special keypad keys (delete, insert)

A:.
P:\e[3~

A:0
P:\e[2~


# Numerical keypad keys (map to appropriate number)

A:1
P:\e[4~
P:\e[F

A:2
P:\e[B

A:3
P:\e[6~

A:4
P:\e[D

A:5
P:\e[G

A:6
P:\e[C

A:7
P:\e[1~
P:\e[H

A:8
P:\e[A

A:9
P:\e[5~


# Basic function keys (F1 - F4)

A:\e
P:\eOP

A:\e
P:\eOQ

A:\e
P:\eOR

A:\e
P:\eOS