home *** CD-ROM | disk | FTP | other *** search
- rem This script enters data for CRT files for products on black & white
- rem PC's using BIOS screen control. The terminal type is BWBIOS. Run
- rem CRT as follows:
- rem
- rem CRT BWBIOS 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 "BWBIOS.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 BWBIOS).
- 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='BWBIOS';
- insert into crt (name, type, base, lines, columns, msgl, modl, clearscreen,
- cleareol, att3, att2_3, att1_2_3,
- backspace, forespace, goto_cl, offset, clearline, att1,
- att2, att1_2, att1_3, attoff, scrup, scrdn, graphon,
- graphoff, cursorup, cursordown)
- values ('BWBIOS', 'CHAR', 1, 25, 80, 24, 25, '\eC\eL\007',
- '\eE', '\eL\207', '\eL\160', '\eL\160',
- '\eB', '\eA', '\eK\y\x', 0, '\eE\eF', '\eL\160',
- '\eL\017', '\eL\160', '\eL\017', '\eL\007', '\eG', '\eH', NULL,
- NULL, '\eU', '\eT')
- /
-
- rem **********************************************************************
- rem Define the box-graphic characters
- rem **********************************************************************
-
- delete from crtbox where crtname='BWBIOS';
- insert into crtbox values ('BWBIOS', 'Y', '│', '─', '┌', '┐', '└', '┘',
- '├', '┤', '┬', '┴', '┼', '|', '-', '+', '+', '+', '+', '+', '+', '+',
- '+', '+');
-
- rem **********************************************************************
- rem Define the function keys
- rem **********************************************************************
-
- DELETE FROM esc WHERE NAME='BWBIOS';
- insert into esc select prod_code, 'BWBIOS', func, escseq, comments
- from esc
- where name='PCBIOS';
-
- commit