: The format of the AOMcap file is as follows:
:
:      Lines beginning with colons (:) and blank lines are ignored
:      The first line of an entry begins with a pound sign (#) 
:        and contains the names for a terminal separated by 'or bars' (|).
:        The name of a terminal is picked up from the TERM environment
:        variable when aom is run.
:      Subsequent lines contain the name of a feature, followed by 
:        an equal sign (=), followed by the sequence to implement that
:        feature, followed by a colon.
:
: The sequence to implement a command is a string which can contain
: the following:
:
:      \E represents an escape
:      ^x represents control-x for any appropriate x
:      \n represents newline
:      \r represents carriage return
:      \t represents tab
:      \b represents backspace
:      \f represents formfeed
:      Characters may be given as 3 octal digits after a \
:      ^ and \ are given as \^ and \\
:      If it is necessary to put a colon in a string, it must be
:         represented as \072


: CUR_ON  - make the cursor visable
: CUR_OFF - make the cursor invisable (won't be used if CUR_ON is not set)
: ENABLE25 - enable 25th line on the terminal (Altos II)
: SETUPG   - set up the terminal for graphics (used at start of program)
: ENDG     - reset the terminal (used when aom terminates)
: G_ON     - go into graphics mode (used before a set of graphics characters
:               is sent to the screen)
: G_OFF    - go back to ascii mode (used after a set of graphics characters is
:               sent to the screen)
: G_PREFIX - go into graphics mode for a single character (used if no G_ON)
: G0A	   - set character set 0 to ascii
: G0G	   - set character set 0 to graphics
: G1A	   - set character set 1 to ascii
: G1G	   - set character set 1 to graphics
: UP_LEFT  - upper left corner box character (defaults to blank )
: UP_RIGHT - upper right corner box character (defaults to blank )
: LOW_LEFT - lower left corner box character (defaults to |)
: LOW_RIGHT - lower right corner box character (defaults to |)
: VERT - vertical bar (defaults to | )
: HORIZ - horizontal bar (defaults to _ )
: CENTER - used in the position where a vertical bar crosses a 
:              horizontal bar (defaults to | )
: T_LEFT - used where a horizontal bar meets a vertical bar at the 
:              left side of the box (defaults to | )
: T_RIGHT - used where a horizontal bar meets a vertical bar at the 
:              right side of the box (defaults to | )
: T_TOP - used where a horizontal bar meets a vertical bar at the 
:              top of the box (defaults to _ )
: T_BOTTOM - used where a horizontal bar meets a vertical bar at the 
:              bottom of the box (defaults to | )
: LP - define a function key label.  This command is assumed to be in
:	the format described in the WY-50 Display Terminal Reference Manual
:	and the Altos IV User's Guide.
: IGN0-IGN9 - indicates a string which an application might send, but which
:		can be, or should be, ignored by the windows device driver.
: SEND0-SEND9 - indicates a string which the windows driver can send to the
:		terminal without making the characters on the screen
:		inconsistent with its image of the screen in memory.  An
:		example would be changing the cursor from a blinking
:		underline to a solid block.
: CL2, CE2, CD2, HO2, UP2, DO2, ND2, BC2 - used when there is more than one
:		clear screen, clear to end of line, clear to end of page,
:		home cursor, cursor up, cursor down, cursor right, or
:		cursor left sequence that is likely to be used by applications
:		running on this terminal.  For example, on the Altos II,
:		you can home the cursor by sending ESC [ H, but many app-
:		lications use ESC [ f, which does the same thing.


#a2|altos2|alt2|altos 2|Altos II
ENABLE25=\E[>1h:
CUR_ON=\E[>5l:
CUR_OFF=\E[>5h:
SETUPG=\E(B\E)0:
G_ON=\016:
G_OFF=\017:
G0A=\E(B:
G0G=\E(0:
G1A=\E)B:
G1G=\E)0:
UP_LEFT=I:
UP_RIGHT=;:
LOW_RIGHT=<:
LOW_LEFT=H:
HORIZ=M:
VERT=\072:
T_TOP=K:
T_BOTTOM=J:
T_LEFT=L:
T_RIGHT=9:
CENTER=N:
IGN1=\E[?7h:
IGN2=\E[?7l:
IGN3=\E[?3;10l:
IGN4=\E[?3l:
IGN5=\E)1:
SEND1=\E[?8h:
SEND3=\E[?4l:
SEND4=\E[?5l:
SEND5=\E[?5h:
HO2=\E[f:
CD2=\E[0J:
CE2=\E[0K:
CL2=\E[2J:
UP2=\E[1A:
DO2=\E[1B:
ND2=\E[1C:
BC2=\E[1D:

#a3|altos3|alt3|altos 3|Altos III
CUR_ON=\E[>5l:
CUR_OFF=\E[>5h:
SETUPG=\E(B\E)0:
G_ON=\016:
G_OFF=\017:
G0A=\E(B:
G0G=\E(0:
G1A=\E)B:
G1G=\E)0:
UP_LEFT=M:
UP_RIGHT=L:
LOW_LEFT=N:
LOW_RIGHT=K:
T_TOP=X:
T_BOTTOM=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5l:
SEND5=\E[?5h:
HO2=\E[f:
CD2=\E[0J:
CE2=\E[0K:
CL2=\E[2J:
UP2=\E[1A:
DO2=\E[1B:
ND2=\E[1C:
BC2=\E[1D:

#a7|alt7|altos7|altos 7|Altos VII|pca7|pcalt7|pcaltos7|a8|alt8|altos8|altos 8|Altos VIII|w6|wyse6|wyse60
CUR_ON=\E`1:
CUR_OFF=\E`0:
G_PREFIX=\EH:
G_ON=\EH\002:
G_OFF=\EH\003:
UP_LEFT=R:
UP_RIGHT=S:
LOW_LEFT=Q:
LOW_RIGHT=U:
VERT=V:
HORIZ=\072:
T_LEFT=T:
T_RIGHT=Y:
T_TOP=P:
T_BOTTOM==:
CENTER=X:
IGN0=\EF:
IGN1=\E0:
IGN2=\E3:
IGN3=\E1:
IGN4=\Eu:
IGN5=\E>:
IGN6=\EA00:
IGN7=\E`3:
IGN8=\Ez"\001"\015\177:
SEND0=\EC:
SEND1=\EA10:
SEND2=\E":
SEND3=\EO:
SEND4=\Er:
SEND5=\E':
SEND6=\E`\072:
LP=\Ez:
CL2=\E+:
CD2=\EY:
CE2=\ET:

#w1|wyse|Wyse wy-100 w/reverse video
G_PREFIX=\EH:
UP_LEFT=2:
UP_RIGHT=3:
LOW_LEFT=1:
LOW_RIGHT=5:
VERT=6:
HORIZ=\072:
T_LEFT=4:
T_RIGHT=9:
T_TOP=0:
T_BOTTOM==:
CENTER=8:

#w2|wyse2|Wyse wy-100 no reverse video
G_PREFIX=\EH:
UP_LEFT=2:
UP_RIGHT=3:
LOW_LEFT=1:
LOW_RIGHT=5:
VERT=6:
HORIZ=\072:
T_LEFT=4:
T_RIGHT=9:
T_TOP=0:
T_BOTTOM==:
CENTER=8:

#w3|wyse3|wyse30|Wyse wy-30
G_PREFIX=\EH:
UP_LEFT=2:
UP_RIGHT=3:
LOW_LEFT=1:
LOW_RIGHT=5:
VERT=6:
HORIZ=\072:
T_LEFT=4:
T_RIGHT=9:
T_TOP=\EH0:
T_BOTTOM=\EH=:
CENT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:
T_LEFT=t:
T_RIGHT=u:
VERT=x:
HORIZ=q:

#d3|vt240|DEC VT240
CUR_ON=\E[?25h:
CUR_OFF=\E[?25l:
SETUPG=\E(B\E)0:
G_ON=\016:
G_OFF=\017:
G0A=\E(B:
G0G=\E(0:
G1A=\E)B:
G1G=\E)0:
UP_LEFT=l:
UP_RIGHT=k:
LOW_RIGHT=j:
LOW_LEFT=m:
T_BOTTOM=v:
T_TOP=w:
CENTER=n:
T_LEFT=t:
T_RIGHT=u:
VERT=x:
HORIZ=q:

#v3|tvi950|Televideo 950
G_ON=\E$:
G_OFF=\E%:
UP_LEFT=f:
UP_RIGHT=g:
LOW_LEFT=e:
LOW_RIGHT=h:
T_BOTTOM=o:
T_TOP=n:
CENTER=i:
T_LEFT=m:
T_RIGHT=l:
VERT=j:
HORIZ=k:

: Parts of 
: the ADDS Viewpoint entry have been commented out
: because some viewpoint terminals do not support
: graphics.  If you have a Viewpoint-60 or Viewpoint-90
: uncommenting this entry should use the graphics
: characteristics of those terminals.
:
#av|viewpoint|addsviewpoint|ADDS Viewpoint
CUR_ON=^X:
CUR_OFF=^W:
: G_ON=\E1:
: G_OFF=\E2:
: UP_LEFT=L:
: UP_RIGHT=H:
: LOW_RIGHT=@:
: LOW_LEFT=D:
: T_BOTTOM=\\:
: T_TOP=P:
: CENTER=h:
: T_LEFT=X:
: T_RIGHT=T:
: VERT=\E1d:
: HORIZ=`:

#ansi|ansic|Ansii Standard Terminal
G_PREFIX=\EH:
G_ON=\E[12m:
G_OFF=\E[10m:
UP_LEFT=Z:
UP_RIGHT=?:
LOW_LEFT=@:
LOW_RIGHT=Y:
VERT=3:
HORIZ=D:
T_LEFT=C:
T_RIGHT=4:
T_TOP=B:
T_BOTTOM=A:
CENTER=E:
IGN0=\EF:
IGN1=\E0:
IGN2=\E3:
IGN3=\E1:
IGN4=\Eu:
IGN5=\E>:
IGN6=\EA00:
IGN7=\E`3:
IGN8=\Ez"\001"\015\177:
SEND0=\EC:
SEND1=\EA10:
SEND2=\E":
SEND3=\EO:
SEND4=\Er:
SEND5=\E':
SEND6=\E`\072:
LP=\Ez:
CL2=\E+:
CD2=\EY:
CE2=\ET:
