[net.micro.pc] TERMCAP FOR IBM PC WITH ANSI.SYS

pls@ncsu.UUCP (Phillip L. Shaffer) (01/29/85)

There was recently a query for a termcap for an IBM PC with ANSI.SYS
installed.  While several such termcaps have been posted in the past,
I beleive they were all incomplete and/or had errors.  Here is a termcap
that I wrote and have tested, with vi, etc.  As far as using it with
PCTALK, I don't know what will happen, but my experience suggests that
any "special" keys, such as DEL will not work - your communications program
must do the translation from the IBM key scan codes to ASCII on these keys.
This termcap still represents a pretty dumb terminal - no line insert,
delete, etc.  Does anyone care to contribute a nice public-domain terminal
emulation program?  Comments on the termcap are welcome, but no flames on
the vertical layout, please.

Phil Shaffer

# entry by Phillip Shaffer 1/17/85
pc|ibmpc|IBM PC running DOS 2.00 and ANSI.SYS driver, with monochrome screen:\
	:am:\
	:bs:\
	:ce=\E[K:\
	:cl=\E[2J:\
	:cm=\E[%i%d;%dH:\
	:co#80:\
	:do=\E[B:\
	:DO=\E[%dB:\
	:ho=\E[H:\
	:kb=^H:\
	:LE=\E[%dD:\
	:li#25:\
	:ll=\E[25H:\
	:nd=\E[C:\
	:rc=\E[u:\
	:RI=\E[%dC:\
	:sc=\E[s:\
	:se=\E[0m:\
	:so=\E[1m:\
	:ue=\E[0m:\
	:up=\E[A:\
	:UP=\E[%dA:\
	:us=\E[4m:
# ----end of termcap-----------------