summaryrefslogtreecommitdiff
path: root/lib/pref/pref-gcu.prf
diff options
context:
space:
mode:
authorManoj Srivastava <srivasta@debian.org>2003-11-24 21:22:08 +0000
committerManoj Srivastava <srivasta@debian.org>2003-11-24 21:22:08 +0000
commit7f2215b29c05f0f08554a854f6996c3bb614d7c8 (patch)
treefc7ce600d6b5177784eaf76f1e5e00a64f2ef30d /lib/pref/pref-gcu.prf
Initial import of the 2.2.0 branch
This is the initial commit of the files downloaded from http://www.t-o-m-e.org/ website git-archimport-id: srivasta@debian.org--2003-primary/tome--upstream--2.2--base-0
Diffstat (limited to 'lib/pref/pref-gcu.prf')
-rw-r--r--lib/pref/pref-gcu.prf70
1 files changed, 70 insertions, 0 deletions
diff --git a/lib/pref/pref-gcu.prf b/lib/pref/pref-gcu.prf
new file mode 100644
index 00000000..cbc80ada
--- /dev/null
+++ b/lib/pref/pref-gcu.prf
@@ -0,0 +1,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
+
+