# see also: man 5 terminfo
#
# Flags
#
#       am      automatic margins
#       bce     screen erase with background color
#       eo      can erase overstrike with space
#       mir     safe to move while in insert mode
#       msgr    safe to move while in standout mode
#       xenl    newline ignored after 80 columns
#       xon     terminal uses xon/xoff protocol
#
# Numbers
#
#       it      initialize tabs at every #nth position
#       cols    number of columns
#       lines   number of rows
#       colors  maximum number of colors on screen
#       pairs   maximum number of color pairs on screen
#       ncv     bit mask of video attributes that can't be used with colors
#
# Attributes
#
#       blink   turn on blinking
#       bold    turn on bold 
#       rev     turn on reverse video mode
#       smul    start underline mode
#       rmul    exit underline mode
#       smso    start standout mode
#       rmso    exit standout mode
#       op      set default pair to its original value
#       setf    set foreground color
#       setb    set background color
#       sgr     define video attributes 1..9
#       sgr0    turn off all attributes
#
# Parameters for "sgr":
# p1 Standout
# p2 underline
# p3 reverse
# p4 blink
# p5 dim
# p6 bold
# p7 invis
# p8 protect
# p9 altcharset
# sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;
#
# Character set
#
#       acsc    graphics charset pairs
#       enacs   enable alternate characters set (1:1 stolen from vt100)
#       smacs   start alternate character set
#       smpch   enter PC character set
#       rmacs   exit alternate character set
#       rmpch   exit PC character set
#
# Move the Cursor (normal)
#
#       cub     move left (backwards)
#       cuf     move right (forward)
#       cuu     move up
#       cud     move down
#       nel     new line
#       ri      cursor up with scroll
#       cr      carriage return
#       ht      tab to next 8-space hardware tab stop
#       ind     scroll text up
#
# Move the Cursor (advanced)
#
#       home    home cursor
#       cup     move cursor to row # column #
#       hpa     horizontal absolute position
#       vpa     vertical absolute position
#       sc      save cursor position
#       rc      restore cursor position
#       tbc     clear all tab stops
#       hts     set a tab in current column
#
# Clear, Insert and Delete
#
#       clear   clear screen and home cursor
#       ed      clear to end of screen
#       el      clear to end of line
#       el1     clear to beginning of line
#       il1     insert one line
#       dl      delete lines
#       ich     insert characters
#       dch     delete characters
#       ech     erase characters
#       smir    set insert mode
#       rmir    exit insert mode
#
# Miscellaneous
#
#       csr     set scroll region to line #-#
#       u7      user string 7: cursor position report
#       u9      user string 9: answer terminal type
#       rs1     reset string 1
#       rs2     reset string 2
#       bel     audible bel
#       flash   visible bell
#
# Funktion keys
#
#       kbs     backspace key
#       kcub1   cursor left key (backwards)
#       kcuf1   cursor forward key
#       kcuu1   cursor up key
#       kcud1   cursor down key
#       kich1   insert key
#       kdch1   delete key
#       khome   home key
#       kend    end key
#       kpp     previous page key
#       knp     next page key
#       kb2     center of keypad key
#       kcbt    back-tab key
#       kspd    suspend key
#       kf__    function keys (1-12 normal, 13-20 shifted)
#
