usr/src/cmd/terminfo/tektronix.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 #	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
       
    23 #	  All Rights Reserved
       
    24 
       
    25 
       
    26 #ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.16	*/
       
    27 # # --------------------------------
       
    28 #
       
    29 # tektronix: TEKTRONIX
       
    30 #
       
    31 # Manufacturer:	TEKTRONIX
       
    32 # Class:	III
       
    33 tek4107|tek4109|4107|4109|tektronix terminals 4107 4109,
       
    34 	am, mir, msgr, ul, xenl, xt, 
       
    35 	cvvis=\E%!3,
       
    36 	cnorm=\E%!0,
       
    37 	cr=^M, cud1=^J, ind=^J, bel=^G, cub1=^H, ed=\EJ, el=\EK,
       
    38 	clear=\ELZ, cup=\EY%p1%' '%+%c%p2%' '%+%c, cols#79, lines#29,
       
    39 	cuf1=\EC, ht=^I, it#8, ri=\EI, cuu1=\EA,
       
    40 	kcuu1=\EA, kcud1=\EB, kcuf1=\EC, kcub1=\ED, kbs=^H,
       
    41 	smso=\E%!1\E[7;5m$<2>\E%!0,
       
    42 	rmso=\E%!1\E[m$<2>\E%!0,
       
    43 	smul=\E%!1\E[4m$<2>\E%!0,
       
    44 	rmul=\E%!1\E[m$<2>\E%!0,
       
    45 	bold=\E%!1\E[1m$<2>\E%!0,
       
    46 	rev=\E%!1\E[7m$<2>\E%0,
       
    47 	blink=\E%!1\E[5m$<2>\E%!0,
       
    48 	dim=\E%!1\E[<0m$<2>\E%!0,
       
    49 	sgr0=\E%!1\E[m$<2>\E%!0,
       
    50 	sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m\E%%!0,
       
    51 tek4105|4105|tektronix 4105,
       
    52 	am, il1=\E[1L, ed=\E[J, el=\E[K, clear=\E[2J\E[H,
       
    53 	cup=\E[%i%p1%2d;%p2%2dH,
       
    54 	cols#79, lines#29,
       
    55 	dch1=\E[1P, dl1=\E[1M,
       
    56 	home=\E[H, smir=\E[4h, rmir=\E[4l, mir,
       
    57 	cuf1=\E[1C, cud1=\E[1B, cuu1=\E[1A,
       
    58 	smacs=\E[1m, rmacs=\E[0m, msgr,
       
    59 	rmso=\E[=0;<1m, smso=\E[=2;<3m,
       
    60 	ul, smul=\E[=5;<2m, rmul=\E[=0;<1m,
       
    61 	is1=\E%!1\E[0m,
       
    62 	rev=\E[=1;<3m, bold=\E[=7;<4m, invis=\E[=6;<5, dim=\E[=1;<6m,
       
    63 	blink=\E[=3;<7m, sgr0=\E[=0;<1m,
       
    64 	smcup=\E%!1\E[?6l\E[2J, xenl, xt,
       
    65 	msgr, mir, kbs=^h, kcuu1=\E[1A, kcud1=\E[1B,
       
    66 	kcub1=\E[1D, kcuf1=\E[1C,
       
    67 	is2=\E%!1\E[?6141\E[0m,
       
    68 	cbt=\E[Z, cr=^M, ri=\E[T, ind=\E[S, it#8,
       
    69 	tbc=\E[1g, ht=^I, bel=^G,
       
    70 
       
    71 tek|tek4012|4012|tektronix 4012,
       
    72 	cr=^M, cud1=^J, bel=^G, ff=^L$<1000>,
       
    73 	is2=\E^O, cub1=^H, clear=\E^L$<1000>, cols#75, lines#35, os,
       
    74 tek4013|4013|tektronix 4013,
       
    75 	smacs=\E^N, rmacs=\E^O, use=4012,
       
    76 tek4014|4014|tektronix 4014,
       
    77 	is2=\E^O\E9, cols#81, lines#38, use=tek4012,
       
    78 tek4015|4015|tektronix 4015,
       
    79 	smacs=\E^N, rmacs=\E^O, use=4014,
       
    80 tek4014-sm|4014-sm|tektronix 4014 in small font,
       
    81 	is2=\E^O\E\072, cols#121, lines#58, use=tek4014,
       
    82 tek4015-sm|4015-sm|tektronix 4015 in small font,
       
    83 	smacs=\E^N, rmacs=\E^O, use=4014-sm,
       
    84 tek4023|4023|tex|tektronix 4023,
       
    85 	cr=^M, cud1=^J, ind=^J, bel=^G, smso=^_P, rmso=^_@,
       
    86 	cup=\034%p2%' '%+%c%p1%' '%+%c, cuf1=\t, cub1=^H,
       
    87 	clear=\E^L$<4>, cols#80, lines#24, am, vt#4,
       
    88 # Info:
       
    89 #	It is recommended that you run the 4025 at 4800 baud or less;
       
    90 #	various bugs in the terminal appear at 9600.  It wedges at the
       
    91 #	bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
       
    92 #	on keyboard don't work.  You have to hit BREAK twice to get
       
    93 #	one break at any speed - this is a documented feature.
       
    94 #	Can't use cursor motion because it's memory relative, and 
       
    95 #	because it only works in the workspace, not the monitor.  
       
    96 #	Same for home. Likewise, standout only works in the workspace.
       
    97 #	
       
    98 #	el was commented out since vi and rogue seem to work better 
       
    99 #	simulating it with lots of spaces!
       
   100 #	
       
   101 #	il1 and il had 145ms of padding, but that slowed down vi's ^U 
       
   102 #	and didn't seem necessary.
       
   103 #
       
   104 4025|4027|4024|tek4025|tek4027|tek4024|4025cu|4027cu|tektronix 4024/4025/4027,
       
   105 	cr=^M, ind=^F^J, cud1=^F^J, bel=^G, am, da, db, ht=^I, it#8,
       
   106 	cub1=^H, lm#0, lines#34, cols#80, clear=^_era\r\n\n,
       
   107 	is2=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r,
       
   108 	smkx=^_lea p4 /h/\r^_lea p8 /k/\r^_lea p6 / /\r^_lea p2 /j/\r^_lea f5 /H/\r,
       
   109 	rmkx=^_lea p2\r^_lea p4\r^_lea p6\r^_lea p8\r^_lea f5\r,
       
   110 	cuu1=^K, cuf1=^_rig\r,
       
   111 	ed=^_dli 50\r, cmdch=^_,
       
   112 	dch1=^_dch\r, ich1=^_ich\r ^H,
       
   113 	il1=^_up\r^_ili\r, dl1=^_dli\r^F,
       
   114 	il=^_up\r^_ili %p1%d\r, dl=^_dli %p1%d\r^F,
       
   115 	cuu=^_up %p1%d\r, cud=^_dow %p1%d\r,
       
   116 	cub=^_lef %p1%d\r, cuf=^_rig %p1%d\r,
       
   117 tek4025-17|4025-17|4027-17|tek 4025 17 line window,
       
   118 	lines#17, use=4025,
       
   119 tek4025-17-ws|4025-17-ws|4025-17ws|4027-17-ws|tek 4025 17 line window in workspace,
       
   120 	is2=\41com 31\r\n^_sto 9 17 25 33 41 49 57 65 73\r^_wor 17\r^_mon 17\r,
       
   121 	smcup=^_wor h\r, rmcup=^_mon h\r, smso=^_att e\r, rmso=^_att s\r, use=4025-17,
       
   122 tek4025-ex|4025-ex|4025ex|4027-ex|tek 4025 w/!,
       
   123 	smcup=\41com 31\r, rmcup=^_com 33\r,
       
   124 	is2=^_com 33\r\n\41sto 9 17 25 33 41 49 57 65 73\r, use=4025,
       
   125 tek4105-30|4105-30|4015 emulating 30 line vt100,
       
   126 	am, mir, msgr, xenl, xon,
       
   127 	cols#80, it#8, lines#30, vt#3,
       
   128 	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
       
   129 	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
       
   130 	clear=\E[H\E[J$<50>, cr=\r, csr=\E[%i%p1%d;%p2%dr,
       
   131 	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
       
   132 	cuf=\E[%p1%dC, cuf1=\E[C$<2>,
       
   133 	cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
       
   134 	cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>,
       
   135 	el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=\t,
       
   136 	hts=\EH, ind=\n, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\b,
       
   137 	kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB,
       
   138 	kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP,
       
   139 	kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
       
   140 	kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
       
   141 	rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmkx=\E[?1l\E>,
       
   142 	rmso=\E[m$<2>, rmul=\E[m$<2>,
       
   143 	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
       
   144 	sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
       
   145 	sgr0=\E[m^O$<2>, smacs=^N, smkx=\E[?1h\E=,
       
   146 	smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
       
   147 # Info:
       
   148 #	The 4110 series may be a wonderful graphics series, but they 
       
   149 #	make the 4025 look good for screen editing. 
       
   150 #	
       
   151 #	In the dialog area, you can't move the cursor off the bottom 
       
   152 #	line. 
       
   153 #	
       
   154 #	Out of the dialog area, ^K moves it up, but there is no way 
       
   155 #	to scroll.
       
   156 #	
       
   157 #	Note that there is a floppy for free from Tek that makes the 
       
   158 #	4112 emulate the vt52 (use the vt52 termcap). There is also
       
   159 #	an expected enhancement that will use ANSI standard sequences.
       
   160 #	
       
   161 #	4112 in non-dialog area pretending to scroll. It really wraps 
       
   162 #	but vi is said to work (more or less) in this mode.
       
   163 #	
       
   164 #	'vi' works reasonably well with this entry.
       
   165 #
       
   166 4112|4112-nd|4113|4114|tek4112|tektronix 4110 series,
       
   167 	cr=^M, cud1=^J, ind=^J, bel=^G, cuu1=^K, cub1=^H,
       
   168 	am, clear=\E^L, lines#34, cols#80,
       
   169 	smcup=\EKA0\ELV0\EMG0, rmcup=\EKA1\ELV1,
       
   170 tek4112-d|4112-d|tek 4112 in dialog area,
       
   171 	am, clear=\ELZ, lines#34, cols#80, cuu1=^K,
       
   172 tek4112-5|4112-5|4112 in 5 line dialog area,
       
   173 	lines#5, use=4112,
       
   174 tek4115|4115|tektronix 4115,
       
   175 	am, xon,
       
   176 	cols#80, lines#34,
       
   177 	bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
       
   178 	clear=\E[H\E[J, cr=\r, cub=\E[%p1%dD, cub1=\b,
       
   179 	cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
       
   180 	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
       
   181 	dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K,
       
   182 	home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=\t, hts=\EH,
       
   183 	ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
       
   184 	ind=\n, invis=\E[8m, kbs=\b, kcub1=\E[D, kcud1=\E[B,
       
   185 	kcuf1=\E[C, kcuu1=\E[A, khome=\E[H,
       
   186 	rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmso=\E[m,
       
   187 	rmul=\E[m,
       
   188 	sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m,
       
   189 	sgr0=\E[0m, smso=\E[7m, smul=\E[4m, tbc=\E[2g,
       
   190 	vpa=\E[%p1%{1}%+%dd,
       
   191 # Info:
       
   192 #	t500 is a local entry for the oddball Tek 500 owned by Fluke 
       
   193 #	Labs
       
   194 #
       
   195 t500|Tek series 500,
       
   196 	cr=^M, ind=^J, cud1=^J, bel=^G,
       
   197 	lines#25, cols#80, cub1=^H, cup=\E=%p1%p1%' '%+%c%p2%' '%+%c,
       
   198 	clear=^E$<20>, home=^T, bw, am, 
       
   199 # Info:
       
   200 #	I added the is string - straight Unix has ESC ; in the login 
       
   201 #	string which sets a ct8500 into monitor mode (aka 4025 snoopy 
       
   202 #	mode). The is string here cleans up a few things (but not 
       
   203 #	everything).
       
   204 #
       
   205 ct8500|tektronix ct8500,
       
   206 	cr=^M, cud1=^J, ind=^J, bel=^G, cr=^M, cud1=^J, ind=^J, bel=^G,
       
   207 	il1=\E^L, am, cub1=^H, cbt=\E^I, bw, ed=\E^U, el=\E^T,
       
   208 	clear=\E^E, cup=\E|%p1%' '%+%c%p2%' '%+%c, cols#80,
       
   209 	da, db, dch1=\E^],
       
   210 	dl1=\E^M, ich1=\E^\, lines#25, cuf1=\ES, ht=^I, ri=\E^A, rmso=\E ,
       
   211 	smso=\E$, rmul=\E , cuu1=\ER, smul=\E\041, is2=^_\EZ\Ek,
       
   212 	sgr0=\E\s,
       
   213 
       
   214 #
       
   215 #	Tektronix 4205 terminal.  This entry contains information required
       
   216 #	by color curses
       
   217 #
       
   218 
       
   219 tek4205|4205|tektronix 4205,
       
   220 
       
   221 #	am is not defined because the wrap around occurs not when the char.
       
   222 #	is placed in the 80'th column, but when we are attempting to type
       
   223 #	the 81'st character on the line.
       
   224 
       
   225 # 	bold, dim, and standout are simulated by colors and thus not allowed
       
   226 #	with colors
       
   227 
       
   228 	am, xenl, msgr, mir, ccc,
       
   229 	cols#80, lines#30, it#8, colors#8, pairs#64, ncv#49,
       
   230 	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
       
   231         il1=\E[1L, ed=\E[J, el=\E[K, clear=\E[2J\E[H, 
       
   232 	il=\E[%p1%dL,
       
   233 	cup=\E[%i%p1%d;%p2%dH,
       
   234 	dch1=\E[1P, dl1=\E[1M,
       
   235 	home=\E[H, smir=\E[4h, rmir=\E[4l, 
       
   236 	cuf1=\E[C, cud1=\E[B, cuu1=\E[A, cub1=\E[D,
       
   237 	cuf=\E[%p1%dC, cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD,
       
   238 	ech=\E%p1%dX, el1=\E[1K, ich=\E[%p1%d@, 
       
   239 	smacs=, rmacs=, enacs=\E)0,
       
   240 	rmso=\E[=0;<1m, smso=\E[=2;<3m,
       
   241 	smul=\E[4m, rmul=\E[24m,
       
   242 	is1=\E%!0\ETM1\E%!1\E[0m,
       
   243 	rev=\E[7m, bold=\E[=7;<4m, invis=\E[=6;<5, dim=\E[=1;<6m,
       
   244 	blink=\E[5m, sgr0=\E[=0;<1m\E[24;25;27m,
       
   245 	smcup=\E%%!1\E[?6l\E[2J, 
       
   246 	kbs=^h, kcuu1=\E[A, kcud1=\E[B,
       
   247 	kcub1=\E[D, kcuf1=\E[C,
       
   248 	.is2=\E%%!1\E[?6141\E[0m,
       
   249 	cbt=\E[Z, cr=^M, ind=\ED, ri=\EM,
       
   250 	tbc=\E[1g, ht=^I, bel=^G,
       
   251 
       
   252 #	tektroinix color table is mapped into the RGB color table
       
   253 
       
   254 	setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
       
   255 	setb=\E[4%?%p1%{1}%=%t4
       
   256 		 %e%p1%{3}%=%t6
       
   257 		 %e%p1%{4}%=%t1
       
   258 		 %e%p1%{6}%=%t3
       
   259 		 %e%p1%d%;m,
       
   260 	setf=\E[3%?%p1%{1}%=%t4
       
   261 		 %e%p1%{3}%=%t6
       
   262 		 %e%p1%{4}%=%t1
       
   263 		 %e%p1%{6}%=%t3
       
   264 		 %e%p1%d%;m,
       
   265 #	All colors are reset to factory specifications
       
   266 
       
   267 	oc=\E%!0
       
   268 	      \ETFB0
       
   269 		0000
       
   270 		1F4F4F4
       
   271 		2F400
       
   272 		30F40
       
   273 		4A4C<F4
       
   274 		50F4F4
       
   275 		6F40F4
       
   276 		7F4F40
       
   277 	    \E%!1,
       
   278 	op=\E[39;40m,
       
   279 
       
   280 #	using RGB notation to define colors.  for arguments 1-3 the interval
       
   281 #	(0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
       
   282 #	interval then maps into pre-defined value.
       
   283 
       
   284 	initc=\E%%!0
       
   285 	      \ETF4
       
   286 	         %?%p1%{0}%=%t0
       
   287 		 %e%p1%{1}%=%t4
       
   288 		 %e%p1%{2}%=%t3
       
   289 		 %e%p1%{3}%=%t5
       
   290 		 %e%p1%{4}%=%t2
       
   291 		 %e%p1%{5}%=%t6
       
   292 		 %e%p1%{6}%=%t7
       
   293 		 %e1%;
       
   294 		  %?%p2%{125}%<%t0
       
   295 		  %e%p2%{250}%<%tA2
       
   296 		  %e%p2%{375}%<%tA?
       
   297 		  %e%p2%{500}%<%tC8
       
   298 		  %e%p2%{625}%<%tD4
       
   299 		  %e%p2%{750}%<%tE1
       
   300 		  %e%p2%{875}%<%tE:
       
   301 		  %eF4%;
       
   302 		  %?%p3%{125}%<%t0
       
   303 		  %e%p3%{250}%<%tA2
       
   304 		  %e%p3%{375}%<%tA?
       
   305 		  %e%p3%{500}%<%tC8
       
   306 		  %e%p3%{625}%<%tD4
       
   307 		  %e%p3%{750}%<%tE1
       
   308 		  %e%p3%{875}%<%tE:
       
   309 		  %eF4%;
       
   310 		  %?%p4%{125}%<%t0
       
   311 		  %e%p4%{250}%<%tA2
       
   312 		  %e%p4%{375}%<%tA?
       
   313 		  %e%p4%{500}%<%tC8
       
   314 		  %e%p4%{625}%<%tD4
       
   315 		  %e%p4%{750}%<%tE1
       
   316 		  %e%p4%{875}%<%tE:
       
   317 		  %eF4%;
       
   318 	      \E%%!1,
       
   319 	kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD,
       
   320 	kf4=\EP, kf5=\EQ, kf6=\ER, kf7=\ES,