[comp.terminals] terminfo for Wyse 370

dmw@prism1.UUCP (David Wright) (03/18/91)

	Does anyone have a terminfo entry for the Wyse 370 color terminal?
I don't need any kind of color support, but enough of an entry to let it
work about as well as a Wyse 60 would be nice.



			Dave

staceyc@sco.COM (Stacey Campbell) (03/26/91)

In article <24@prism1.UUCP> dmw@prism1.UUCP (David Wright) writes:
>	Does anyone have a terminfo entry for the Wyse 370 color terminal?
>I don't need any kind of color support, but enough of an entry to let it
>work about as well as a Wyse 60 would be nice.

Here's my homebrew wy370 terminfo file.  The color stuff is kind-o-brutal,
but necessary to get Unix terminfo curses color applications happening.

wy370|wyse 370 beta,

# misc booleans
	xenl, xon, mir, msgr, am, hs,

# misc numerics
	vt#3, cols#80, lines#24, it#8,

# color - setf and setb mimic ISO colors
	colors#64,
	pairs#4096,
	op=\E[60w,
	setf=\E[61;
		%p1%{1}%=%t49%e
		%p1%{2}%=%t12%e
		%p1%{3}%=%t60%e
		%p1%{4}%=%t3%e
		%p1%{5}%=%t51%e
		%p1%{6}%=%t15%e
		%p1%{7}%=%t63%e
		%p1%d%;w,
	setb=\E[62;
		%p1%{1}%=%t49%e
		%p1%{2}%=%t12%e
		%p1%{3}%=%t60%e
		%p1%{4}%=%t3%e
		%p1%{5}%=%t51%e
		%p1%{6}%=%t15%e
		%p1%{7}%=%t63%e
		%p1%d%;w,

# bell capabilities
	bel=^G,
	flash=\E[30h\E\,\E[30l$<300>,

# status line (terminfo parameterisation of tsl seems to be broken)
	tsl=\E[2$~\E[31h\E[1$}^M,
	fsl=\E[0$}\E[63;1w, dsl=\E[31l,
	wsl#80,

# cursor
	cnorm=\E[?25h,
	civis=\E[?25l,
	cvvis=\E[?25h\E[34l\E[52;57w,

# misc
	dl1=\E[M,
	dch1=\E[P,
	ind=^J,
	clear=\E[H\E[J,
	cub1=^H,
	cup=\E[%i%p1%d;%p2%dH,
	cuf1=\E[C, cuu1=\E[A, el=\E[K, el1=\E[1K, ed=\E[J,
	cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD, cuf=\E[%p1%dC, 
	smso=\E[1;7m, rmso=\E[m, smul=\E[4m, rmul=\E[m,
	dim=\E[2m, bold=\E[1m, rev=\E[7m, blink=\E[5m,
	sgr0=\E[m^O,
	sgr=\E[0
		%?%p2%t;4%;
		%?%p3%p1%|%t;7%;
		%?%p4%t;5%;
		%?%p5%t;2%;
		%?%p6%t;1%;
		%?%p7%t;8%;m
		%?%p9%t^N%e^O%;,
	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h,
	smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
	enacs=\E(B\E)0, smacs=^N, rmacs=^O,
	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
	tbc=\E[3g, hts=\EH, home=\E[H, ht=^I, ri=\EM,
	cr=^M,
	cud1=^J,
	kcuu1=\EOA,
	kcud1=\EOB, kcuf1=\EOC, kcub1=\EOD,
	kbs=^H, khome=\E[H,
	kpp=\E[V, knp=\E[U,
	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
	kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
	kf9=\E[20~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
	krfr=^R, kdch1=\177,
	kent=^M,
	sc=\E7, rc=\E8, csr=\E[%i%p1%d;%p2%dr,
	

wy370-w|Wyse 370 in 132-column mode,
	cols#132,
	wsl#132,
	rs2=\E[35h\E[?3h$<70>,
	use=wy370,

wy370-h|Wyse 370 in 132-column 50 line mode,
	cols#132,
	lines#50,
	wsl#132,
	rs2=\E[35h\E[?3h$<70>,
	use=wy370,
-- 
                             Stacey Campbell       
                        Internet: staceyc@sco.com
     UUCP: {uunet,ucscc,att,sq,altos,lotus,sun,microsoft}!sco!staceyc