about summary refs log tree commit diff stats
path: root/src/LYKeymap.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-11-10 19:47:00 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1998-11-10 19:47:00 -0500
commitd3f9d5478df478427c2aa5db4507ddd0a38f0eb6 (patch)
treee27eacd6bbda653dd77f11cc020b9e0a59f7f4fc /src/LYKeymap.h
parent18024037b515bfff83e0230b35151babe6005e18 (diff)
downloadlynx-snapshots-d3f9d5478df478427c2aa5db4507ddd0a38f0eb6.tar.gz
snapshot of project "lynx", label v2-8-2dev_2
Diffstat (limited to 'src/LYKeymap.h')
-rw-r--r--src/LYKeymap.h33
1 files changed, 21 insertions, 12 deletions
diff --git a/src/LYKeymap.h b/src/LYKeymap.h
index 77feb48f..e8ccad06 100644
--- a/src/LYKeymap.h
+++ b/src/LYKeymap.h
@@ -1,27 +1,28 @@
 #ifndef LYKEYMAP_H
 #define LYKEYMAP_H
 
+#include <HTUtils.h>
+
+extern BOOLEAN LYisNonAlnumKeyname PARAMS((int ch, int key_name));
+extern char *key_for_func PARAMS((int func));
+extern int LYReverseKeymap PARAMS((int key_name));
+extern int lookup_keymap PARAMS((int code));
 extern int remap PARAMS((char *key, char *func));
-extern void set_vms_keys NOPARAMS;
-extern void set_vi_keys NOPARAMS;
+extern void print_keymap PARAMS((char **newfile));
+extern void reset_emacs_keys NOPARAMS;
+extern void reset_numbers_as_arrows NOPARAMS;
 extern void reset_vi_keys NOPARAMS;
 extern void set_emacs_keys NOPARAMS;
-extern void reset_emacs_keys NOPARAMS;
 extern void set_numbers_as_arrows NOPARAMS;
-extern void reset_numbers_as_arrows NOPARAMS;
-extern void print_keymap PARAMS((char **newfile));
-extern char *key_for_func PARAMS((int func));
-extern BOOLEAN LYisNonAlnumKeyname PARAMS((int ch, int key_name));
-extern int LYReverseKeymap PARAMS((int key_name));
+extern void set_vi_keys NOPARAMS;
+extern void set_vms_keys NOPARAMS;
 
-extern char keymap[]; /* main keymap matrix */
+extern unsigned short keymap[]; /* main keymap matrix */
 
 #if defined(DIRED_SUPPORT) && defined(OK_OVERRIDE)
-extern char override[];
+extern unsigned short key_override[];
 #endif
 
-#define CURRENT_KEYMAP_TITLE "Current Key Map"
-
 #define       LYK_1             1
 #define       LYK_2             2
 #define       LYK_3             3
@@ -116,6 +117,14 @@ extern char override[];
 #define       LYK_INSTALL       (LYK_DIRED_MENU+6)
 #endif /* DIRED_SUPPORT */
 
+#ifndef LYK_DIRED_MENU
+#define       LYK_DIRED_MENU    0
+#endif
+
+#ifndef LYK_TAG_LINK
+#define       LYK_TAG_LINK      0
+#endif
+
 #ifdef NOT_USED
 #define       LYK_VERSION       81
 #define       LYK_FORM_UP       82