summaryrefslogtreecommitdiff
path: root/lib/pref/xtra-gcu.prf
blob: 7097658e3e70e8f0c4d8177a1ac3fc23f71727bb (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
# File: xtra-gcu.prf

# Rename this file to "pref-gcu.prf" 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, or make a macro from escape+escape to escape.

### 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~
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~
A:8
P:\e[A
A:9
P:\e[5~