Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.unix.questions
Subject: Re: Termcap needed for tektronix 4025
Message-ID: <11192@smoke.BRL.MIL>
Date: 30 Sep 89 01:14:50 GMT
References: <1989Sep28.165050.5839@uunet!unhd>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 36

In article <1989Sep28.165050.5839@uunet!unhd> rgd611@uunet!unhd (R. G. Desroches II) writes:
>I am using Ultrix-32 V3.2 with a tektronix 4025.  I need a termcap ...

The Tek4025 is without doubt one of the most poorly designed terminals
ever made.  I would advise getting a better terminal.  However, if you
really want to try to use the 4025 with termcap-using programs, here's
the best we could come up with:

# Tektronix 4025A
# The following status modes are assumed for normal operation (replace the
# initial "!" by whatever the current command character is):
#	!COM 29			# NOTE: changes command character to GS (^])
#	^]DUP
#	^]ECH R
#	^]EOL
#	^]RSS T
#	^]SNO N
#	^]STO 9 17 25 33 41 49 57 65 73
# Other modes may be set according to communication requirements.
# If the command character is inadvertently changed, termcap can't restore it.
# Insert-character cannot be made to work on both top and bottom rows.
# Clear-to-end-of-display emulation via !DLI 988 is too groady to use, alas.
# There also seems to be a problem with vertical motion, perhaps involving
# delete/insert-line, following a typed carriage return.  This terminal sucks.
# No delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
X5|tek4025a|Tektronix 4025A:\
	:al=^K^]ili;:am:bl=^G:bt=^]bac;:bw:CC=^]:cl=^]era;^J^]rup;:co#80:\
	:cr=^M:ct=^]sto;:da:db:DC=^]dch %d;:dc=^]dch;:DL=^]dli %d;:dl=^]dli;:\
	:DO=^]dow %d;:do=^J:it#8:LE=^]lef %d;:le=^H:li#34:nd=^]rig;:\
	:RI=^]rig %d;:\
	:rs=!com 29^]del 0^]rss t^]buf^]buf n^]cle^]dis^]dup^]ech r^]eol\
^]era g^]for n^]pad 203^]pad 209^]sno n^]sto 9 17 25 33 41 49 57 65 73\
^]wor 0;:\
	:SF=^]dow %d;:sf=^J:ta=^I:UP=^]up %d;:up=^K:xo:\
	:ce=^]dch 80;:ch=\r^]rig %d;:\
	:bs:pt:xx: