usr/src/cmd/terminfo/televideo.ti
changeset 13444 c1ed50709bff
parent 13443 76ab5b799560
child 13445 4dad26dd1fb9
equal deleted inserted replaced
13443:76ab5b799560 13444:c1ed50709bff
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     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.
       
     8 #
       
     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.
       
    13 #
       
    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]
       
    19 #
       
    20 # CDDL HEADER END
       
    21 #
       
    22 #
       
    23 # Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
       
    24 # Use is subject to license terms.
       
    25 #
       
    26 
       
    27 #	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
       
    28 #	  All Rights Reserved
       
    29 
       
    30 #ident	"%Z%%M%	%I%	%E% SMI"
       
    31 # # --------------------------------
       
    32 #
       
    33 # televideo: TELEVIDEO
       
    34 #
       
    35 # Manufacturer:	TELEVIDEO
       
    36 # Class:	III
       
    37 tvi803,
       
    38 	clear=\E*$<10>, use=tvi950,
       
    39 #
       
    40 tvi910|910|old televideo 910,
       
    41 	am, msgr, xenl, xon,
       
    42 	cols#80, lines#24, xmc#1,
       
    43 	bel=^G, cbt=\EI, clear=\E+^Z, cr=\r, cub1=\b, cud1=\n,
       
    44 	cuf1=\f, cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K,
       
    45 	ed=\EY, el=\ET, home=^^, hpa=\E]%p1%'\s'%+%c, ht=\t,
       
    46 	if=/usr/share/lib/tabset/stdcrt, ind=\n, kbs=\b,
       
    47 	kcub1=\b, kcud1=\n, kcuf1=\f, kcuu1=^K, kf0=^A@\r,
       
    48 	kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
       
    49 	kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^,
       
    50 	rmso=\E(, rmul=\EG0, smso=\E), smul=\EG8,
       
    51 	vpa=\E[%p1%'\s'%+%c,
       
    52 tvi910+|910+|televideo 910 PLUS,
       
    53 	dch1=\EW, dl1=\ER$<5*>, dsl=\E(, ich1=\EQ,
       
    54 	il1=\EE$<5*>,
       
    55 	use=tvi910,
       
    56 #
       
    57 # Info:
       
    58 #	There are some tvi's that require incredible amounts of padding
       
    59 #	and some that don't. I'm assuming 912 and 920 are the old slow 
       
    60 #	ones, and 912b, 912c, 920b, 920c are the new ones that don't 
       
    61 #	need padding.
       
    62 #
       
    63 tvi912|912|920|tvi920|old televideo,
       
    64 	tbc=\E3, hts=\E1, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EE$<33*>, am,
       
    65 	cub1=^H, el=\ET, cup=\E=%p1%' '%+%c%p2%' '%+%c, clear=^Z,
       
    66 	cols#80, dch1=\EW, dl1=\ER$<33*>,
       
    67 	kbs=^h, kcuu1=^K, kcud1=^J, kcub1=^H, kcuf1=^L,
       
    68 	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r,
       
    69 	kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r,
       
    70 	home=^^, ich1=\EQ, lines#24, ht=^I,
       
    71 	rmso=\Ek, smso=\Ej, cuu1=^K, smul=\El, rmul=\Em, xmc#1,
       
    72 # Info:
       
    73 #	the 912 has a <funct> key that's like shift: <funct>8 xmits 
       
    74 #	"^A8\r". The 920 has this plus real function keys that xmit 
       
    75 #	different things.
       
    76 #	Terminfo makes you use the funct key on the 912 but the real 
       
    77 #	keys on the 920.
       
    78 #
       
    79 912b|912c|tvi912b|tvi912c|tvi|new televideo 912,
       
    80 	il1=\EE$<5*>, dl1=\ER$<5*>, use=tvi912,
       
    81 920b|920c|tvi920b|tvi920c|new televideo 920,
       
    82 	kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r,
       
    83 	kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, use=tvi912b,
       
    84 # Info:
       
    85 #	We got some new tvi912c' that act really weird on the regular 
       
    86 #	termcap, so one of our gurus worked this up. Seems that cursor 
       
    87 #	addressing is broken.
       
    88 #
       
    89 912cc|tvi912cc|tvi912 at cowell college,
       
    90 	cup@, use=tvi912c,
       
    91 # Info:
       
    92 #	Two page TVI 912/920.
       
    93 #	set to page 1 when entering ex (\E-17 )
       
    94 #	reset to page 0 when exiting ex (\E-07 )
       
    95 #
       
    96 tvi912-2p|tvi920-2p|912-2p|920-2p|tvi-2p|televideo w/2 pages,
       
    97 	smcup=\E-17 , rmcup=\E-07 , use=tvi912,
       
    98 tvi950-ap|tvi 950 w/alt pages,
       
    99 	is2=\E\\1, smcup=\E-06 , rmcup=\E-16 , use=tvi950,
       
   100 tvi950-b|bare tvi950 no is2,
       
   101 	is2@, use=tvi950,
       
   102 tvi950-ns|tvi950 w/no standout,
       
   103 	smso@, rmso@, smul@, rmul@, use=tvi950,
       
   104 # Info:
       
   105 #	Now that we have is1, is2, and is3, these should be factored.
       
   106 #	
       
   107 #	is2 for all 950's.  It sets the following attributes:
       
   108 #	
       
   109 #	full duplex (\EDF)		write protect off (\E()
       
   110 #	
       
   111 #	conversation mode (\EC)	graphics mode off (\E%)
       
   112 #	
       
   113 #	white on black (\Ed)		auto page flip off (\Ew)
       
   114 #	
       
   115 #	turn off status line (\Eg)	clear status line (\Ef\r)
       
   116 #	
       
   117 #	normal video (\E0)		monitor mode off (\EX or \Eu)
       
   118 #	
       
   119 #	edit mode (\Er)		load blank char to space (\Ee\040)
       
   120 #	
       
   121 #	line edit mode (\EO)		enable buffer control (^O)
       
   122 #	
       
   123 #	protect mode off (\E\047)	duplex edit keys (\El)
       
   124 #	
       
   125 #	program unshifted send key to send line all (\E016)
       
   126 #	
       
   127 #	program shifted send key to send line unprotected (\E004)
       
   128 #	
       
   129 #	set the following to nulls:
       
   130 #		field	delimiter (\Ex0\0\0)
       
   131 #		line	delimiter (\Ex1\0\0)
       
   132 #		start-protected	field delimiter (\Ex2\0\0)
       
   133 #		end-protected	field delimiter (\Ex3\0\0)
       
   134 #	
       
   135 #
       
   136 tvi950|950|televideo950,
       
   137 	am, hs, mir, msgr, xenl, xon,
       
   138 	cols#80, lh#0, lines#24, lw#0, nlab#0, xmc#1,
       
   139 	acsc=mExJlFtMjHqKvOkGuLwNnI, bel=^G, cbt=\EI,
       
   140 	clear=\E*, cr=\r, cub1=\b, cud1=\n, cuf1=\f,
       
   141 	cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K, dch1=\EW,
       
   142 	dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et,
       
   143 	flash=\Eb$<20>\Ed, fsl=\r, home=^^, ht=\t, hts=\E1,
       
   144 	il1=\EE, ind=\n,
       
   145 	is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%%\Ew\EX\Ee\s^O\El\E016\E004\Ex0\200\200\Ex1\200\200\Ex2\200\200\Ex3\200\200\Ex4\r\200\Ef\r,
       
   146 	kbs=\b, kcub1=\b, kcud1=^V, kcuf1=\f, kcuu1=^K,
       
   147 	kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
       
   148 	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
       
   149 	khome=^^, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=\E%%,
       
   150 	rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG4, smul=\EG8,
       
   151 	tbc=\E3, tsl=\Eg\Ef,
       
   152 # Info:
       
   153 #	is2 for 950 with two pages adds the following:
       
   154 #	set 48 line page (\E\\2)
       
   155 #	
       
   156 #	place cursor at page 0, line 24, column 1 (\E-07 )
       
   157 #	
       
   158 #	set local (no send) edit keys (\Ek)
       
   159 #	
       
   160 #	two page 950 adds the following:
       
   161 #		when entering ex, set 24 line page (\E\\1)
       
   162 #		when exiting ex, reset 48 line page (\E\\2)
       
   163 #		place cursor at 0,24,1 (\E-07 )
       
   164 #	
       
   165 #	set duplex (send) edit keys (\El) when entering vi
       
   166 #	set local (no send) edit keys (\Ek) when exiting vi
       
   167 #
       
   168 tvi950-2p|950-2p|televideo950 w/2 pages,
       
   169 	is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O
       
   170 	\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0
       
   171 	\Ex3\0\0\Ex4\r\0\E\\2\E-07 ,
       
   172 	rmcup=\E\\2\E-07 , smcup=\E\\1\E-07 ,
       
   173 	smkx=\El, rmkx=\Ek, use=tvi950,
       
   174 # Info:
       
   175 #	 is2 for 950 with four pages adds the following:
       
   176 #		set 96 line page (\E\\3)
       
   177 #		place cursor at page 0, line 24, column 1 (\E-07 )
       
   178 #	
       
   179 #	 four page 950 adds the following:
       
   180 #		when entering ex, set 24 line page (\E\\1)
       
   181 #		when exiting ex, reset 96 line page (\E\\3)
       
   182 #			 place cursor at 0,24,1 (\E-07 )
       
   183 #
       
   184 tvi950-4p|950-4p|televideo950 w/4 pages,
       
   185 	is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O
       
   186 	\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0
       
   187 	\Ex3\0\0\Ex4\r\0\E\\3\E-07 ,
       
   188 	rmcup=\E\\3\E-07 , smcup=\E\\1\E-07 ,
       
   189 	smkx=\El, rmkx=\Ek, use=tvi950,
       
   190 # Info:
       
   191 #	 is2 for reverse video 950 changes the following:
       
   192 #		set reverse video (\Ed)
       
   193 #	
       
   194 #	 set flash accordingly (\Ed ...nulls... \Eb)
       
   195 #
       
   196 tvi950-rv|950-rv|televideo950 rev video,
       
   197 	tbc=\E3, hts=\E1,
       
   198 	is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O
       
   199 	\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0
       
   200 	\Ex3\0\0\Ex4\r\0, flash=\Ed$<20>\Eb, use=tvi950,
       
   201 # Info:
       
   202 #	 uses the appropriate entries from 950-2p and 950-rv
       
   203 #
       
   204 tvi950-rv-2p|950-rv-2p|televideo950 rev video w/2 pages,
       
   205 	is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O
       
   206 	\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0
       
   207 	\Ex3\0\0\Ex4\r\0\E\\2\E-07 ,
       
   208 	rmcup=\E\\2\E-07 , smcup=\E\\1\E-07 ,
       
   209 	smkx=\El, rmkx=\Ek, use=tvi950-rv,
       
   210 # Info:
       
   211 #	 uses the appropriate entries from 950-4p and 950-rv
       
   212 #
       
   213 tvi950-rv-4p|950-rv-4p|televideo950 rev video w/4 pages,
       
   214 	is2=\EDF\EC\Eb\EG0\Er\EO\E\047\E(\E%\Ew\EX\Ee ^O
       
   215 	\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0
       
   216 	\Ex3\0\0\Ex4\r\0\E\\3\E-07 ,
       
   217 	rmcup=\E\\3\E-07 , smcup=\E\\1\E-07 ,
       
   218 	smkx=\El, rmkx=\Ek, use=tvi950-rv,
       
   219 #	 Terminal Configuration Assumptions:
       
   220 #		1) Edit keys transmit (DUPE on S2 bit 1 down)
       
   221 #		2) Actually a 925 (not in 912/920 emulation)
       
   222 #		3) Visual Bell assumes a default of white on black
       
   223 #		4) Page attributes for special display
       
   224 #		5) This uses a solid underscore cursor when not in vi. 
       
   225 #			Solid Block cursor in vi.
       
   226 #		6) No function key definitions are given
       
   227 #		7) Only one page of memory is available
       
   228 #
       
   229 tvi925|925|televideo 925,
       
   230 	am, bel=^G, bw, cbt=\EI, clear=^Z, cnorm=\E.4, cols#80,
       
   231 	cr=^M, cub1=^H, cud1=^J, cud1=^V,
       
   232 	cup=\E=%p1%' '%+%c%p2%' '%+%c, cuu1=^K, cvvis=\E.2,
       
   233 	dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET,
       
   234 	flash=\Eb$<20>\Ed, fsl=\r\Eg, home=^^, hs,
       
   235 	ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J,
       
   236 	kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K,
       
   237 	kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r,
       
   238 	kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r,
       
   239 	khome=^^, kich1=\EQ, kdch1=\EW, kil1=\EE, kdl1=\ER,
       
   240 	kclr=^Z, kel=\ET, ked=\EY,
       
   241 	lines#24, rmso=\EG0, rmul=\EG0, smso=\EG4, smul=\EG8,
       
   242 	tbc=\E3, tsl=\Eh\Ef, ul, xmc#1,
       
   243 #
       
   244 #
       
   245 #
       
   246 tvi914|old televideo,
       
   247 	am, xon,
       
   248 	cols#80, lines#24, xmc#1,
       
   249 	bel=^G, cbt=\EI, clear=^Z, cr=\r, cub1=\b, cud1=^V,
       
   250 	cuf1=\f, cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c, cuu1=^K,
       
   251 	dch1=\EW, dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ,
       
   252 	il1=\EE, ind=\n, kbs=\b, kcub1=\b, kcud1=^V, kcuf1=\f,
       
   253 	kcuu1=^K, khome=\b, rmso=\EG0, rmul=\EG0, smso=\EG4,
       
   254 	smul=\EG8,
       
   255 #
       
   256 #
       
   257 tvi970|970|televideo 970,
       
   258 	da, db, mir, msgr, ul, xon,
       
   259 	cols#80, lines#24,
       
   260 	bel=^G, bold=\E[1m, cbt=\E[1Z, clear=\E[;H\E[2J,
       
   261 	cnorm=\E[?7h\E[1V, cr=\r, csr=\E[%p1%2.2d;%p2%2.2dr,
       
   262 	cub1=\b, cud1=\E[B, cuf1=\E[C,
       
   263 	cup=\E[%i%p1%2.2d;%p2%2.2dH, cuu1=\E[A,
       
   264 	cvvis=\E[?7l\E[1U, dch1=\E[1P, dl1=\E[1M, ed=\E[J,
       
   265 	el=\E[K, flash=\E[?5h\E[?5l, home=\E[1;1H,
       
   266 	hpa=\E[%p1%2.2dG, il1=\E[1L, ind=\n, kbs=\b,
       
   267 	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
       
   268 	khome=\E[H, ll=\E[24;1H, rev=\E[7m, rmir=\E[4l,
       
   269 	rmso=\E[0m, rmul=\E[0m, sgr0=\E[m, smir=\E[4h,
       
   270 	smso=\E[7m, smul=\E[4m, vpa=\E[%p1%2.2dd,
       
   271 # The terminal should be set up with the following configuration
       
   272 # for televideo 970's:
       
   273 # under MAIN COMM: comm - cnv; duplx - fdx; send/rcv - no echo;
       
   274 #                   parity -no;stop bit - 1; data bits- 8;
       
   275 #                   rcv ctrl - xon/off; xmit ctrl - no;
       
   276 # under EDIT: ins/rpl - rpl; ctrl rep - proc; matopg - single;
       
   277 #             autowrap - wrap; edit bound - pg; editing ext - ln;
       
   278 #             horz edit - rt; vert edit - dwn; autotab - move;
       
   279 # under STATUS 1: guarded xfer - ungrd; multi-area xfer - all;
       
   280 #                 xfer term - part; ln xfer - pg; xfer exec - immed;
       
   281 #                 pg xfer - pg;
       
   282 #
       
   283 tvi970-ns|970-ns|televideo 970 with no standout,
       
   284 	mir, xon,
       
   285 	cols#80, lines#24,
       
   286 	bel=^G, clear=\E[;H\E[2J, cr=\r, cub1=\b, cud1=\E[B,
       
   287 	cuf1=\E[C, cup=\E[%i%p1%2.2d;%p2%2.2dH, cuu1=\E[A,
       
   288 	dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H,
       
   289 	hpa=\E[%p1%dG, ht=\t, il1=\E[L, ind=\n,
       
   290 	is2=^O\E[m\E[?3l\E[?5l\E[?7h\E[?8h, kbs=\b,
       
   291 	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
       
   292 	rmir=\E[4l, rmso=\E[m, rmul=\E[m, smir=\E[4h,
       
   293 	smso=\E[7m, smul=\E[4m,
       
   294 tvi970-r|970-r|televideo970 reverse video,
       
   295 	da, db, mir, msgr, ul, xon,
       
   296 	cols#80, lines#24,
       
   297 	bel=^G, bold=\E[1m, cbt=\E[1Z, clear=\E[;H\E[2J,
       
   298 	cnorm=\E[?7h\E[1V, cr=\r, csr=\E[%p1%2.2d;%p2%2.2dr,
       
   299 	cub1=\b, cud1=\E[B, cuf1=\E[C,
       
   300 	cup=\E[%i%p1%2.2d;%p2%2.2dH$<5>, cuu1=\E[A,
       
   301 	cvvis=\E[?7l\E[1U, dch1=\E[1P, dl1=\E[1M, ed=\E[J,
       
   302 	el=\E[K, flash=\E[?5l\E[?5h, home=\E[1;1H,
       
   303 	hpa=\E[%p1%2.2dG, il1=\E[1L, ind=\n, kbs=\b,
       
   304 	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
       
   305 	khome=\E[H, ll=\E[24;1H, rev=\E[7m, rmir=\E[4l,
       
   306 	rmso=\E[0m, rmul=\E[0m, sgr0=\E[m, smir=\E[4h,
       
   307 	smso=\E[7m, smul=\E[4m, vpa=\E[%p1%2.2dd,
       
   308 tvi970-rw|970-rw|televideo970 reverse video 132 col,
       
   309 	da, db, mir, msgr, ul, xon,
       
   310 	cols#132, lines#24,
       
   311 	bel=^G, bold=\E[1m, cbt=\E[1Z, clear=\E[;H\E[2J,
       
   312 	cnorm=\E[?7h\E[1V, cr=\r, csr=\E[%p1%2.2d;%p2%2.2dr,
       
   313 	cub1=\b, cud1=\E[B, cuf1=\E[C,
       
   314 	cup=\E[%i%p1%2.2d;%p2%2.2dH$<5>, cuu1=\E[A,
       
   315 	cvvis=\E[?7l\E[1U, dch1=\E[1P, dl1=\E[1M, ed=\E[J,
       
   316 	el=\E[K, flash=\E[?5l\E[?5h, home=\E[1;1H,
       
   317 	hpa=\E[%p1%2.2dG, il1=\E[1L, ind=\n, kbs=\b,
       
   318 	kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
       
   319 	khome=\E[H, ll=\E[24;1H, rev=\E[7m, rmir=\E[4l,
       
   320 	rmso=\E[0m, rmul=\E[0m, sgr0=\E[m, smir=\E[4h,
       
   321 	smso=\E[7m, smul=\E[4m, vpa=\E[%p1%2.2dd,