6930152 6192139 (no reboot audit -- PSARC/2009/354) points out less than optimal...
[unleashed.git] / usr / src / cmd / terminfo / wyse.ti
blob41e9402f9223ddfab5df6d2bd80686d7e056242c
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License").  You may not use this file except in compliance
7 # with the License.
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
20 # CDDL HEADER END
23 # Copyright 1995 Sun Microsystems, Inc.  All rights reserved.
24 # Use is subject to license terms.
27 #       Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
28 #         All Rights Reserved
30 #ident  "%Z%%M% %I%     %E% SMI"
32 # The following terminfo entries are directly from:
33 #       Wyse Technology
34 #       3571 North First Street
35 #       San Jose, CA 95134
39 #TITLE:  TERMINFO ENTRY WY30
40 #DATE:   8/5/93
42 #          Although the Wyse 30 can support more than one attribute
43 #       it requires magic cookies to do so.  Many applications do not
44 #       function well with magic cookies.  The following terminfo uses
45 #       the protect mode to support one attribute (reverse) without cookies.
46 #       If more than one attribute is needed then the wy30-mc terminfo
47 #       should be used.
49 wy30|wyse30|Wyse 30,
50         acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, am, bel=^G, bw, cbt=\EI, civis=\E`0,
51         clear=\E*$<80>, cnorm=\E`1, cols#80, cr=^M, cub1=^H, cud1=^J, cuf1=^L,
52         cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, dch1=\EW$<10>, dl1=\ER$<1>,
53         dsl=\EF^M, ed=\EY$<80>, el=\ET, fsl=^M, home=^^, hs, ht=^I$<1>,
54         hts=\E1, ich1=\EQ, il1=\EE$<2>, ind=^J$<2>, ip=$<2>,
55         is2=\E'\E(\E\^3\E`9^N^T, it#8, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J,
56         kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7,
57         kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, kf5=^AD^M, kf6=^AE^M,
58         kf7=^AF^M, kf8=^AG^M, kHOM=\E{, khome=^^, kich1=\EQ, kil1=\EE, knp=\EK,
59         kpp=\EJ, krpl=\Er, lh#1, lines#24, ll=^^^K, lw#8, mc0=\EP, mc4=^T,
60         mc5=^X, mc5i, mir, nel=^M^J, nlab#8, pfx=\Ez%p1%'?'%+%c%p2%s\177,
61         pln=\Ez%p1%'/'%+%c%p2%s^M, prot=\E`7\E), ri=\Ej$<3>, rev=\E`6\E),
62         rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, sgr0=\E(\EH^C,
63         smacs=\EH^B, smir=\Eq, smln=\EA10, smso=\E`6\E), tbc=\E0, tsl=\EF,
64         wsl#45, xon,
66 #       This terminal description uses the non-hidden attribute mode
67 #       (with magic cookie).
69 wy30-mc|wyse30-mc|wyse 30 with magic cookies,
70         xmc#1, ma@, msgr@,
71         blink=\EG2, dim=\EGp, invis=\EG1, prot=\EG0\E), rev=\EG4,
72         rmacs=\EG0\EH^C, rmcup=\EG0, rmso=\EG0, rmul=\EG0,
73         sgr=\EG%'0'%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH^B%e\EH^C%;,
74         sgr0=\EG0\E(\EH^C, smacs=\EG0\EH^B, smso=\EG4, smul=\EG8,
75         use=wy30,
76 #       The manditorary pause used by flash does not work with
77 #       older versions of terminfo.  If you see this effect then
78 #       unset xon and delete the / from the delay.
79 #       i.e. change $<100/> to $<100>
80 wy30-vb|wyse30-vb|wyse 30 Visable bell,
81         flash=\E`8$<100/>\E`9,
82         use=wy30,
84 #       Aug 5, 1993 by Terry Liang
85 #       Terminfo entry for wy30+ is the same as that for wy30.
87 wy30p|wyse30p|Wyse 30 plus,
88         use=wy30,
89 wy30p-mc|wyse30p-mc|wyse 30 plus with magic cookies,
90         use=wy30-mc,
91 wy30p-vb|wyse30p-vb|wyse 30 plus Visable bell,
92         use=wy30-vb,
95 #       Wyse 50
97 wyse50|wy50|wyse-50|wy-50|Wyse WY-50,
98         am, bw, hs, mir, xon,
99         cols#80, lines#24, xmc#1,
100         bel=^G, cbt=\EI, civis=\E`0, clear=\E*$<20>,
101         cnorm=\E`1, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
102         cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K,
103         dch1=\EW$<1>, dl1=\ER, dsl=\EF\r, ed=\Ey$<20>, el=\Et,
104         fsl=\r, home=^^, ht=\t, hts=\E1, il1=\EE, ind=\n,
105         ip=$<1>, is1=\E`:\E`9$<30>, is2=^N^T\E'\E(, kbs=\b,
106         kcbt=\EI, kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K,
107         kdch1=\EW, kdl1=\ER, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r,
108         kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r,
109         kf9=^AH\r, khome=^^, kil1=\EE, ri=\Ej,
110         rmacs=\EG0\EH^C, rmir=\Er, rmso=\EG0, rmul=\EG0,
111         smacs=\EG0\EH^B, smir=\Eq, smso=\EGt, smul=\EG8,
112         tbc=\E0, tsl=\EF,
113 wyse50-vb|wy50-vb|wyse-50-vb|wy-50-vb|Wyse 50 Visable bell,
114         flash=\E`8\E`:\E`9,
115         use=wy50,
116 wy50-w|wyse50-w|wyse-50-w|wy-50-w|wyse 50 132-column,
117         cols#132,
118         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9,
119         use=wy50,
120 wy50-wvb|wyse50-wvb|wy-50-wvb|wyse-50-wvb|Wyse 50 132-column Visable bell,
121         cols#132,
122         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>,
123         flash=\E`8\E`;\E`9, is1=\E`;\E`9,
124         use=wy50,
126 #       The Wyse 60 is like the Wyse 50 but with more padding.
127 #       The reset strings are slow and the pad times very depending
128 #       on other parameters such as font loading.  I have tried
129 #       to follow the following outline:
130 #               rs1 -> set personality
131 #               rs2 -> set number of columns
132 #               rs3 -> set number of lines
133 #               is1 -> select the proper font
134 #               is2 -> do the initialization
135 #               is3 -> If this string is empty then rs3 gets sent.
136 #                      So I do some initialization here.
138 #       The Wyse 60's that have vt100 emulation are slower than the
139 #       older Wyse 60's.  This change happened mid-1987.
140 #       The capabilities effected are (dch1) (dl1) (il1) (ind) (ri)
142 ###################################################################
143 ###     Note:                                                   ###
144 ###        The Wyse 60 runs faster when the XON/XOFF            ###
145 ###        handshake is turned off.                             ###
146 ###################################################################
147 wy60|wyse60|Wyse 60,
148         am, bw, hs, km, mir, msgr, xon,
149         cols#80, lines#24,
150         bel=^G, cbt=\EI, civis=\E`0, clear=\E*$<100>,
151         cnorm=\E`1, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
152         cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K,
153         dch1=\EW$<11>, dl1=\ER$<5>, dsl=\EF\r, ed=\Ey$<100>,
154         el=\Et, fsl=\r, home=^^, ht=\t, hts=\E1, il1=\EE$<4>,
155         ind=\n, ip=$<3>, is1=\EcB0\EcC1,
156         is2=\Ed$\EcD\E'\Er\EH^C\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1^N^T,
157         kbs=\b, kcbt=\EI, kcub1=\b, kcud1=\n, kcuf1=\f,
158         kcuu1=^K, kdch1=\EW, kdl1=\ER, kf1=^A@\r, kf2=^AA\r,
159         kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r,
160         kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=\EE, ri=\Ej$<7>,
161         rmacs=\EH^C, rmir=\Er, rmso=\EG0, rmul=\EG0,
162         rs1=\E~!\E~4$<150>, rs2=\EeF$<150>,
163         rs3=\EwG\Ee($<200>, smacs=\EH^B, smir=\Eq, smso=\EGt,
164         smul=\EG8, tbc=\E0, tsl=\EF,
165 wy60-w|wyse60-w|wyse 60 132-column,
166         cols#132,
167         cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>,
168         rs2=\EeF\E`;$<300>,
169         use=wy60,
170 wy60-25|wyse60-25|wyse 60 80-column 25-lines,
171         lines#25,
172         rs3=\EwG\Ee)$<200>,
173         use=wy60,
174 wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines,
175         lines#25,
176         rs3=\EwG\Ee)$<200>,
177         use=wy60-w,
178 wy60-42|wyse60-42|wyse 60 80-column 42-lines,
179         lines#42,
180         clear=\E*$<260>, cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c$<2>,
181         dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>,
182         il1=\EE$<11>, ip=$<5>, is1=\EcB2\EcC3, ri=\Ej$<10>,
183         rs3=\Ee*$<150>,
184         use=wy60,
185 wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines,
186         cols#132,
187         cup=\Ea%i%p1%dR%p2%dC$<2>, dch1=\EW$<19>, home=^^$<2>,
188         ip=$<6>, rs2=\EeF\E`;$<300>,
189         use=wy60-42,
190 wy60-43|wyse60-43|wyse 60 80-column 43-lines,
191         lines#43,
192         rs3=\Ee+$<150>,
193         use=wy60-42,
194 wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines,
195         lines#43,
196         rs3=\Ee+$<150>,
197         use=wy60-42-w,
198 wy60-vb|wyse60-vb|Wyse 60 Visable bell,
199         flash=\E`8\E`9,
200         use=wy60,
201 wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column Visable bell,
202         flash=\E`8\E`9,
203         use=wy60-w,
205 #       Wyse 60 in economy mode with 2 pages of memory
206 #       It may be useful to assign two function keys with the
207 #       values  \E=(\s  look at old data in page 1
208 #               \E=W,   look at bottem of page 1
209 wy60-2p|wyse 60 with 2 pages of memory,
210         is2=\Ed$\EcD\E'\Er\EH^C\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\EwJ\Ew1^N^T$<150>,
211         rmcup=\Ew1, rs2=\EeG$<150>, smcup=\Ew0,
212         use=wy60,
214 ######################################################################
216 #       The Wyse-99GT looks at lot like the Wyse 60 except that it
217 #       does not have the 42/43 line mode.  In the Wyse-60 the "lines"
218 #       setup parameter controls the number of lines on the screen.
219 #       For the Wyse 99GT the "lines" setup parameter controls the
220 #       number of lines in a page.  The screen can display 25 lines max.
221 #           The Wyse-99GT also has personalities for the VT220 and
222 #       Tektronix 4014.  But this has no bearing on the native mode.
224 wy99gt|wyse99gt|Wyse 99gt,
225         clear=\E*$<130>, dch1=\EW$<5>, dl1=\ER$<3>,
226         ed=\Ey$<130>, il1=\EE$<3>, ip=$<2>, ri=\Ej$<3>,
227         rs2=\E`:$<150>,
228         use=wy60,
229 wy99gt-w|wyse99gt-w|wyse 99gt 132-column,
230         cols#132,
231         clear=\E*$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>,
232         dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>,
233         use=wy99gt,
234 wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines,
235         lines#25,
236         rs3=\EwG\Ee)$<200>,
237         use=wy99gt,
238 wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines,
239         lines#25,
240         use=wy99gt-w,
241 wy99gt-vb|wyse99gt-vb|Wyse 99gt Visable bell,
242         flash=\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`9,
243         use=wy99gt,
244 wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb,
245         flash=\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`8\E`9,
246         use=wy99gt-w,
247 wy99gt-2p|wyse 99gt with 2 pages of memory,
248         rmcup=\Ew0, smcup=\Ew1,
249         use=wy99gt,
251 #       The Wyse 75 is a vt100 lookalike without advanced video.
253 #          The Wyse 75 can support one attribute (e.g. Dim, Inverse,
254 #       Underline) without magic cookies.  The following description
255 #       uses this capability, but when more than one attribute is
256 #       put on the screen at once, all attributes will be changed
257 #       to be the same as the last attribute given.
258 #          The Wyse 75 can support more attributes when used with magic
259 #       cookies.  The wy75-mc terminal description uses magic cookies
260 #       to correctly handle multiple attributes on a screen.
262 wy75|wyse75|wyse 75,
263         am, hs, mir, msgr, xenl, xon,
264         cols#80, lines#24, pb#1201,
265         bel=^G, cbt=\E[1Z, civis=\E[?25l, clear=\E[H\E[J$<30>,
266         cnorm=\E[?25h, cr=\r, csr=\E[%i%p1%d;%p2%dr$<2>,
267         cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
268         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
269         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>,
270         dch1=\E[P$<3>, dl=\E[%p1%dM$<1*>, dl1=\E[M,
271         dsl=\E[>\,^A^A\E[>-^A^A, ed=\E[J$<30>, el=\E[K$<3>,
272         fsl=^A, home=\E[H, hpa=\E[%i%p1%dG, ht=\t, hts=\EH,
273         ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>,
274         ind=\n, ip=$<1>, is2=\E>\E[?7;?8h\E[4;?1l^O\E)0,
275         kbs=\b, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
276         kcuu1=\E[A, kdl1=\E[M, kel=\E[K, khome=\E[H,
277         kil1=\E[L, rc=\E8, ri=\EM$<2>, rmacs=^O, rmir=\E[4l,
278         rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m,
279         rs1=\E7\E[1;24r\E8,
280         rs2=\E[0m\E[35;?7;?8h\E[30;?1l$<20>, rs3=\E[?3l$<80>,
281         sc=\E7, smacs=\E[0m^N, smir=\E[4h,
282         smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m,
283         smul=\E[2t\E[4m, tbc=\E[3g, tsl=\E[>\,^A,
285 #       This terminal description used the non-hidden attribute mode
286 #       (with magic cookie).
288 wy75-mc|wyse75-mc|wyse 75 with magic cookies,
289         msgr@,
290         xmc#1,
291         rmacs=\E[0p^O, rmso=\E[0p, rmul=\E[0p,
292         rs2=\E[0p\E[35;?7;?8h\E[30;?1l$<20>, smacs=\E[0p^N,
293         smso=\E[17p, smul=\E[8p,
294         use=wy75,
295 wy75-vb|wyse75-vb|wyse 75 with visible bell,
296         flash=\E[30h\E\,\E[30l,
297         use=wy75,
298 wy75-w|wyse75-w|wyse 75 in 132 column mode,
299         cols#132,
300         rs3=\E[?3h$<80>,
301         use=wy75,
302 wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns,
303         cols#132,
304         flash=\E[30h\E\,\E[30l, rs3=\E[?3h$<80>,
305         use=wy75,
307 #       Wyse 85 emulating a vt220 7 bit mode.
308 #               24 line screen with status line.
310 #       The vt220 mode permits more function keys but it wipes out
311 #       the escape key.  I strongly reccomend that f11 be set to
312 #       escape (esc).
313 #       The terminal may have to be set for 8 data bits and 2 stop
314 #       bits for the arrow keys to work.
315 #       The Wyse 85 runs faster with XON/XOFF enabled.  Also the
316 #       (dch) and (ich) work best when XON/XOFF is set.  (ich) and
317 #       (dch) leave trash on the screen when used without XON/XOFF.
319 wy85|wyse85|wyse 85,
320         am, hs, mir, msgr, xenl, xon,
321         cols#80, lines#24,
322         bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<80>,
323         cnorm=\E[?25h, cr=\r, csr=\E[%i%p1%d;%p2%dr,
324         cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\E[B,
325         cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH$<1>,
326         cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<7*>,
327         dch1=\E[P$<4>, dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>,
328         dsl=\E[40l, ed=\E[J$<80>, el=\E[K$<7>,
329         fsl=\E[1;24r\E8, home=\E[H, ht=\t, hts=\EH,
330         ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>,
331         ind=\E[B, ip=$<4>, is1=\E[62;1"p\E7\E[?6l\E8\E[?5W,
332         is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12;36h\E[?7;8;25h$<30>,
333         kbs=\b, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
334         kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
335         khome=\E[26~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4,
336         rc=\E8, ri=\EM$<3>, rmacs=^O, rmir=\E[4l, rmkx=\E>,
337         rmso=\E[m, rmul=\E[m,
338         rs1=\E<\E[3;13l\E[!p\E7\E[1;24r\E8\E(B,
339         rs2=\E[35h\E[?3l$<70>, sc=\E7, smacs=^N, smir=\E[4h,
340         smkx=\E[?1l\E=, smso=\E[1m, smul=\E[4m, tbc=\E[3g,
341         tsl=\E[40h\E7\E[25;%i%p1%dH,
343 #       Wyse 85 with visual bell.
344 wy85-vb|wyse85-vb|wyse 85 with visible bell,
345         flash=\E[30h\E\,\E[30l,
346         use=wy85,
348 #       Wyse 85 in 132-column mode.
349 wy85-w|wyse85-w|wyse 85 in 132-column mode,
350         cols#132,
351         rs2=\E[35h\E[?3h$<120>,
352         use=wy85,
354 #       Wyse 85 in 132-column mode with visual bell.
355 wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns,
356         flash=\E[30h\E\,\E[30l,
357         use=wy85,
359 wy925|wyse925|Wyse-50 emulating tvi925,
360         xenl@,
361         use=tvi925,
363 wy50vp|wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on,
364         am, xon,
365         cols#80, lines#24,
366         bel=^G, clear=\f, cr=\r, cub1=\b, cud1=\n, cuf1=^F,
367         cup=\EY%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^Z, dch1=\EW,
368         dl1=\El, ed=\Ek, el=\EK, home=^A, ht=\t,
369         if=/usr/share/lib/tabset/wyse-adds, il1=\EM, ind=\n,
370         is2=\E`:\E`9^O\Er, kcub1=^U, kcud1=\n, kcuf1=^F,
371         kcuu1=^Z, khome=^A, ll=^A^Z, rmir=\Er, rmso=^O,
372         rmul=^O, rs2=\E`:\E`9^O\Er, smir=\Eq, smso=^N,
373         smul=^N,
375 wy50vp-nk|wyse-vp-nk|Wyse 50 in ADDS Viewpoint enhanced mode with no cursor keys,
376         kcub1@, kcud1@, kcuf1@, kcuu1@, khome@,
377         use=wy50vp,