1 # |
|
2 # Copyright 2005 Sun Microsystems, Inc. All rights reserved. |
|
3 # Use is subject to license terms. |
|
4 # |
|
5 # CDDL HEADER START |
|
6 # |
|
7 # The contents of this file are subject to the terms of the |
|
8 # Common Development and Distribution License, Version 1.0 only |
|
9 # (the "License"). You may not use this file except in compliance |
|
10 # with the License. |
|
11 # |
|
12 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
13 # or http://www.opensolaris.org/os/licensing. |
|
14 # See the License for the specific language governing permissions |
|
15 # and limitations under the License. |
|
16 # |
|
17 # When distributing Covered Code, include this CDDL HEADER in each |
|
18 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
19 # If applicable, add the following below this CDDL HEADER, with the |
|
20 # fields enclosed by brackets "[]" replaced with your own identifying |
|
21 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
22 # |
|
23 # CDDL HEADER END |
|
24 # |
|
25 #ident "%Z%%M% %I% %E% SMI" |
|
26 # |
|
27 # @(#)televideo 1.4 5/19/82 |
|
28 # |
|
29 # televideo: TELEVIDEO |
|
30 # |
|
31 # There are some tvi's that require incredible amounts of padding and |
|
32 # some that don't. I'm assuming 912 and 920 are the old slow ones, |
|
33 # and 912b, 912c, 920b, 920c are the new ones that don't need padding. |
|
34 tvi912|912|920|tvi920|old televideo, |
|
35 tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EE$<33*>, am, |
|
36 cub1=^H, el=\ET, cup=\E=%p1%' '%+%c%p2%' '%+%c, clear=^Z, |
|
37 cols#80, dch1=\EW, dl1=\ER$<33*>, |
|
38 kbs=^h, kcuu1=^K, kcud1=^J, kcub1=^H, kcuf1=^L, |
|
39 kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, |
|
40 kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, |
|
41 home=^^, ich1=\EQ, lines#24, cuf1=^L, ht=^I, |
|
42 rmso=\Ek, smso=\Ej, cuu1=^K, smul=\El, rmul=\Em, xmc#1, |
|
43 # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r". |
|
44 # The 920 has this plus real function keys that xmit different things. |
|
45 # Terminfo makes you use the funct key on the 912 but the real keys on the 920. |
|
46 912b|912c|tvi912b|tvi912c|tvi|new televideo 912, |
|
47 il1=\EE$<5*>, dl1=\ER$<5*>, use=tvi912, |
|
48 920b|920c|tvi920b|tvi920c|new televideo 920, |
|
49 kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, |
|
50 kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, use=tvi912b, |
|
51 # Two page TVI 912/920. |
|
52 # set to page 1 when entering ex (\E-17 ) |
|
53 # reset to page 0 when exiting ex (\E-07 ) |
|
54 tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages, |
|
55 smcup=\E-17 , rmcup=\E-07 , use=tvi912, |
|
56 tvi950-ap|tvi 950 w/alt pages, |
|
57 is2=\E\\1, smcup=\E-06 , rmcup=\E-16 , use=tvi950, |
|
58 tvi950-b|bare tvi950 no is2, |
|
59 is2@, smkx=\El, rmkx=\Ek, use=tvi950, |
|
60 tvi950-ns|tvi950 w/no standout, |
|
61 smso@, rmso@, smul@, rmul@, use=tvi950, |
|
62 # The following tvi descriptions from B:pjphar |
|
63 # Now that we have is1, is2, and is3, these should be factored. |
|
64 # |
|
65 # is2 for all 950's. It sets the following attributes: |
|
66 # full duplex (\EDF) write protect off (\E() |
|
67 # conversation mode (\EC) graphics mode off (\E%) |
|
68 # white on black (\Ed) auto page flip off (\Ew) |
|
69 # turn off status line (\Eg) clear status line (\Ef\r) |
|
70 # normal video (\E0) monitor mode off (\EX or \Eu) |
|
71 # edit mode (\Er) load blank char to space (\Ee\040) |
|
72 # line edit mode (\EO) enable buffer control (^O) |
|
73 # protect mode off (\E\047) local edit keys (\Ek) |
|
74 # program unshifted send key to send line all (\E016) |
|
75 # program shifted send key to send line unprotected (\E004) |
|
76 # set the following to nulls: |
|
77 # field delimiter (\Ex0\0\0) |
|
78 # line delimiter (\Ex1\0\0) |
|
79 # start-protected field delimiter (\Ex2\0\0) |
|
80 # end-protected field delimiter (\Ex3\0\0) |
|
81 # set end of text delimiter to carriage return/null (\Ex4\r\0) |
|
82 # |
|
83 # tvi950 sets duplex (send) edit keys (\El) when entering vi |
|
84 # sets local (no send) edit keys (\Ek) when exiting vi |
|
85 # |
|
86 tvi950|950|televideo950, |
|
87 tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, |
|
88 is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O |
|
89 \Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0 |
|
90 \Ex3\0\0\Ex4\r\0\Ef\r\El, |
|
91 il1=\EE, am, cub1=^H, cbt=\EI, ed=\Ey, el=\Et, clear=\E*, |
|
92 cup=\E=%p1%' '%+%c%p2%' '%+%c, cols#80, dch1=\EW, dl1=\ER, |
|
93 cud1=^V, rmir=\Er, home=^^, smir=\Eq, kf0=^A0\r, |
|
94 kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, |
|
95 kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, kbs=^H, kcud1=^V, khome=^^, kcub1=^H, |
|
96 kcuf1=^L, kcuu1=^K, lines#24, mir, msgr, cuf1=^L, |
|
97 ht=^I, rmso=\EG0, xmc#1, smso=\EG4, ri=\Ej, |
|
98 rmul=\EG0, cuu1=^K, smul=\EG8, |
|
99 flash=\Eb$<20>\Ed, cnorm=\Ek, cvvis=\El, xenl, |
|
100 hs, tsl=\Eg\Ef, fsl=\r, |
|
101 # |
|
102 # is2 for 950 with two pages adds the following: |
|
103 # set 48 line page (\E\\2) |
|
104 # place cursor at page 0, line 24, column 1 (\E-07 ) |
|
105 # |
|
106 # two page 950 adds the following: |
|
107 # when entering ex, set 24 line page (\E\\1) |
|
108 # when exiting ex, reset 48 line page (\E\\2) |
|
109 # place cursor at 0,24,1 (\E-07 ) |
|
110 # |
|
111 tvi950-2p|950-2p|televideo950 w/2 pages, |
|
112 is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O |
|
113 \Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0 |
|
114 \Ex3\0\0\Ex4\r\0\E\\2\E-07 |
|
115 rmcup=\E\\2\E-07 , smcup=\E\\1\E-07 , use=tvi950, |
|
116 # |
|
117 # is2 for 950 with four pages adds the following: |
|
118 # set 96 line page (\E\\3) |
|
119 # place cursor at page 0, line 24, column 1 (\E-07 ) |
|
120 # |
|
121 # four page 950 adds the following: |
|
122 # when entering ex, set 24 line page (\E\\1) |
|
123 # when exiting ex, reset 96 line page (\E\\3) |
|
124 # place cursor at 0,24,1 (\E-07 ) |
|
125 # |
|
126 tvi950-4p|950-4p|televideo950 w/4 pages, |
|
127 is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O |
|
128 \Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0 |
|
129 \Ex3\0\0\Ex4\r\0\E\\3\E-07 |
|
130 rmcup=\E\\3\E-07 , smcup=\E\\1\E-07 , use=tvi950, |
|
131 # |
|
132 # is2 for reverse video 950 changes the following: |
|
133 # set reverse video (\Ed) |
|
134 # |
|
135 # set flash accordingly (\Eb ...nulls... \Ed) |
|
136 # |
|
137 tvi950-rv|950-rv|televideo950 rev video, |
|
138 tbc=\E3, hts=\E1, |
|
139 is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O |
|
140 \Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0 |
|
141 \Ex3\0\0\Ex4\r\0, flash=\Ed$<20>\Eb, use=tvi950, |
|
142 # |
|
143 # uses the appropriate entries from 9502p and 950rv |
|
144 # |
|
145 tvi950-rv2p|950-rv2p|televideo950 rev video w/2 pages, |
|
146 is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O |
|
147 \Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0 |
|
148 \Ex3\0\0\Ex4\r\0\E\\2\E-07 |
|
149 rmcup=\E\\2\E-07 , smcup=\E\\1\E-07 , use=tvi950rv, |
|
150 # |
|
151 # uses the appropriate entries from 9504p and 950rv |
|
152 # |
|
153 tvi950-rv4p|950-rv4p|televideo950 rev video w/4 pages, |
|
154 is2=\EDF\EC\Eb\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O |
|
155 \Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0 |
|
156 \Ex3\0\0\Ex4\r\0\E\\3\E-07 |
|
157 rmcup=\E\\3\E-07 , smcup=\E\\1\E-07 , use=tvi950rv, |
|