#
# Monochrome IBMPC.
#	This is a termcap for the NANSI.SYS device driver.
#	It is the same as the ANSI termcap, except NANSI supports
#	line insert (al) and delete (dl) while ANSI does not.
#
ibmpc-mono:\
	:up=\E[A:sc=\E[s:rc=\E[u:cm=\E[%i%2;%2H:so=\E[1;33;44m:	\
	:se=\E[m:us=\E[1;31:46m:ue=\E[m:ce=\E[K:cl=\E[;H\E[2J:	\
	:cd=\E[2J:co#80:li#25:VB=\E[1m:Vb=\E[m:as=\E[1;35:47m:	\
	:ae=\E[m:ho=\E[H:bs:xd=\E[B:nd=\E[C:bc=\E[D:		\
	:ti=\E[m:te=\E[m:ic=\E[@:al=\E[L:dl=\E[M:dc=\E[P:

ibmpc-color|ibmpc-color:\
	:up=\E[A:sc=\E[s:rc=\E[u:cm=\E[%i%2;%2H:so=\E[1;35;44m:		\
	:se=\E[0;44m:us=\E[1;31:46m:ue=\E[0;44m:ce=\E[K:cl=\E[;H\E[2J:	\
	:cd=\E[2J:co#80:li#25:VB=\E[1m:Vb=\E[m:as=\E[1;35:47m:		\
	:ae=\E[m:ho=\E[H:bs:xd=\E[B:nd=\E[C:bc=\E[D:am:			\
	:ti=\E[0;44m:te=\E[0m:ic=\E[@:al=\E[L:dl=\E[M:dc=\E[P:		\
	:ku=\EH:kd=\EP:kl=\EL:kr=\EN:k1=\EI:k2=\EQ:

#
#	MS/PC-DOS ANSI.SYS termcap
#
color|ansi|ibm|ibmpc|ANSI.SYS color:\
	:co#80:li#25:bs:pt:bl=^G:le=^H:do=^J:\
	:cl=\E[H\E[2J:ce=\E[K:\
	:ho=\E[H:cm=\E[%i%d;%dH:\
	:up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\
	:ti=\E[0;30;43m\E[=7l:te=\E[0m\E[=7h:\
	:so=\E[1;37;43m:se=\E[0;30;43m:\
	:us=\E[1;31;43m:ue=\E[0;30;43m:\
	:mb=\E[5m:md=\E[1;37;43m:me=\E[0;30;43m:\
	:aw:ku=\EH:kd=\EP:kl=\EL:kr=\EN:k1=\EI:k2=\EQ:
mono|ansi-mono|ANSI.SYS mono:\
	:co#80:li#25:bs:pt:bl=^G:le=^H:do=^J:\
	:cl=\E[H\E[2J:ce=\E[K:\
	:ho=\E[H:cm=\E[%i%d;%dH:\
	:up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\
        :ti=\E[=7l:te=\E[0m\E[=7h:\
	:so=\E[1m:se=\E[m:us=\E[4m:ue=\E[m:\
	:mb=\E[5m:md=\E[1m:me=\E[m:ku=\EH:kd=\EP:kl=\EL:kr=\EN:k1=\EI:k2=\EQ:
#
#	This is a termcap for NNANSI.SYS (New & Improved NANSI.SYS),
#	a faster and more complete public domain replacement for
#	ANSI.SYS, and two other ANSI.SYS replacements, NANSI.SYS and
#	ZANSI.SYS.
#
#	NANSI and ZANSI support line insert (al) and delete (dl)
#	and character insert (ic) and delete (dc) where ANSI.SYS
#	does not.  NNANSI.SYS also supports clear to end of display
#	(cd), does reverse video (mr) properly, and emulates SGR
#	more fully, allowing correct end sequences for standout (se)
#	and end of underline (ue).
#
nnansi|NNANSI.SYS color:\
        :co#80:li#25:bs:pt:bl=^G:le=^H:do=^J:\
	:cl=\E[2J:cd=\E[J:ce=\E[K:\
	:ho=\E[H:cm=\E[%i%d;%dH:\
	:up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\
	:ti=\E[0;30;43m\E[=7l:te=\E[0m\E[=7h:\
	:so=\E[1;37;43m:se=\E[0;30;43m:\
	:us=\E[1;31;43m:ue=\E[0;30;43m:\
	:mb=\E[5m:md=\E[1;37;43m:me=\E[0;30;43m:\
        :mh=\E[2m:mr=\E[7m:\
	:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
        :aw:ku=\EH:kd=\EP:kl=\EL:kr=\EN:k1=\EI:k2=\EQ:
nnansi-mono|NNANSI.SYS mono:\
	:co#80:li#25:bs:pt:bl=^G:le=^H:do=^J:\
	:cl=\E[2J:cd=\E[J:ce=\E[K:\
	:ho=\E[H:cm=\E[%i%d;%dH:\
	:up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\
        :ti=\E[=7l:te=\E[0m\E[=7h:\
	:so=\E[1m:se=\E[2m:\
	:us=\E[4m:ue=\E[24m:\
	:mb=\E[5m:md=\E[1m:mh=\E[2m:mr=\E[7m:me=\E[m:\
	:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
	:ku=\EH:kd=\EP:kl=\EL:kr=\EN:k1=\EI:k2=\EQ:
nansi|zansi|N/ZANSI.SYS color:\
	:co#80:li#25:bs:pt:bl=^G:le=^H:do=^J:\
	:cl=\E[2J:ce=\E[K:\
	:ho=\E[H:cm=\E[%i%d;%dH:\
	:up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\
	:ti=\E[0;44m:te=\E[0m:\
	:so=\E[1;35;44m:se=\E[0;44m:\
	:us=\E[1;31;44m:ue=\E[0;44m:\
	:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[0;44m:\
	:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
	:ku=\EH:kd=\EP:kl=\EL:kr=\EN:k1=\EI:k2=\EQ:
nansi-mono|zansi-mono|N/ZANSI.SYS mono:\
	:co#80:li#25:bs:pt:bl=^G:le=^H:do=^J:\
	:cl=\E[2J:ce=\E[K:\
	:ho=\E[H:cm=\E[%i%d;%dH:\
	:up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\
	:ti=\E[0m:te=\E[0m:\
	:so=\E[1;35m:se=\E[0m:\
	:us=\E[1;31m:ue=\E[0m:\
	:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:\
	:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
	:ku=\EH:kd=\EP:kl=\EL:kr=\EN:k1=\EI:k2=\EQ:
#
# For really complete ANSI emulations (FANSI-CONSOLE?):
#
AX|ANSI X3.64|full ANSI X3.64 (1977) standard:\
	:co#80:li#24:bs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