forked from gutschke/wy60
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwy60.rc
306 lines (292 loc) · 11.3 KB
/
wy60.rc
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
# Use this file as a template for configuring the wy60 terminal emulator.
# You can make system wide changes by copying it to "/etc/wy60.rc" or per
# user changes by copying it to "~/.wy60rc". Any value not overridden in
# the user's configuration file will be looked up in the system wide file. If
# neither file has an entry, then the default values are used.
#
# Comments are introduced by the hash mark character and extend to the end of
# the line. Blank lines are ignored. All lines are of the form "key = value".
# Values are case insensitive. Leading and trailing white space for both the
# keys and the values is stripped prior to processing. You can use both octal
# \ooo and hexadecimal \xXX escape sequences. In addition to that, a few
# common sequences such as \r, \n, \t, \e, ... are recognized. Continuation
# lines are not supported.
# IDENTIFIER = \x06
# PRINTCOMMAND = auto
# RESIZE =
# SHELL = /bin/sh
# TERM = wyse60
# WRITEPROTECT = REVERSE
# If you have SVGATextMode installed on your computer and you want to run
# wy60 from the Linux text console, then you might try pointing RESIZE to a
# script file that does something like this:
#
# #!/bin/sh
# PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
# egrep '.+' /proc/fb >&2 && exit 0
# (tty <&3 | egrep '^/dev/tty[0-9]*$' >&2) 3<&1
# if test "$?" -eq 0; then
# SVGATextMode "$1x$2" <&1 >&2 ||
# SVGATextMode "$1x$2x9" <&1 >&2 ||
# SVGATextMode "$1x$2x8" <&1 >&2
# fi
# exit 0
#
# You have to make sure, that you configured SVGATextMode to understand
# these modes:
# 80x24, 80x25, 80x42, 80x43, 132x24, 132x25, 132x42, 132x43.
# Please note that you can only access those keys which have a valid entry in
# the terminfo file for the current terminal. You can check the terminfo
# database by running infocmp. For your convenience, the following lines list
# all of the relevant terminfo entry names and the default mappings for each
# of the supported keys.
# A1 = # ka1
# A3 = # ka3
# B2 = # kb2
# C1 = # kc1
# C3 = # kc2
# Backspace = \b # kbs
# Backtab = \eI # kcbt
# Begin = # kbeg
# Cancel = # kcan
# Clear = # kclr
# Clear All Tabs = # ktbc
# Clear Tab = # kctab
# Close = # kclo
# Command = # kcmd
# Copy = # kcpy
# Create = # kcrt
# Delete = \eW # kdch1
# Delete Line = \eR # kdl1
# Down = \n # kcud1
# End = \eT # kend
# End Of Line = \eY # kel
# End Of Screen = \eT # ked
# Enter = \e7 # kent
# Exit = # kext
# Exit Insert Mode = # krmir
# Find = # kfnd
# Help = # khlp
# Home = \x1E # khome
# Insert = \eE # kich1
# Insert Line = \eQ # kil1
# Left = \b # kcub1
# Lower Left = # kll
# Mark = # kmrk
# Message = # kmsg
# Move = # kmov
# Next = \eK # knxt
# Open = # kopn
# Options = # kopt
# Page Down = \eK # knp
# Page Up = \eJ # kpp
# Previous = \eJ # kprv
# Print = \eP # kprt
# Redo = # krdo
# Reference = # kref
# Refresh = # krfr
# Replace = \er # krpl
# Restart = # krst
# Resume = # kres
# Right = \f # kcuf1
# Save = # ksav
# Scroll Down = # kind
# Scroll Up = # kri
# Select = # kslt
# Set Tab = # khts
# Suspend = \x1A # kspd
# Undo = # kund
# Up = \v # kcuu1
# Shift Begin = # kBEG
# Shift Cancel = # kCAN
# Shift Command = # kCMD
# Shift Copy = # kCPY
# Shift Create = # kCRT
# Shift Delete = \eW # kDC
# Shift Delete Line = \eR # kDL
# Shift End = \eT # kEND
# Shift End Of Line = \eT # kEOL
# Shift Exit = # kEXT
# Shift Find = # kFND
# Shift Help = # kHLP
# Shift Home = \e{ # kHOM
# Shift Insert = \eQ # kIC
# Shift Left = \b # kLFT
# Shift Message = # kMSG
# Shift Move = # kMOV
# Shift Next = \eK # kNXT
# Shift Options = # kOPT
# Shift Previous = \eJ # kPRV
# Shift Print = \eP # kPRT
# Shift Redo = # kRDO
# Shift Replace = \er # kRPL
# Shift Resume = # kRES
# Shift Right = \f # kRIT
# Shift Save = # kSAV
# Shift Suspend = # kSPD
# Shift Undo = # kUND
# F0 = # kf0
# F1 = \001@\r # kf1
# F2 = \001A\r # kf2
# F3 = \001B\r # kf3
# F4 = \001C\r # kf4
# F5 = \001D\r # kf5
# F6 = \001E\r # kf6
# F7 = \001F\r # kf7
# F8 = \001G\r # kf8
# F9 = \001H\r # kf9
# F10 = \001I\r # kf10
# F11 = \001J\r # kf11
# F12 = \001K\r # kf12
# F13 = \001`\r # kf13
# F14 = \001a\r # kf14
# F15 = \001b\r # kf15
# F16 = \001c\r # kf16
# F17 = \001d\r # kf17
# F18 = \001e\r # kf18
# F19 = \001f\r # kf19
# F20 = \001g\r # kf20
# F21 = \001h\r # kf21
# F22 = \001i\r # kf22
# F23 = \001j\r # kf23
# F24 = \001k\r # kf24
# F25 = \001L\r # kf25
# F26 = \001M\r # kf26
# F27 = \001N\r # kf27
# F28 = \001O\r # kf28
# F29 = \001l\r # kf29
# F30 = \001m\r # kf30
# F31 = \001n\r # kf31
# F32 = \001o\r # kf32
# F33 = # kf33
# F34 = # kf34
# F35 = # kf35
# F36 = # kf36
# F37 = # kf37
# F38 = # kf38
# F39 = # kf39
# F40 = # kf40
# F41 = # kf41
# F42 = # kf42
# F43 = # kf43
# F44 = # kf44
# F45 = # kf45
# F46 = # kf46
# F47 = # kf47
# F48 = # kf48
# F49 = # kf49
# F50 = # kf50
# F51 = # kf51
# F52 = # kf52
# F53 = # kf53
# F54 = # kf54
# F55 = # kf55
# F56 = # kf56
# F57 = # kf57
# F58 = # kf58
# F59 = # kf59
# F60 = # kf60
# F61 = # kf61
# F62 = # kf62
# F63 = # kf63
# These keys are not defined in the "terminfo"/"termcap" databases, and
# not all terminals can be configured to send a preceding ESC character,
# when the ALT modifier is in effect.
# But for the terminals that can be configured this way, these entries
# provide a convenient way for users to define their own macros.
# Alt a = \ea
# Alt b = \eb
# Alt c = \ec
# Alt d = \ed
# Alt e = \ee
# Alt f = \ef
# Alt g = \eg
# Alt h = \eh
# Alt i = \ei
# Alt j = \ej
# Alt k = \ek
# Alt l = \el
# Alt m = \em
# Alt n = \en
# Alt o = \eo
# Alt p = \ep
# Alt q = \eq
# Alt r = \er
# Alt s = \es
# Alt t = \et
# Alt u = \eu
# Alt v = \ev
# Alt w = \ew
# Alt x = \ex
# Alt y = \ey
# Alt z = \ez
# Alt A = \eA
# Alt B = \eB
# Alt C = \eC
# Alt D = \eD
# Alt E = \eE
# Alt F = \eF
# Alt G = \eG
# Alt H = \eH
# Alt I = \eI
# Alt J = \eJ
# Alt K = \eK
# Alt L = \eL
# Alt M = \eM
# Alt N = \eN
# Alt O = \eO
# Alt P = \eP
# Alt Q = \eQ
# Alt R = \eR
# Alt S = \eS
# Alt T = \eT
# Alt U = \eU
# Alt V = \eV
# Alt W = \eW
# Alt X = \eX
# Alt Y = \eY
# Alt Z = \eZ
# Alt 0 = \e0
# Alt 1 = \e1
# Alt 2 = \e2
# Alt 3 = \e3
# Alt 4 = \e4
# Alt 5 = \e5
# Alt 6 = \e6
# Alt 7 = \e7
# Alt 8 = \e8
# Alt 9 = \e9
# Alt Space = \e\x20
# Alt Exclamation = \e!
# Alt Double Quote = \e"
# Alt Pound = \e#
# Alt Dollar = \e$
# Alt Percent = \e%
# Alt Ampersand = \e&
# Alt Single Quote = \e'
# Alt Left Paren = \e(
# Alt Right Paren = \e)
# Alt Asterisk = \e*
# Alt Plus = \e+
# Alt Comma = \e,
# Alt Dash = \e-
# Alt Period = \e.
# Alt Slash = \e/
# Alt Colon = \e:
# Alt Semicolon = \e;
# Alt Less = \e<
# Alt Equals = \e=
# Alt Greater = \e>
# Alt Question = \e?
# Alt At = \e@
# Alt Left Bracket = \e[
# Alt Backslash = \e\\
# Alt Right Bracket = \e]
# Alt Circumflex = \e^
# Alt Underscore = \e_
# Alt Backtick = \e`
# Alt Left Brace = \e{
# Alt Pipe = \e|
# Alt Right Brace = \e}
# Alt Tilde = \e~
# Alt Backspace = \e\x7F