[comp.sys.ibm.pc] PC termcaps

davidsen@steinmetz.UUCP (04/01/87)

I have seen a number of requests for termcap entries over the past few
months, and herein post the one's I use on one local UNIX system. They
work for (a) ANSI.SYS under DOS, (b) XENIX default terminal, such as
Kermit, and (c) PC/IX running connect.

#
# termcap entry for pc/ix "connect" program
#	modified by Bill Davidsen, GE CRD
#
Px|pcix|ibm pc PC/IX connect prog:\
	:li#24:co#80:nl=^J:bl=^G:ta=^I:cr=^M:am:bs:bw:eo:\
	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
	:nd=\E[C:us=\E[4m:ue=\E[m:up=\E[A:

# Kermit under Xenix
xenix:al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\
   dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ei=:ho=\E[H:ic=\E[@:im=:li#25:nd=\E[C:\
   ms:pt:so=\E[1m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:kb=^h:ku=\E[A:kd=\E[B:\
   kl=\E[D:kr=\E[C:eo:sf=\E[S:sr=\E[T:GS=\E[12m:GE=\E[10m:GV=\63:GH=D:\
   GC=b:GL=v:GR=t:RT=^J:G1=?:G2=Z:G3=@:G4=Y:GU=A:GD=B:CW=\E[M:NU=\E[N:\
   RF=\E[O:RC=\E[P:WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:HM=\E[H:EN=\E[F:PU=\E[I:\
   PD=\E[G

# IBM ANSI.SYS
x9|ibmpc|Normal IBM PC (what kind of graphics board???):\
	:co#80:li#25:cl=\E[2J:cm=\E[%i%2;%2H:nd=\E[C:\
	:up=\E[A:do=\E[B:ce=\E[K:am:bs:\
	:so=\E[1;31m:se=\E[0m:us=\E[4;36m:ue=\E[0m:

================================================================
-- 
bill davidsen			sixhub \
      ihnp4!seismo!rochester!steinmetz ->  crdos1!davidsen
				chinet /
ARPA: davidsen%crdos1.uucp@ge-crd.ARPA (or davidsen@ge-crd.ARPA)

wmf@chinet.UUCP (04/02/87)

Most terminal packages for the PC do quite well using a vt100 termcap
entry. The following works smoothly with PROCOMM 2.4x, KERMIT 2.2x and
a host of non-specific, ANSI.SYS type communications programs.

It does contain a couple "non standard" entries:

	CB	Clear from beginning (as opposed to CD)
	BO	Bold Blink ON
	BE	Bold Blink OFF


d5|vt100pc|vt100-am for PC Emulation:\
	:cr=^M:do=^J:nl=^J:bl=^G:co#80:li#24:cl=50\E[;H\E[2J:\
	:be=\E[m:bl=^G:bo=\E[7m\E[5m:cb=\E[1J:\
	:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\
	:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
	:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:\
	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
	:rf=/usr/lib/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
	:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:sr=5\EM:vt#3:xn:\
	:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:



-- 
+-----------------------------------------------------------------------------+
| Fortiter in re, suaviter in modo                        Bill Fischer        |
|                                                     ...ihnp4!chinet!wmf     |
+-----------------------------------------------------------------------------+