about summary refs log tree commit diff stats
path: root/samples
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-09-13 14:41:19 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-09-13 14:41:19 -0400
commit02f2851492143446abaaa33cc9536fade7b51124 (patch)
tree613e06824c47ca1592dd53eab57ed1ddb1409404 /samples
parent5816641fc3a761e00d154c4dea9551a0027a7c63 (diff)
downloadlynx-snapshots-02f2851492143446abaaa33cc9536fade7b51124.tar.gz
snapshot of project "lynx", label v2-8-1dev_26
Diffstat (limited to 'samples')
-rw-r--r--samples/lynx-keymaps23
1 files changed, 22 insertions, 1 deletions
diff --git a/samples/lynx-keymaps b/samples/lynx-keymaps
index f3847931..311aa8bc 100644
--- a/samples/lynx-keymaps
+++ b/samples/lynx-keymaps
@@ -1,4 +1,7 @@
-# This is a sample key sequence definition file.
+# This is a sample key sequence definition file.  It is used by Lynx when built
+# with ncurses or slang, to augment the definitions from your terminal's
+# termcap or terminfo description.
+
 # Lines that start with a '#' are comment lines.  Blank lines are ignored.
 
 # The 'setkey' function may be used in two ways:
@@ -80,3 +83,21 @@ setkey "^[[K"		END
 #
 setkey "^[<"		HOME
 setkey "^[>"		END
+#
+# Other special escapes:
+#	\a		bell
+#	\b		backspace
+#	\f		form-feed
+#	\n		newline (line-feed)
+#	\r		carriage-return
+#	\t		tab
+#	\v		vertical tab
+#	\<number>	octal number, up to 3 digits, e.g., "\033".
+#	\d<number>	decimal number, up to 3 digits, e.g., "\d99"
+#	\x<number>	hexidecimal number, up to 2 digits, e.g., "\xFF"
+#
+# For Unix-systems (which have termcap or terminfo) you may also use symbols
+# that refer to the termcap/terminfo, by referencing the name bracketed by
+# "^(" and ")", e.g.,
+setkey "^(cuu1)"	UPARROW
+setkey "^(up)"		UPARROW