Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!columbia!rutgers!clyde!cbatt!ihnp4!inuxc!pur-ee!uiucdcs!uiucdcsp!ericson
From: ericson@uiucdcsp.cs.uiuc.edu
Newsgroups: comp.terminals
Subject: Re: wyse 60 termcap/terminfo
Message-ID: <81300001@uiucdcsp>
Date: Sat, 10-Jan-87 12:07:00 EST
Article-I.D.: uiucdcsp.81300001
Posted: Sat Jan 10 12:07:00 1987
Date-Received: Tue, 13-Jan-87 05:36:08 EST
References: <111@dolphy.UUCP>
Lines: 172
Nf-ID: #R:dolphy.UUCP:111:uiucdcsp:81300001:000:5395
Nf-From: uiucdcsp.cs.uiuc.edu!ericson    Jan 10 11:07:00 1987


Here's a TERMINFO entry that includes every permutation
of screen heights, widths and reverse video.  (It's rather long, 
but it's *commented*!)

Enjoy!
Stuart Ericson
{ihnp4,convex,pur-ee}uiucdcs!ericson

-----------------------------  cut here ------------------------
# WYSE terminals
#
#	Stuart Ericson, October 1986
#
# first their flagship ascii terminal - the Wyse 60
# this one has all the attributes, takes no space for
# attributes on the screen, has actual font banks
#
# note: no timing or padding tests have been done
#	except for flash - all this was done at 
#	1200 baud.
#
# Wyse 60 base description:
# here's the vanilla wyse 60: 80 by 24, dark background
#
wy60|w6|wyse 60,
# beep, return, linefeed, and reverse line feed
	bel=^G, cr=^M, ind=^J, ri=\ej,
# start insert, remove insert, can move in insert
	smir=\eq, rmir=\er, mir, 
# insert a line, delete 1 char, one line
	il1=\eE, dch1=\eW, dl1=\eR,
# cursor forward, up, back, down
	cuf1=^L, cuu1=^K, cub1=^H, cud1=^J, 
# backtab, and cursor position
	cbt=\eI, cup=\e=%p1%' '%+%c%p2%' '%+%c, 
# erase line, erase display, clear&home	
	el=\eT, ed=\eY, clear=\e;, 
	cols#80, lines#24,
# start and end underline, end and start standout, can move 
# in standout mode.I chose dim reverse for standout
	smul=\eG8, rmul=\eG0, rmso=\eG0, smso=\eGt, msgr,
# dim mode, reverse (actually dim reverse), invisible, blink, 
# bold (i use regular reverse), and normal
	dim=\eGp, rev=\eGt, invis=\eG1, blink=\eG2, bold=\eG4, sgr0=\eG0,
# start alternate character (second bank for wy60)
# end alt - go to primary bank
	smacs=\ecE, rmacs=\ecD,
# the default function keys for all wyse X0 terminals
	kf1=^A@^M, kf2=^AA^M, kf3=^AB^M, kf4=^AC^M, 
	kf5=^AD^M, kf6=^AE^M, kf7=^AF^M, kf8=^AG^M, kf9=^AH^M,
# the keys for back, down, up, forward, 
	kcub1=^H, kcud1=^J, kcuu1=^K, kcuf1=^L, 
# keys for home, backspace, delete a char, delete a line
	khome=^^, kbs=^H, kdch1=\eW, kdl1=\eR,
# keys for clear screen, clear line, insert line, insert char
	kclr=\eY, kel=\eT, kil1=\eE, kich1=\eQ,
# keys for previous page, next page
	kpp=\eJ, knp=\eK,
# automargins, do flash by turning off screen
	am, flash=\e`8$<40>\e`9,
# has status line (use one on top) width 45
	hs, wsl#45, tsl=\eF, fsl=\r,
# cursor normal (block), very visible (blinking block)
# and invisible (off) 
	cnorm=\e`2, cvvis=\e`5, civis=\e`0,
# init: screen background dark
	is1=\eA00,
# MAIN INITIALIZE: 
# (used by ALL versions) 
# replace mode, write protect off, unlock
# keyboard, protect off, screen on, line lock off,
# graphics mode off, cursor normal mode
	is2=\er\e(\e"\e&\e`9\e`I\eH\003\e`2,
# init final: screen 80 columns, 24 lines
	is3=\e`:\ee(,
#
# Here's some defs for various screen lengths
#
wy60-43|w643|wyse 60 with 43 lines,
	lines#43,
# init final: screen 80 columns, 43 lines
	is3=\e`:\ee+,
# now use old wyse60 for rest..
	use=wy60,
wy60-42|w642|wyse 60 with 42 lines,
	lines#42,
# init final: screen 80 columns, 42 lines
	is3=\e`:\ee*,
# now use old wyse60 for rest..
	use=wy60,
wy60-25|w625|wyse 60 with 25 lines,
	lines#25, 
# init final: screen 80 columns, 25 lines
	is3=\e`:\ee), 
# now use old wyse60 for rest..
	use=wy60,
#
# Here's some defs for wide (132 col) mode
#
wy60-w-43|wy60-43-w|w643w|wyse 60 wide & 43 lines,
	lines#43,
# init final: screen 132 columns, 43 lines
	is3=\e`;\ee+,
# now use old wyse60 wide for rest..
	use=wy60-w,
wy60-w-42|wy60-42-w|w642w|wyse 60 wide & 42 lines,
	lines#42,
# init final: screen 132 columns, 42 lines
	is3=\e`;\ee*,
# now use old wyse60 wide for rest..
	use=wy60-w,
wy60-w-25|wy60-25-w|w625w|wyse 60 wide & 25 lines,
	lines#25,
# init final: screen 132 columns, 25 lines
	is3=\e`;\ee),
# now use old wyse60 wide for rest..
	use=wy60-w,
wy60-w|w60w|wyse 60 wide,
	cols#132,
# init final: screen 132 columns
	is3=\e`;\ee(,
# change cursor positioning routine
	cup=\ea%i%p1%dR%p2%dC,
# now use old wyse60 for rest..
	use=wy60,
#
# Here's some defs for reverse video
#
wy60-rv-43|wy60-43-rv|w643r|wyse 60 43 lines & reverse,
# use a new init string for background
	is1=\eA04,
# now use old wyse60 43 for rest..
	use=wy60-43,
wy60-rv-42|wy60-42-rv|w642r|wyse 60 42 lines & reverse,
# use a new init string for background
	is1=\eA04,
# now use old wyse60 42 for rest..
	use=wy60-42,
wy60-rv-25|wy60-25-rv|w625r|wyse 60 25 lines & reverse,
# use a new init string for background
	is1=\eA04,
# now use old wyse60 25 for rest..
	use=wy60-25,
wy60-rv|w6rw|wyse 60 reverse,
# use a new init string for background
	is1=\eA04,
# now use old wyse60 for rest..
	use=wy60,
#
# Here's some defs for reverse and wide
#
wy60-w-rv-43|wy60-w-43-rv|wy60-rv-43-w|wy60-rv-w-43|wy60-43-w-rv|wy60-43-rv-w|w643rw|wyse 60 wide & reverse,
# use a new init string for background
	is1=\eA04, 
# now use old wyse60 wide and 43 for rest..
	use=wy60-w-43,
wy60-w-rv-42|wy60-w-42-rv|wy60-rv-42-w|wy60-rv-w-42|wy60-42-w-rv|wy60-42-rv-w|w642rw|wyse 60 wide & reverse,
# use a new init string for background
	is1=\eA04,
# now use old wyse60 wide and 42 for rest..
	use=wy60-w-42,
wy60-w-rv-25|wy60-w-25-rv|wy60-rv-25-w|wy60-rv-w-25|wy60-25-w-rv|wy60-25-rv-w|w625rw|wyse 60 wide & reverse,
# use a new init string for background
	is1=\eA04,
# now use old wyse60 wide and 25 for rest..
	use=wy60-w-25,
wy60-w-rv|wy60-rv-w|w6rw|wyse 60 wide & reverse,
# use a new init string for background
	is1=\eA04,
# now use old wyse60 wide for rest..
	use=wy60-w,