[unix-pc.general] Need 5620 and 630 termcap

k2ph@dxis.ATT.COM (Teenage Mutant Ninja DXer) (08/05/89)

I'm looking for working termcap entries for the 5620 and 630 DMD terminals.
I put together a couple of entries based on the terminfo entries distributed
with our department 3B2 which seem to work okay with vi, but vnews and vn
barf at them (lots of "OOPS" messages).  From what I can tell, the problem
appears to be in the code for cursor motion, cm.

HELP!  (please)

-- 
======================================================================
Bob Schreibmaier K2PH       | UUCP: att!dxis!k2ph or k2ph@dxis.att.com
(Teenage Mutant Ninja DXer) | ARPA: k2ph%dxis@att.arpa
Middletown, N.J.            | ICBM: 40o21'N, 74o8'W

mvadh@cbnews.ATT.COM (andrew.d.hay) (08/07/89)

In article <176@dxis.ATT.COM> k2ph@dxis.ATT.COM (Teenage Mutant Ninja DXer) writes:
"I'm looking for working termcap entries for the 5620 and 630 DMD terminals.

don't waste your time trying to write them --
in your .profile, do something like this:

export TERMINFO TERMCAP
TERMINFO=/usr/lib/terminfo	(or whereever)
TERMCAP=`infocmp -C`

works like a charm for me...

-- 
Andrew Hay		+------------------------------------------------------+
Null Fu-Tze		|		LEARN HOW TO AVOID RIPOFFS!	       |
AT&T-BL Ward Hill MA	|			SEND $5...		       |
a.d.hay@att.com		+------------------------------------------------------+

k2ph@dxis.ATT.COM (Teenage Mutant Ninja DXer) (08/08/89)

In article <8833@cbnews.ATT.COM>, mvadh@cbnews.ATT.COM (andrew.d.hay) writes:
> In article <176@dxis.ATT.COM> k2ph@dxis.ATT.COM (Teenage Mutant Ninja DXer) writes:
> "I'm looking for working termcap entries for the 5620 and 630 DMD terminals.
> 
> don't waste your time trying to write them --
> in your .profile, do something like this:
> 
> export TERMINFO TERMCAP
> TERMINFO=/usr/lib/terminfo	(or whereever)
> TERMCAP=`infocmp -C`
> 
> works like a charm for me...
> 

This is a good idea and SHOULD work.  It's also the first thing I tried.  
Unfortunately, vi, vnews, and vn all responded with "bad termcap entry."
Interestingly enough, the blasted "cm" entry seemed to cause all the
trouble.  If I gave it a shorter (but bogus) cm entry, all the above
programs had no complaint--even though the entry was bogus!  Sigh...

In any case, many thanks to all those who responded.  There seems to
be a consensus that looks something like this (more or less):

#For future reference, please send termcap requests to:
#	att!ttrdd!att630
#
#
# AT&T 5620 Terminal 
# March 11, 1987
TB|5620|dmd|AT&T 5620 terminal 88 columns:\
	:am:xo:bs:pt:\
	:co#88:li#70:kn#4:\
	:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:IC=\E[%d\@:SF=\E[%dS:\
	:SR=\E[%dT:al=\E[L:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
	:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:ho=\E[H:ic=\E[\@:kb=\b:\
	:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:\
	:r1=\Ec:rc=\E8:sc=\E7:se=\E[0m:so=\E[7m:sr=\E[T:\
	:ue=\E[0m:up=\E[A:us=\E[4m:nl=\E[B:ko=do,nd,up,ho:\
        :KM=/usr/lib/ua/kmap.5620:
#
#
#
# AT&T 630 MULTI-TASKING GRAPHICS TERMINAL
#
#
# AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
# The following SETUP modes are assumed for normal operation:
#	Local_Echo=Off	Gen_Flow=On	Return=CR	Received_Newline=LF
#	Font_Size=Large	Non-Layers_Window_Cols=80	Non-Layers_Window_Rows=60
# Other SETUP modes may be set for operator convenience or communication
# requirements.  Some capabilities assume a printer attached to the Aux EIA port.
# This termcap description is for the Fixed Non-Layers Window.
# No delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
TF|630|att630|AT&T 630 MTG (large font):\
	:@8=^M:AL=\E[%dL:al=\E[L:am:bl=^G:bt=\E[Z:cb=\E[1K:cd=\E[J:ce=\E[K:\
	:cm=\E[%i%d;%dH:co#80:cr=^M:da:db:DC=\E[%dP:dc=\E[P:DL=\E[%dM:dl=\E[M:\
	:DO=\E[%dB:do=^J:ho=\E[H:IC=\E[%d@:ic=\E[@:is=\E[m:it#8:k0=\ENo:\
	:k1=\ENp:k2=\ENq:k3=\ENr:k4=\ENs:k5=\ENt:kB=\E[Z:kb=^H:kC=\E[2J:\
	:kd=\E[B:kh=\E[H:kl=\E[D:kn#6:kr=\E[C:ku=\E[A:l0=F9:l1=F10:l2=F11:\
	:l3=F12:l4=F13:l5=F14:LE=\E[%dD:le=^H:li#60:lm#0:me=\E[m:mr=\E[7m:ms:\
	:nd=\E[C:NP:pf=^T:po=\E[?5i:rc=\E8:RI=\E[%dC:rs=\Ec:sc=\E7:se=\E[m:\
	:SF=\E[%dS:sf=^J:so=\E[7m:SR=\E[%dT:sr=\EM:ta=^I:ue=\E[m:UP=\E[%dA:\
	:up=\EM:us=\E[4m:vt#3:xo:\
	:cl=\E[H\E[J:nw=^M^J:\
	:bs:pt:

Now, if I could only get that /usr/lib/ua/kmap.5620 entry!  :-)
-- 
======================================================================
Bob Schreibmaier K2PH       | UUCP: att!dxis!k2ph or k2ph@dxis.att.com
(Teenage Mutant Ninja DXer) | ARPA: k2ph%dxis@att.arpa
Middletown, N.J.            | ICBM: 40o21'N, 74o8'W