[net.info-terms] Need 4107 termcap

pskay@hou2e.UUCP (Paul Kay) (01/08/85)

I'm looking for a termcap entry for the Tektronix 4107/4109.
We've got several of these puppies here at Merrimack Valley and,
while many of the outside built graphics tools work great, our
users are not pleased that the UNIX tolls, especially vi, don't
work without some terminal tweeking.

Please note, I said termcap. While we are converting to Vr2,
most of our systems are still 5.0 due to lack of personel to
convert some of our tools quickly. A termcap entry is upward
compatible, I would rather not have to learn all about
terminfo(5) to convert backwards.

Thanks in advance.

			Paul S. Kay

			UUCP: ...ihnp4!hou2e!pskay
			      ...ihnp4!mvuxe!psk (the real me)
			USPS: Bell Labs, 1600 Osgood St.
			      N. Andover, Mass.*

* Please note change from UNIX 5.0. Merrimack Valley is back in
    Mass. It has never been in Maine, no matter what mm says!

Any opinion here, except the location of the Labs, may not even be
	mine, let alone that of my management.

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (01/08/85)

#
# Tektronix 4107/4109
# The following setup modes are assumed for normal operation:
#	CODE ansi		CRLF no			DABUFFER 141 (?)
#	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 10 1
#	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".
Xh|tek4107|tek4109|Tektronix 4107 or 4109:\
	:ae=^O:AL=\E[%dL:al=\E[L:as=^N:bl=^G:bt=\E[Z:cd=\E[J:ce=\E[K:\
	:cm=\E[%i%d;%dH:co#80:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:DC=\E[%dP:\
	:dc=\E[P:DL=\E[%dM:dl=\E[M:DO=\E[%dB:do=^J:ec=\E[%dX:ei=\E[4l:\
	:ho=\E[H:im=\E[4h:is=\E%!1:it#8:k0=\EOA:k1=\EOB:k2=\EOC:\k3=\EOD:\
	:k4=\EOP:k5=\EOQ:k6=\EOR:k7=\EOS:kb=^H:ke=\E[?1l\E>:ks=\E[?1h\E=:\
	:l0=F1:l1=F2:l2=F3:l3=F4:l4=F5:l5=F6:l6=F7:l6=F8:LE=\E[%dD:le=^H:\
	:li#32:ll=\E[32;H:mb=\E[5m:md=\E[1m:me=\E[m:mr=\E[7m:ms:nd=\E[C:\
	:nw=\EE:rc=\E8:RI=\E[%dC:\
	:rs=^X\E%!0\EKC\E^L\EKR0\EKF0\ENM0\ELBH=\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:se=\E[m:SF=\E[%dS:sf=^J:so=\E[7m:SR=\E[%dT:sr=\EM:st=\EH:\
	:ta=^I:te=\E%!0\ELBH=\E%!1:ti=\E[?6l:ue=\E[m:UP=\E[%dA:up=\EM:\
	:us=\E[4m:ve=\E%!0\ETD10\E%!1:vi=\E%!0\ETD00\E%!1:\
	:vs=\E%!0\ETD70\E%!1:vt#3:xo:\
	:ch=\r\E[%dC:cl=\E[H\E[J:\
	:bs:kn#8:pt:

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

(1)
Does anyone have a 4107/4109 terminfo source that they coud post?
(2)
Thank you for the termcap.  
I have converted the termcap with some dificulty to a terminfo.
What does the follwoing line mean?.  My conversion program
chokes on it.
> #
rs=^X\E%!0\EKC\E^L\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\
> \ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>:\

-- 
J. C. Noll    link!jcn   (201) 949-2158

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (01/14/85)

> I have converted the termcap with some dificulty to a terminfo.
> What does the follwoing line mean?.  My conversion program
> chokes on it.
> > #
> rs=^X\E%!0\EKC\E^L\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\
> > \ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>:\

In terminfo this would be "rs2", a string to reset the terminal
completely from an arbitrary starting state to sane modes.  Note
that terminfo has several reset & initialization strings for ease
of sharing a common entry among related terminals and for more
flexibility in the order in which these things are done.  It is
also possible to run a program as part of the initialization,
although this is usually reserved for really weird hardware.

It is perhaps worth noting that many termcap-using programs do
not properly use is/i1/i2/i3/rs/r1/r2/r3/ti/te/ks/ke/vs/ve but
instead just make a wild guess at what to use when.  If anyone
does not have the updated termcap manual page that I posted long
ago, you should get a copy and follow it.  It will make future
conversion to terminfo much easier.