#******************************************************************************
# @(#)
# @(#)  File           :      vtansi_rev
# @(#)
# @(#)  Terminal       :      VTxxx terminals (CITOH / DEC)
# @(#)  Setup          :      VT200, VT300 or VT400 - 7 bit;
# @(#)                        Multinational Char. Set
# @(#)  Emulation Mode :      ANSI 8-bit
# @(#)  Character Set  :      ISO Latin-1
# @(#)
# @(#)  Date           :      09-07-97
# @(#)	Driverset      :      97.002
# @(#)  Bshell Version :      6.1C
# @(#)  Driver Version :      6.1.00
# @(#)  Copyright      :      Simac Services b.v. (c)
# @(#)  Customer       :      Baan Development b.v.
# @(#)
# @(#)  Comment        :      Generic terminf-file for VTxxx terminals
# @(#)                        supporting ANSI mode and ISO character set.
# @(#)
# @(#)                        The bold-attribute has to be switched off in 
# @(#)                        reverse-mode
# @(#)
# @(#)                        corrected reverse-mode problems
# @(#)                        corrected cursor visibility (clear)
# @(#)                        corrected cursor key mode (\e[?1l) to normal
# @(#)
#******************************************************************************


#******************************************************************************
#    Include files
#******************************************************************************

include=vtansi.fkeys,

#******************************************************************************
#    Booleans
#******************************************************************************

vt100,
mcf,
mgr,

#******************************************************************************
#    Numbers
#******************************************************************************

cols=132,
lines=24,
cf_pos=0,
gr_pos=0,
tmo=5,
disp_vt100=0,

#******************************************************************************
#    Strings
#******************************************************************************
 
#    Setup
#
#    init     \e[?3l   set 80 cols
#             \e[0m  reset attributes and set dim
#             \e>      set keypad mode to numeric
#             \e[?1l   set cursor key mode to normal
#             \e[?25h  set cursor mode to visible
#    init2    \e(0     load Special Graphic char set in G0
#     (fonts) ^O (SI)  invoke G0 into GL
#             \e L     ANSI level 1 conform. mode: ASCII   -> G0 -> GL,
#                                                  Latin-1 -> G1 -> GR
#             \e N     ANSI level 3 conform. mode: ASCII   -> G0 -> GL
#    reset    \e[0m    reset attributes
#             \e[H     cursor position 0,0
#             \e[2J    reset entire screen
#
init=\e[?3l\e[0m\e>\e[?1l\e[?25h,
init2=\e L,
reset=\e[0m\e[0;0H\e[2J\e L,

set80=\e[?3l\e[0m,
set132=\e[?3h\e[0m,

bell=^G,

csr=%i\e[%p1%d;%p2%dr,

#    Line Draw Chars (Char.set: DEC Special Graphic)
#
gr_on=\e(0^O,
gr_ond=\e(0^O,
gr_off=\e(B^O,
gr_offd=\e(B^O,

cbl=m,
cbld=m,
cbr=j,
cbrd=j,
ctl=l,
ctld=l,
ctr=k,
ctrd=k,
dt=v,
dtd=v,
ut=w,
utd=w,
lt=t,
ltd=t,
rt=u,
rtd=u,
kr=n,
krd=n,
hb=q,
hbd=q,
vb=x,
vbd=x,


#    Code Features
#
cf_n=\e[0m,
cf_d=\e[0;1m,
cf_b=\e[0;5m,
cf_db=\e[0;5m,
cf_r=\e[0;7m,
cf_dr=\e[0;1;7m,
cf_br=\e[0;5;7m,
cf_dbr=\e[0;1;5;7m,
cf_u=\e[0;4m,
cf_du=\e[0;1;4m,
cf_bu=\e[0;4;5m,
cf_dbu=\e[0;1;4;5m,
cf_ru=\e[0;4;7m,
cf_dru=\e[0;1;4;7m,
cf_bru=\e[0;4;5;7m,
cf_dbru=\e[0;1;4;5;7m,
#    Cursor Control & Positioning
#
cu_on=\e[?25h,
cu_off=\e[?25l,
cup=%i\E[%p1%d;%p2%dH,

cuu=\e[%p1%dA,
cuu1=\e[1A,
cud=\e[%p1%dB,
cud1=\e[1B,
cuf=\e[%p1%dC,
cuf1=\e[1C,
cub=\e[%p1%dD,
cub1=\e[1D,

home=\e[0;0H,
clear=\e[0;0H\e[2J,

#    Editing
#
inch=\e[1@,
delch=\e[1P,
inli=\e[1L,
delli=\e[1M,
el=\e[0K,
es=\e[0J,
#ewin=,

#    Printer Control
#
aux_on=\e[5i,
aux_off=\e[4i,

#    Nls
#
nls_in=generic.in,
