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
142
143
144
145
|
/* $Id: keybind_lynx.c,v 1.8 2006/05/29 12:17:25 inu Exp $ */
/*
* Lynx-like key binding.
*
* modified from original keybind.c by Keisuke Hashimoto
* <hasimoto@shimada.nuee.nagoya-u.ac.jp>
* http://www.shimada.nuee.nagoya-u.ac.jp/~hasimoto/
*
* further modification by Akinori Ito
*
* Date: Tue, 23 Feb 1999 13:14:44 +0900
*/
#include "funcname2.h"
unsigned char GlobalKeymap[128] = {
/* C-@ C-a C-b C-c C-d C-e C-f C-g */
_mark, goLineF, backBf, nulcmd, nulcmd, goLineL, followA, curlno,
/* C-h C-i C-j C-k C-l C-m C-n C-o */
ldHist, nextA, followA, cooLst, rdrwSc, followA, nextA, nulcmd,
/* C-p C-q C-r C-s C-t C-u C-v C-w */
prevA, closeT, reload, srchfor, tabA, prevA, pgFore, rdrwSc,
/* C-x C-y C-z C-[ C-\ C-] C-^ C-_ */
nulcmd, nulcmd, susp, escmap, nulcmd, nulcmd, nulcmd, nulcmd,
/* SPC ! " # $ % & ' */
pgFore, execsh, reMark, pipesh, linend, nulcmd, nulcmd, nulcmd,
/* ( ) * + , - . / */
undoPos, redoPos, nulcmd, pgFore, col1L, pgBack, col1R, srchfor,
/* 0 1 2 3 4 5 6 7 */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* 8 9 : ; < = > ? */
nulcmd, nulcmd, chkURL, chkWORD, shiftl, pginfo, shiftr, ldhelp,
/* @ A B C D E F G */
readsh, nulcmd, backBf, nulcmd, ldDL, editBf, rFrame, goLine,
/* H I J K L M N O */
ldhelp, followI, lup1, ldown1, linkLst, extbrz, nextMk, nulcmd,
/* P Q R S T U V W */
prevMk, quitfm, reload, svBuf, newT, goURL, ldfile, movLW,
/* X Y Z [ \ ] ^ _ */
nulcmd, nulcmd, ctrCsrH, topA, vwSrc, lastA, linbeg, nulcmd,
/* ` a b c d e f g */
nulcmd, adBmark, pgBack, curURL, svA, nulcmd, nulcmd, goURL,
/* h i j k l m n o */
movL, peekIMG, movD, movU, movR, msToggle, srchnxt, ldOpt,
/* p q r s t u v w */
svBuf, qquitfm, dispVer, selMn, nulcmd, peekURL, ldBmark, movRW,
/* x y z { | } ~ DEL */
nulcmd, nulcmd, ctrCsrV, prevT, pipeBuf, nextT, nulcmd, nulcmd,
};
unsigned char EscKeymap[128] = {
/* C-@ C-a C-b C-c C-d C-e C-f C-g */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* C-h C-i C-j C-k C-l C-m C-n C-o */
nulcmd, prevA, svA, nulcmd, nulcmd, svA, nulcmd, nulcmd,
/* C-p C-q C-r C-s C-t C-u C-v C-w */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* C-x C-y C-z C-[ C-\ C-] C-^ C-_ */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* SPC ! " # $ % & ' */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* ( ) * + , - . / */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* 0 1 2 3 4 5 6 7 */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* 8 9 : ; < = > ? */
nulcmd, nulcmd, chkNMID, nulcmd, goLineF, nulcmd, goLineL, nulcmd,
/* @ A B C D E F G */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* H I J K L M N O */
nulcmd, svI, nulcmd, nulcmd, nulcmd, linkbrz, nulcmd, escbmap,
/* P Q R S T U V W */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, dictwordat,
/* X Y Z [ \ ] ^ _ */
nulcmd, nulcmd, nulcmd, escbmap, nulcmd, nulcmd, nulcmd, nulcmd,
/* ` a b c d e f g */
nulcmd, adBmark, ldBmark, execCmd, nulcmd, editScr, nulcmd, goLine,
/* h i j k l m n o */
nulcmd, nulcmd, nulcmd, defKey, listMn, movlistMn, nextMk, setOpt,
/* p q r s t u v w */
prevMk, nulcmd, nulcmd, svSrc, tabMn, gorURL, pgBack, dictword,
/* x y z { | } ~ DEL */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
};
unsigned char EscBKeymap[128] = {
/* C-@ C-a C-b C-c C-d C-e C-f C-g */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* C-h C-i C-j C-k C-l C-m C-n C-o */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* C-p C-q C-r C-s C-t C-u C-v C-w */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* C-x C-y C-z C-[ C-\ C-] C-^ C-_ */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* SPC ! " # $ % & ' */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* ( ) * + , - . / */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* 0 1 2 3 4 5 6 7 */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* 8 9 : ; < = > ? */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* @ A B C D E F G */
nulcmd, prevA, nextA, followA, backBf, nulcmd, goLineL, pgFore,
/* H I J K L M N O */
goLineF, pgBack, nulcmd, nulcmd, nulcmd, mouse, nulcmd, nulcmd,
/* P Q R S T U V W */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* X Y Z [ \ ] ^ _ */
nulcmd, nulcmd, prevA, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* ` a b c d e f g */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* h i j k l m n o */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* p q r s t u v w */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* x y z { | } ~ DEL */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
};
unsigned char EscDKeymap[128] = {
/* 0 1 INS 3 4 PgUp, PgDn 7 */
nulcmd, goLineF, mainMn, nulcmd, goLineL, pgBack, pgFore, nulcmd,
/* 8 9 10 F1 F2 F3 F4 F5 */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* 16 F6 F7 F8 F9 F10 22 23 */
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
/* 24 25 26 27 HELP 29 30 31 */
nulcmd, nulcmd, nulcmd, nulcmd, mainMn, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd,
};
|