Repository navigation
Expand file tree
/
Copy pathdefprf.c
More file actions
executable file
·231 lines (231 loc) · 7.95 KB
/
Copy pathdefprf.c
File metadata and controls
executable file
·231 lines (231 loc) · 7.95 KB
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
/* This file defines the initial data for ELLE's default user profile.
** It is automatically generated by ELLEC, and should not be edited.
*/
char charmap[] = {
35, /* ( 0) ^@ Set/Pop Mark */
20, /* ( 1) ^A B
8000
eginning of Line */
5, /* ( 2) ^B Backward Character */
0, /* ( 3) ^C unknown function */
6, /* ( 4) ^D Delete Character */
21, /* ( 5) ^E End of Line */
4, /* ( 6) ^F Forward Character */
0, /* ( 7) ^G unknown function */
5, /* ( 10) ^H Backward Character */
121, /* ( 11) ^I Indent According to Mode */
122, /* ( 12) ^J Indent New Line */
28, /* ( 13) ^K Kill Line */
78, /* ( 14) ^L New Window */
3, /* ( 15) ^M CRLF */
24, /* ( 16) ^N Down Real Line */
26, /* ( 17) ^O Open Line */
25, /* ( 20) ^P Up Real Line */
2, /* ( 21) ^Q Quoted Insert */
113, /* ( 22) ^R Reverse Search */
112, /* ( 23) ^S Incremental Search */
9, /* ( 24) ^T Transpose Characters */
93, /* ( 25) ^U Universal Arg */
79, /* ( 26) ^V Next Screen */
37, /* ( 27) ^W Kill Region */
92, /* ( 30) ^X Prefix Extend */
105, /* ( 31) ^Y Un-kill */
0, /* ( 32) ^Z unknown function */
91, /* ( 33) ^[ Prefix Meta */
141, /* ( 34) ^\ Debug Mode */
0, /* ( 35) ^] unknown function */
140, /* ( 36) ^^ Hit Breakpoint */
97, /* ( 37) ^_ Describe */
1, /* ( 40) Insert Self */
1, /* ( 41) ! Insert Self */
1, /* ( 42) " Insert Self */
1, /* ( 43) # Insert Self */
1, /* ( 44) $ Insert Self */
1, /* ( 45) % Insert Self */
1, /* ( 46) & Insert Self */
1, /* ( 47) ' Insert Self */
1, /* ( 50) ( Insert Self */
1, /* ( 51) ) Insert Self */
1, /* ( 52) * Insert Self */
1, /* ( 53) + Insert Self */
1, /* ( 54) , Insert Self */
1, /* ( 55) - Insert Self */
1, /* ( 56) . Insert Self */
1, /* ( 57) / Insert Self */
1, /* ( 60) 0 Insert Self */
1, /* ( 61) 1 Insert Self */
1, /* ( 62) 2 Insert Self */
1, /* ( 63) 3 Insert Self */
1, /* ( 64) 4 Insert Self */
1, /* ( 65) 5 Insert Self */
1, /* ( 66) 6 Insert Self */
1, /* ( 67) 7 Insert Self */
1, /* ( 70) 8 Insert Self */
1, /* ( 71) 9 Insert Self */
1, /* ( 72) : Insert Self */
1, /* ( 73) ; Insert Self */
1, /* ( 74) < Insert Self */
1, /* ( 75) = Insert Self */
1, /* ( 76) > Insert Self */
1, /* ( 77) ? Insert Self */
1, /* (100) @ Insert Self */
1, /* (101) A Insert Self */
1, /* (102) B Insert Self */
1, /* (103) C Insert Self */
1, /* (104) D Insert Self */
1, /* (105) E Insert Self */
1, /* (106) F Insert Self */
1, /* (107) G Insert Self */
1, /* (110) H Insert Self */
1, /* (111) I Insert Self */
1, /* (112) J Insert Self */
1, /* (113) K Insert Self */
1, /* (114) L Insert Self */
1, /* (115) M Insert Self */
1, /* (116) N Insert Self */
1, /* (117) O Insert Self */
1, /* (120) P Insert Self */
1, /* (121) Q Insert Self */
1, /* (122) R Insert Self */
1, /* (123) S Insert Self */
1, /* (124) T Insert Self */
1, /* (125) U Insert Self */
1, /* (126) V Insert Self */
1, /* (127) W Insert Self */
1, /* (130) X Insert Self */
1, /* (131) Y Insert Self */
1, /* (132) Z Insert Self */
1, /* (133) [ Insert Self */
1, /* (134) \ Insert Self */
1, /* (135) ] Insert Self */
1, /* (136) ^ Insert Self */
1, /* (137) _ Insert Self */
1, /* (140) ` Insert Self */
1, /* (141) a Insert Self */
1, /* (142) b Insert Self */
1, /* (143) c Insert Self */
1, /* (144) d Insert Self */
1, /* (145) e Insert Self */
1, /* (146) f Insert Self */
1, /* (147) g Insert Self */
1, /* (150) h Insert Self */
1, /* (151) i Insert Self */
1, /* (152) j Insert Self */
1, /* (153) k Insert Self */
1, /* (154) l Insert Self */
1, /* (155) m Insert Self */
1, /* (156) n Insert Self */
1, /* (157) o Insert Self */
1, /* (160) p Insert Self */
1, /* (161) q Insert Self */
1, /* (162) r Insert Self */
1, /* (163) s Insert Self */
1, /* (164) t Insert Self */
1, /* (165) u Insert Self */
1, /* (166) v Insert Self */
1, /* (167) w Insert Self */
1, /* (170) x Insert Self */
1, /* (171) y Insert Self */
1, /* (172) z Insert Self */
1, /* (173) { Insert Self */
1, /* (174) | Insert Self */
1, /* (175) } Insert Self */
1, /* (176) ~ Insert Self */
7, /* (177) DEL Backward Delete Character */
};
char metamap[] = {
014 , 30, /* M-^L Goto Line */
016 , 84, /* M-^N Scroll Window Down */
020 , 83, /* M-^P Scroll Window Up */
022 ,111, /* M-^R Reverse String Search */
023 ,110, /* M-^S String Search */
024 , 85, /* M-^T Move to Window Top */
027 ,107, /* M-^W Append Next Kill */
030 , 51, /* M-^X Select Existing Buffer */
036 , 74, /* M-^^ Shrink Window */
045 ,115, /* M-% Query Replace */
055 , 94, /* M-- Negative Argument */
060 , 95, /* M-0 Argument Digit */
061 , 95, /* M-1 Argument Digit */
062 , 95, /* M-2 Argument Digit */
063 , 95, /* M-3 Argument Digit */
064 , 95, /* M-4 Argument Digit */
065 , 95, /* M-5 Argument Digit */
066 , 95, /* M-6 Argument Digit */
067 , 95, /* M-7 Argument Digit */
070 , 95, /* M-8 Argument Digit */
071 , 95, /* M-9 Argument Digit */
073 ,124, /* M-; Indent for Comment */
074 , 56, /* M-< Goto Beginning */
076 , 57, /* M-> Goto End */
0133, 46, /* M-[ Backward Paragraph */
0134, 8, /* M-\ Delete Horizontal Space */
0135, 45, /* M-] Forward Paragraph */
0102, 11, /* M-B Backward Word */
0103, 17, /* M-C Uppercase Initial */
0104, 12, /* M-D Kill Word */
0106, 10, /* M-F Forward Word */
0107, 41, /* M-G Fill Region */
0110, 47, /* M-H Mark Paragraph */
0111,125, /* M-I Indent Relative */
0114, 16, /* M-L Lowercase Word */
0115,123, /* M-M Back to Indentation */
0116, 22, /* M-N Next Line */
0117, 96, /* M-O VT100 Button Hack */
0120, 23, /* M-P Previous Line */
0121, 48, /* M-Q Fill Paragraph */
0124, 14, /* M-T Transpose Words */
0125, 15, /* M-U Uppercase Word */
0126, 80, /* M-V Previous Screen */
0127, 38, /* M-W Copy Region */
0131,106, /* M-Y Un-kill Pop */
0176, 54, /* M-~ Buffer Not Modified */
0177, 13, /* M-DEL Backward Kill Word */
};
char extmap[] = {
02 , 53, /* X-^B List Buffers */
03 ,132, /* X-^C Write File Exit */
05 , 67, /* X-^E Write Region */
06 , 60, /* X-^F Find File */
013 , 68, /* X-^K Write Last Kill */
014 , 40, /* X-^L Lowercase Region */
015 , 55, /* X-^M EOL CRLF Mode */
017 , 27, /* X-^O Delete Blank Lines */
020 , 90, /* X-^P Set Profile */
022 , 61, /* X-^R Read File */
023 , 64, /* X-^S Save File */
025 , 39, /* X-^U Uppercase Region */
026 , 62, /* X-^V Visit File */
027 , 66, /* X-^W Write File */
030 , 36, /* X-^X Exchange Point and Mark */
032 ,131, /* X-^Z Return to Superior */
041 ,130, /* X-! Push to Inferior */
044 ,116, /* X-$ Replace in Line */
045 ,114, /* X-% Replace String */
050 ,100, /* X-( Start Kbd Macro */
051 ,101, /* X-) End Kbd Macro */
052 ,103, /* X-* View Kbd Macro */
056 ,118, /* X-. Set Fill Prefix */
060 , 75, /* X-0 Delete Window */
061 , 71, /* X-1 One Window */
062 , 70, /* X-2 Two Windows */
070 , 76, /* X-8 Standout Window */
071 , 77, /* X-9 Two Mode Windows */
075 , 58, /* X-= What Page */
0136, 73, /* X-^ Grow Window */
0102, 50, /* X-B Select Buffer */
0105,102, /* X-E Execute Kbd Macro */
0106,117, /* X-F Set Fill Column */
0111, 63, /* X-I Insert File */
0113, 52, /* X-K Kill Buffer */
0117, 72, /* X-O Other Window */
0123, 65, /* X-S Save All Files */
0124,119, /* X-T Auto Fill Mode */
0177, 29, /* X-DEL Backward Kill Line */
};
struct profile def_prof = {
1, /* Ver */
sizeof(charmap), charmap,
sizeof(metamap)/2, metamap,
sizeof(extmap)/2, extmap,
0, 0
};