home *** CD-ROM | disk | FTP | other *** search
- rem This script enters data for CRT files for IAF products on black & white
- rem PC's using ANSI.SYS. The terminal type is MONOANSI. Run CRT as follows:
- rem
- rem CRT MONOANSI USERNAME/PASSWORD -D
- rem
- rem Include the "-d" if you want to make this the default CRT definition,
- rem in which case the CRT file will be called "DEFAULT.CRT". Otherwise,
- rem the terminal definition file will be "MONOANSI.CRT", and you must indicate
- rem to each utility that you wish to use a non-default CRT file (usually,
- rem with a "-c" switch: -C MONOANSI).
- rem
- rem Note: the necessary tables must already be part of the database
- rem on which this script is to be run. CRT.SQL is a file that creates
- rem these tables.
-
- set echo off
-
- rem **********************************************************************
- rem Enter the master record for the CRT definition
- rem **********************************************************************
-
- delete from crt where name='MONOANSI';
- insert into crt (name, type, base, lines, columns, msgl, modl, clearscreen,
- cleareol, att3, att2_3, att1_2_3,
- backspace, forespace, goto_cl, clearline, tset, att1,
- att2, att1_2, att1_3, attoff, scrup, scrdn, graphon,
- graphoff, cursorup, cursordown)
- values ('MONOANSI', 'CHAR', 1, 25, 80, 24, 25, '\e[0;32m\e[2J',
- '\e[K', '\e[5;31m', '\e[0;7m', '\e[0;7m',
- '\e[D', '\e[C', '\e[\y;\xH', '\e[2K', NULL, '\e[0;34;1m',
- '\e[0;1m', '\e[0;7m', '\e[0;31m', '\e[0;32m', '\eD', '\eM', NULL,
- NULL, '\e[A', '\e[B');
-
- rem **********************************************************************
- rem Define the box-graphic characters
- rem **********************************************************************
-
- delete from crtbox where crtname='MONOANSI';
- insert into crtbox values ('MONOANSI', 'Y', 'x', 'q', 'a', 'k', 'b', 'j',
- 't', 'c', 'w', 'v', 'd', '|', '-', '+', '+', '+', '+', '+', '+', '+',
- '+', '+')
- /
-
- rem **********************************************************************
- rem Define the function keys
- rem **********************************************************************
-
- DELETE FROM esc WHERE NAME='MONOANSI';
- insert into esc select prod_code, 'MONOANSI', func, escseq, comments
- from esc
- where name='PCBIOS';
-
- commit