# This is a termcap for FANSI-CONSOLE when FANSI-VT100 is reset.
# When FANSI-VT100 is set, you should use the termcap entry for a VT100.
#
# This should be used with UNIX or UNIX-like utilities.
# It works with communications programs that interface with the console 
# through BIOS or DOS calls.
#
# The comments provided within curly braces must be removed.
# The lines which end with :NO in the comments must also be removed.
# They are provided only for reference. 
#
# Tabbing may not always be done correctly unless MS-DOS program writes
# in RAW mode to console.  Otherwize MS-DOS gets in the way!
# See notes in the manual about this.
#
# Macros are assigned to the cursor and function keys F1-F10 
# to make them recognizable as function keys to UNIX.
# This is because most UNIX systems ignore the nuls which are the first
# part of the normal char sequences generated by these keys.
# Use Alt-Ctrl-Caps to turn the macros on/off if you need to use these keys 
# in your terminal program for menus, etc, and you have problems with them. 
# However, you should only have this problem if you use the communication
# program menus or exit the communication program in the middle of your
# connection to your UNIX host computer.
#
# This termcap was written by:
# Mark Hersey
# Hersey Micro Consulting, Inc.
# P.O. Box 8276
# Ann Arbor, MI USA 48107
# (313) 994-3259
#
# This termcap is NOT copyrighted. 
# Therefore you may legally enter it into any termcap files, with or without
# editing changes, without specific permission or renumeration.
#
# Hersey Micro-Consulting's FANSI-CONSOLE
#
fc|fansi|fconsole|Hersey Micro Consulting's FANSI-CONSOLE:\
	:al=\E[L:\		{al=Add Line}
	:AL=\E[%dL:\		{AL=Add Lines}
	:am:\			{am=Automatic Margins: unless WRAP off}
	\			{bc=BackspaCe:NO}
	:bs:\			{bs=BackSpace char works}
	:bt=\E[Z:\		{bt=BackTab}
	:cd=\E[J:\		{cd=Clear to end of Display}
	:ce=\E[K:\		{ce=Clear End of line}
	:cl=\E[H\E[J:\		{cl=CLear screen and home}
	:cm=\E[%i%d;%dH:\	{cm=Cursor Motion}
	:co#80:\		{co=COlumns on screen}
	:cr=^M:\		{cr=Carriage Return}
	\			{cs=Change Scrolling region:NO, use al,dl instead}
	\			{da=Display retained Above:NO}
	\			{db=Display retained Below:NO}
	:dc=\E[P:\		{dc=Delete Character}
	:DC=\E[%dP:\		{DC=Delete Characters}
	:dl=\E[M:\		{dl=Delete Line}
	:DL=\E[%dM:\		{DL=Delete Lines}
	\			{dm=Delete Mode:NO}
	:do=\E[B:\		{do=cursor DOwn}
	:DO=\E[%dB:\		{DO=cursor DOwns}
	\			{ed=End Delete:NO}
	:ei=\E[4l:\		{ei=End Insert}
	:eo:\			{eo=Erase Overstrikes: with blanks?}
	\			{hc=Hard Copy:NO}
	\			{ho=HOme:NO, use cm instead}
	\			{hz=HaZeltine terminal:no tildes:NO}
	:ic=\E[@:\		{ic=Insert Char}
	:IC=\E[%d@:\		{IC=Insert Chars}
	:im=\E[4h:\		{im=Insert Mode}
	\			{in=INsert mode:distinguishes nulls:NO}
	\			{ip=Insert Post char:NO}
	:is=\E[>0;'G';27;'[H'p\E[>0;'H';27;'[A'p\E[>0;'K';27;'[D'p\E[>0;'M';27;'[C'p\E[>0;'P';27;'[B'p\E[>0;';';27;'OP'p\E[>0;'<';27;'OQ'p\E[>0;'=';27;'OR'p\E[>0;'>';27;'OS'p\E[>0;'?';27;'OT'p\E[>0;'@';27;'OU'p\E[>0;'A';27;'OV'p\E[>0;'B';27;'OW'p\E[>0;'C';27;'OX'p\E[>0;'D';27;'OY'p:\	{is=Init String}
	:kd=\E[B:\		{kd=Keypad Down}
	\			{ke=Keypad End:NO}
	:kh=\E[H:\		{kd=Keypad Home}
	:kl=\E[D:\		{kl=Keypad Left}
	:kr=\E[C:\		{kr=Keypad Right}
	\			{ks=Keypad Start}
	:ku=\E[A:\		{ku=Keypad Up}
	:k1=\EOP:\		{k1=Key f1}
	:k2=\EOQ:\		{k2=Key f2}
	:k3=\EOR:\		{k3=Key f3}
	:k4=\EOS:\		{k4=Key f4}
	:k5=\EOT:\		{k5=Key f5}
	:k6=\EOU:\		{k6=Key f6}
	:k7=\EOV:\		{k7=Key f7}
	:k8=\EOW:\		{k8=Key f8}
	:k9=\EOX:\		{k9=Key f9}
	:k0=\EOY:\		{k0=Key f0}
	:LE=\E[%dD:\		{LE=cursor LEfts}
	:li#25:\		{li=LInes on screen}
	\			{ll=Lower Left, use cm instead}
	:mb=\E[5m:\		{mb=Make Blink}
	:md=\E[2m:\		{md=Make Dull}
	:me=\E[m:\		{me=Make Exit}
	:mh=\E[1m:\		{mh=Make High intensity}
	:mi:\			{mi=Move in Insert mode: OK}
	:mk=\E[8m:\		{mk=Make Koncealed}
	:mr=\E[7m:\		{mr=Make Reversed}
	:ms:\			{ms=Move in Standout:OK}
	:nd=\E[C:\		{nd=Non-Destructive space}
	:nl=^J:\		{nl=New Line}
	\			{nc=No Carriage return:NO}
	\			{ns=No Scroll:NO}
	\			{os=Over Strike:NO}
	\			{pc=Pad Char:NO}
	:rc=\E[u:\		{rc=Restore Cursor}
	:RI=\E[%dC:\		{ri=cursor RIghts}
	:rs=\E[>0;'G';0;'G'p\E[>0;'H';0;'H'p\E[>0;'K';0;'K'p\E[>0;'M';0;'M'p\E[>0;'P';0;'P'p\E[>0;';';0;';'p\E[>0;'<';0;'<'p\E[>0;'=';0;'='p\E[>0;'>';0;'>'p\E[>0;'?';0;'?'p\E[>0;'@';0;'@'p\E[>0;'A';0;'A'p\E[>0;'B';0;'B'p\E[>0;'C';0;'C'p\E[>0;'D';0;'D'p:\	{rs=Reset String}
	:sc=\E[s:\		{sc=Save Cursor}
	:se=\E[27m:\		{se=Standout mode Exit, restore color?}
	:sf=\ED:\		{sf=Scroll Forward}
	:so=\E[7m:\		{so=StandOut mode, use color if you have it}
	:sr=\EM:\		{sr=Scroll Reverse}
	:ta=\E[I:\		{ta=TAb char}
	:te=\E[>0;'G';0;'G'p\E[>0;'H';0;'H'p\E[>0;'K';0;'K'p\E[>0;'M';0;'M'p\E[>0;'P';0;'P'p\E[>0;';';0;';'p\E[>0;'<';0;'<'p\E[>0;'=';0;'='p\E[>0;'>';0;'>'p\E[>0;'?';0;'?'p\E[>0;'@';0;'@'p\E[>0;'A';0;'A'p\E[>0;'B';0;'B'p\E[>0;'C';0;'C'p\E[>0;'D';0;'D'p:\	{te=Terminal End}
	:ti=\E[>0;'G';27;'[H'p\E[>0;'H';27;'[A'p\E[>0;'K';27;'[D'p\E[>0;'M';27;'[C'p\E[>0;'P';27;'[B'p\E[>0;';';27;'OP'p\E[>0;'<';27;'OQ'p\E[>0;'=';27;'OR'p\E[>0;'>';27;'OS'p\E[>0;'?';27;'OT'p\E[>0;'@';27;'OU'p\E[>0;'A';27;'OV'p\E[>0;'B';27;'OW'p\E[>0;'C';27;'OX'p\E[>0;'D';27;'OY'p:\	{is=Terminal Init}
	:ue=\E[24m:\		{ue=Underscore End}
	:ul:\			{ul=UnderLine: OK}
	:up=\E[A:\		{up=cursor UP}
	:UP=\E[%dA:\		{UP=cursor UPs}
	:us=\E[4m:\		{us=Underscore Start}
	\			{vb=Visible Bell:NO}
	\			{ve=Visual Exit:NO}
	\			{vs=Visual Start:NO}
	\			{xb=XBehive terminal:no esc key:NO}
	\			{xn=XNewline:lf after wrap ignored:NO, unless FANSI-WRAP on}
	\			{xt=XTeleray 1061:desructive tabs:NO}
	\			{xx=XtektroniX insert line:NO}
