[net.info-terms] 4107/4109 terminfo

jcn@link.UUCP (J. C. Noll) (02/01/85)

I obtained a termcap for the 4107/4109 from net.info-terms.
As a way of saying thank you I am submitting an entry for
4107/4109 terminfo.  As you will note below, there are some
changes and additional comments.  So that you can tailor the
terminfo settings, they are listed one to a line.

An additional note to using the 4107/4109 successfully:
Setting tabs is important.  If your tabs command clears the 4107 but
does not set the tabs: uses "stty -tabs".	
Otherwise, tabs may be set with "tabs(1) or you may go into
setup mode and type "tabs -2".

If the terminal really behaves strangely go into setup mode and type
reset.  Then check that the setup parameters match the one's suggested
below. (You can start from scratch with factory defaults by typing
factory.  You will then have to change parameters, such as baud.)
After changing any parameters type nvsave to save the parameters.

------ cut here ----- cut here ------ cut here ----- 
#
# Tektronix 4107/4109
# The following setup modes are assumed for normal operation:
#	CODE ansi		CRLF no			DABUFFER 512 (?)
#	DAENABLE yes		DALINES 32		DAMODE replace
#	DAVISIBILITY yes	ECHO no			EDITMARGINS 1 32
#	FLAGGING input		INSERTREPLACE replace	LFCR no
#	LOCKKEYBOARD no		ORIGINMODE relative	PROMPTMODE no
#	SELECTCHARSET G0 B	SELECTCHARSET G1 0	TABS -2
# Other setup modes may be set for operator convenience or communication
# requirements; I recommend
#	ACURSOR 1 0		AUTOREPEAT yes		AUTOWRAP yes
#	BYPASSCANCEL <LF>	CURSORKEYMODE no	DAINDEX 1 0 0
#	EOFSTRING ''		EOLSTRING <CR>		EOMCHARS <CR> <NU>
#	GAMODE overstrike	GCURSOR 0 100 0		GSPEED 9 3
#	IGNOREDEL no		KEYEXCHAR <DL>		NVDEFINE -53 "<NU>"
#	PROMPTSTRING ''		QUEUESIZE 2620 (?)	WINDOW 0 0 4095 3132
#	XMTDELAY 0
# and factory color maps.  After setting these modes, save them with NVSAVE.
# No delays are specified; use "stty -ixany" to enable DC3/DC1 flow control!
#
# "IC" cannot be used in combination with "im" & "ei".
#	The following was converted from a net.info-terms termcap
#	by: Tony Hansen 	pegasus!hansen
#
4107|4109|tek4107|tek4109|Tektronix 4107 or 4109,
	msgr, xon,
	cols#80,
	it#8,
	lines#32,
	vt#3,
	bel=^G,
	blink=\E[5m,
	bold=\E[1m,
	cbt=\E[Z,
	civis=\E%!0\ETD00\E%!1,
	clear=\E[H\E[J,
#	cnorm=\E%!0\ETD30\E%!1,	/# cursor color set to white
	cr=\r,
	csr=\E[%i%p1%d;%p2%dr,
	cub=\E[%p1%dD,
	cub1=\b,
	cud=\E[%p1%dB,
	cud1=\n,
	cuf=\E[%p1%dC,
	cuf1=\E[C,
	cup=\E[%i%p1%d;%p2%dH,
	cuu=\E[%p1%dA,
	cuu1=\EM,
#	cvvis=\E%!0\ETD70\E%!1,	# cursor color set to yellow
	dch=\E[%p1%dP,
	dch1=\E[P,
	dl=\E[%p1%dM,
	dl1=\E[M,
	ech=\E[%p1%dX,
	ed=\E[J,
	el=\E[K,
	home=\E[H,
	hpa=\r\E[%p1%dC,
 	ht=\t,
	hts=\EH,
	il=\E[%p1%dL,
	il1=\E[L,
	ind=\n,
	indn=\E[%p1%dS,
	is2=\E%!1,
	kbs=\b,
	kf0=\EOA,
	kf1=\EOB,
	kf2=\EOC,
	kf3=\EOD,
	kf4=\EOP,
	kf5=\EOQ,
	kf6=\EOR,
	kf7=\EOS,
	lf0=F1,
	lf1=F2,
	lf2=F3,
	lf3=F4,
	lf4=F5,
	lf5=F6,
	lf6=F7,
	ll=\E[32;H,
	nel=\EE,
	rc=\E8,
	rev=\E[7m,
	ri=\EM,
	rin=\E[%p1%dT,
	rmacs=^O,
	rmcup=\E%!0\ELB`0\E%!1,	# `0 = 512
    #		the value following LB is an integer value of 512
    #		it sets the DABUFFER to 512
    #		other interesting values are H0 = 128; A@0 = 1024
    #		and don't forget H= = 141.   See Appendix D Tek Programmers
    #		Reference "4107/4109 Computer Display Terminal"
	rmir=\E[4l,
	rmkx=\E[?1l\E>,
	rmso=\E[m,
	rmul=\E[m,
	rs2=^X\E%!0\EKC\E\f\EKR0\EKF0\ENM0\ELB`0\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>,
	sc=\E7,
	sgr0=\E[m,
	smacs=^N,
	smcup=\E[?6l,	# sets DALINES to 32 in vi, etc.
	smir=\E[4h,
	smkx=\E[?1h\E=,
	smso=\E[7m\E[42m,	# standout is inverse video, green
	smul=\E[4m,
	tbc=\E[3g,
-- 
J. C. Noll    link!jcn   (201) 949-2158