# This abbreviated terminfo file contains the terminal strings for two terminal
# types: adm31 and vt100.  It is our hope that most terminals 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 sgr string is necessary in each entry to support combinations of
# the attribute features of Reverse Video, Blink, Alternate Intensity
# used by the RM/COBOL runtime.
# 
# If the adm31 gives you trouble with standout mode, check the DIP switch
# in position 6, bank @c11, 25% from back end of pad.  Should be OFF.
# If there is no such switch, you have an old adm31 and must use oadm31
adm31|31|lsi adm31,
	is2=\Eu\E0, cr=^M, cud1=^J, ind=^J, bel=^G, il1=\EE, am, cub1=^H,
	el=\ET, cup=\E=%p1%' '%+%c%p2%' '%+%c, cols#80, lines#24, xmc#1,
	clear=\E*, ed=\EY, rev=\E(\EG4, dim=\E), blink=\E(\EG2, sgr0=\E(,
	sgr=\E%?%p5%t)%e(%;\EG%?%p3%t%?%p4%t6%e4%;%e%?%p4%t2%;,
	dch1=\EW, dl1=\ER, rmir=\Er, home=^^, smir=\Eq,
	kf0=^A0\r, kf1=^A1\r, kf2=^A2\r, kf3=^A3\r, kf4=^A4\r,
	kf5=^A5\r, kf6=^A6\r, kf7=^A7\r, kf8=^A8\r, kf9=^A9\r,
	kcud1=^J, kcub1=^H, kcuf1=^L, kcuu1=^K, cuf1=^L, mir,
	rmso=\EG0, smso=\EG1, cuu1=^K, smul=\EG1, rmul=\EG0,
oadm31|o31|old adm31,
	smso=\EG4, smul@, rmul@, use=adm31,
# 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|pt100|dec vt100,
	cols#80, lines#24, am, clear=\E[;H\E[2J$<50>, cup=\E[%i%p1%d;%p2%dH$<5>,
	sgr=\E[%?%p5%t0%e1%;%?%p4%t;5%;%?%p3%t;7%;m, cuf1=\E[C$<2>,
	cuu1=\E[A$<2>, el=\E[K$<3>, ed=\E[J$<50>, smso=\E[7m$<2>, rmso=\E[m$<2>,
	smul=\E[4m$<2>,
	rmul=\E[m$<2>, is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smkx=\E[?1h\E=,
	rmkx=\E[?1l\E>, if=/usr/lib/tabset/vt100, kcuu1=\EOA, kcud1=\EOB,
	kcuf1=\EOC, kcub1=\EOD, khome=\E[H, kf1=\EOP, kf2=\EOQ, kf3=\EOR,
	kf4=\EOS, ri=\EM$<5>, sgr0=\E[1m, rmso=\E[0m, blink=\E[1;5m,
	rev=\E[1;7m, dim=\E[0m,xmc#0
# The end
