blob: a1acced84b79b90a56d43377989a7599d9aeaf99 (
plain) (
blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
#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 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 set_numbers_as_arrows NOPARAMS;
extern void set_vi_keys NOPARAMS;
extern void set_vms_keys NOPARAMS;
extern unsigned short keymap[]; /* main keymap matrix */
#ifdef EXP_KEYBOARD_LAYOUT
extern int current_layout;
extern unsigned short * LYKbLayouts[];
extern char * LYKbLayoutNames[];
extern int LYSetKbLayout PARAMS((char *layout_id));
#endif
#if defined(DIRED_SUPPORT) && defined(OK_OVERRIDE)
extern unsigned short key_override[];
#endif
#define LYK_1 1
#define LYK_2 2
#define LYK_3 3
#define LYK_4 4
#define LYK_5 5
#define LYK_6 6
#define LYK_7 7
#define LYK_8 8
#define LYK_9 9
#define LYK_SOURCE 10
#define LYK_RELOAD 11
#define LYK_PIPE 12
#define LYK_QUIT 13
#define LYK_ABORT 14
#define LYK_NEXT_PAGE 15
#define LYK_PREV_PAGE 16
#define LYK_UP_TWO 17
#define LYK_DOWN_TWO 18
#define LYK_UP_HALF 19
#define LYK_DOWN_HALF 20
#define LYK_REFRESH 21
#define LYK_HOME 22
#define LYK_END 23
#define LYK_PREV_LINK 24
#define LYK_NEXT_LINK 25
#define LYK_UP_LINK 26
#define LYK_DOWN_LINK 27
#define LYK_RIGHT_LINK 28
#define LYK_LEFT_LINK 29
#define LYK_HISTORY 30
#define LYK_PREV_DOC 31
#define LYK_ACTIVATE 32
#define LYK_GOTO 33
#define LYK_ECGOTO 34
#define LYK_HELP 35
#define LYK_INDEX 36
#define LYK_NOCACHE 37
#define LYK_INTERRUPT 38
#define LYK_MAIN_MENU 39
#define LYK_OPTIONS 40
#define LYK_INDEX_SEARCH 41
#define LYK_WHEREIS 42
#define LYK_NEXT 43
#define LYK_COMMENT 44
#define LYK_EDIT 45
#define LYK_INFO 46
#define LYK_PRINT 47
#define LYK_ADD_BOOKMARK 48
#define LYK_DEL_BOOKMARK 49
#define LYK_VIEW_BOOKMARK 50
#define LYK_VLINKS 51
#define LYK_SHELL 52
#define LYK_DOWNLOAD 53
#define LYK_TRACE_TOGGLE 54
#define LYK_TRACE_LOG 55
#define LYK_IMAGE_TOGGLE 56
#define LYK_INLINE_TOGGLE 57
#define LYK_HEAD 58
#define LYK_DO_NOTHING 59
#define LYK_TOGGLE_HELP 60
#define LYK_JUMP 61
#define LYK_KEYMAP 62
#define LYK_LIST 63
#define LYK_TOOLBAR 64
#define LYK_HISTORICAL 65
#define LYK_MINIMAL 66
#define LYK_SOFT_DQUOTES 67
#define LYK_RAW_TOGGLE 68
#define LYK_COOKIE_JAR 69
#define LYK_F_LINK_NUM 70
#define LYK_CLEAR_AUTH 71
#define LYK_SWITCH_DTD 72
#define LYK_ELGOTO 73
#ifdef USE_EXTERNALS
#define LYK_EXTERN 74
#if defined(VMS) || defined(DIRED_SUPPORT)
#define LYK_DIRED_MENU 75
#endif /* VMS || DIRED_SUPPORT */
#else /* USE_EXTERNALS */
#if defined(VMS) || defined(DIRED_SUPPORT)
#define LYK_DIRED_MENU 74
#endif /* VMS || DIRED_SUPPORT */
#endif /* !defined(USE_EXTERNALS) */
#ifdef DIRED_SUPPORT
#define LYK_CREATE (LYK_DIRED_MENU+1)
#define LYK_REMOVE (LYK_DIRED_MENU+2)
#define LYK_MODIFY (LYK_DIRED_MENU+3)
#define LYK_TAG_LINK (LYK_DIRED_MENU+4)
#define LYK_UPLOAD (LYK_DIRED_MENU+5)
#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
#define LYK_FORM_DOWN 83
#endif /* NOT_USED */
#endif /* LYKEYMAP_H */
|