# This abbreviated termcap file contains the terminal strings for two terminal
# types: adm31 and vt100.  It is our hope that most termianls will conform
# closely enough to either of these two types that a runtime will be able to
# execute in a reasonable fashion with TERM set to either adm31 or vt100.
# The last two lines in each entry contain the strings necessary to support
# the attribute features of Reverse Video, Blink, Alternate Intensity and
# various combinations used by the RM/COBOL runtime.
l1|adm31|31|lsi adm31:is=\Eu\E0:\
	:al=\EE:am:bs:ce=\ET:cm=\E=%+ %+ :cl=\E*:cd=\EY:co#80:dc=\EW:dl=\ER:\
	:ei=\Er:ho=^^:im=\Eq:k0=^A0\r:k1=^A1\r:k2=^A2\r:k3=^A3\r:k4=^A4\r:\
	:k5=^A5\r:k6=^A6\r:k7=^A7\r:k8=^A8\r:k9=^A9\r:kd=^J:kl=^H:kr=^L:ku=^K:\
	:li#24:ma=j^Jk^P^K^Pl ^R^L^L :mi:nd=^L:\
	:se=\EG0:so=\EG1:up=^K:us=\EG1:ue=\EG0:\
	:NM=\E(:RS=\E(\EG0:NB=\E(\EG2:NR=\E(\EG4:NS=\E(\EG6:\
	:AL=\E):AB=\E)\EG2:AR=\E)\EG4:AS=\E)\EG6:OV#1:
# vt100 is likely to not support blink or alternate intensity; we have in
#       included the sequences for those attributes, but they may need to
#       be modified for a working case.
d1|vt100|vt-100|pt100|pt-100|dec vt100:\
	:co#80:li#24:am:cl=50\E[;H\E[2J:bs:cm=5\E[%i%2;%2H: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:\
	:is=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\
	:if=/usr/lib/tabset/vt100:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:\
	:kh=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=5\EM:\
	:NM=\E[1m:RS=\E[0m:NB=\E[1;5m:NR=\E[1;7m:NS=\E[5;7m:\
	:AL=\E[0m:AB=\E[0;5m:AR=\E[0;7m:AS=\E[5;7m:OV#0:
