diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-02-18 10:30:13 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-02-18 10:30:13 -0500 |
commit | c5fef0d4ab035d8fd988270a39ed6f9d0e9b214c (patch) | |
tree | 24189287f1876ed78999a0e3722ed26a8f733d05 /samples | |
parent | 8ce6b560f4fb325be3d34266c54c70eb8668e8e1 (diff) | |
download | lynx-snapshots-c5fef0d4ab035d8fd988270a39ed6f9d0e9b214c.tar.gz |
snapshot of project "lynx", label v2-8-2dev_17
Diffstat (limited to 'samples')
-rw-r--r-- | samples/lynx-keymaps | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/samples/lynx-keymaps b/samples/lynx-keymaps index 311aa8bc..ee6039af 100644 --- a/samples/lynx-keymaps +++ b/samples/lynx-keymaps @@ -1,7 +1,11 @@ -# 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 +# 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. +# (Lynx implements this mechanism only if USE_KEYMAPS is defined during +# compilation, which has nothing to do with the KEYMAP directives in lynx.cfg, +# see source file LYCurses.h.) + # Lines that start with a '#' are comment lines. Blank lines are ignored. # The 'setkey' function may be used in two ways: @@ -9,7 +13,7 @@ # 1. setkey ESC-SEQUENCE KEYSYM # 2. setkey ESC-SEQUENCE KEYSYM_NAME # -# where KEYSYM is an integer. A keysym is essentually with the lynx.rc +# where KEYSYM is an integer. A keysym is essentially with the lynx.cfg # file calls a 'keystroke', but I think that keysym is a more appropriate # name. The keysym is an integer and may be expressed in various ways: # @@ -84,6 +88,15 @@ setkey "^[[K" END setkey "^[<" HOME setkey "^[>" END # +# Note that it may be impossible to map several sequences to the same +# keysym (NCURSES only?), in that case the mapping occurring last wins. +# +# The following maps a sequence commonly used for Shift+Tab to the +# corresponding code. It should not be needed if the terminfo file +# has the correct info for kcbt. +# +setkey "^[[Z" 0x10F +# # Other special escapes: # \a bell # \b backspace |