#******************************************************************************
# @(#)
# @(#)  File           :      ibm3152-rev
# @(#)
# @(#)  Terminal       :      IBM 3152 ASCII Display Station in REVERSE mode
# @(#)  Setup          :      GENERAL menu: MULTINATIONAL Char.Set
# @(#)  Emulation Mode :      IBM 3151
# @(#)  Character Set  :      ISO 8859
# @(#)
# @(#)  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.
# @(#)
# @(#)  Comments       :      changed normal/bold attributes
# @(#)                        added INS and DEL keys
# @(#)                        added shifted (+ controlled) fkeys
# @(#)                        implemented reverse video
# @(#)                        removed reference to 'ibm3151.out' nls
# @(#)
#******************************************************************************

#******************************************************************************
#    Include files
#******************************************************************************
include=ibm3151.fk,

#******************************************************************************
#    Booleans
#******************************************************************************
mcf,
mgr,

#******************************************************************************
#    Numbers
#******************************************************************************
cols=132,
lines=24,
cf_pos=0,
gr_pos=0,
el=\EI,
es=\EJ,

#******************************************************************************
#    Character Sets
#******************************************************************************
set0=\e<@,
set1=\e>@,

#******************************************************************************
#    Strings
#******************************************************************************

#    Setup
#
init=\E 9@\EL\E4@,
reset=\E 9@\EL\E4@,

set80=\E r!! 8"P\E4@,
set132=\E r!! 8$D\E4@,

bell=^G,

#    Line Draw Chars (Char.set: ...)
#
gr_on=\E<A,
gr_off=\E<@,
gr_ond=\E<A,
gr_offd=\E<@,

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

#    Code Features
#
cf_n=\E4@,
cf_d=\E4H,
cf_u=\E4B,
cf_b=\E4D,
cf_r=\E4A,
cf_db=\E4D,
cf_dr=\E4I,
cf_du=\E4J,
cf_br=\E4E,
cf_bu=\E4F,
cf_ru=\E4C,
cf_dbr=\E4M,
cf_dbu=\E4N,
cf_dru=\E4K,
cf_bru=\E4G,
cf_dbru=\E4O,

#    Cursor Control & Positioning
#
cup=\E%?%p2%{95}%<%tY%p1%{32}%+%c%p2%{32}%+%c%ey %{32}%p1%+%c%p2%{32}%/%{32}%+%c%p2%{32}%m%{64}%+%c%;,
cud1=\EB,
cub1=\ED,
cuf1=\EC,
cuu1=\EA,

home=\EH,
clear=\EL,

#    Editing
#
inch=\EP\0200,
delch=\EQ,
inli=\EN,
delli=\EO,

#    Printer Control
#
aux_on=\E :,
aux_off=\E ;,

#    Nls
#
nls_in=generic.in,
