home *** CD-ROM | disk | FTP | other *** search
- rem This script enters data for CRT files for products running on color
- rem PC's using BIOS screen control. The terminal type is PCBIOS. Run
- rem CRT as follows:
- rem
- rem crt pcbios 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 "PCBIOS.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 pcbios).
- 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='PCBIOS';
- 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 ('PCBIOS', 'CHAR', 1, 25, 80, 24, 25, '\eC\eL\006',
- '\eE', '\eL\204', '\eL\027', '\eL\140',
- '\eB', '\eA', '\eK\y\x', 0, '\eE\eF', '\eL\002',
- '\eL\011', '\eL\107', '\eL\004', '\eL\006', '\eG', '\eH', NULL,
- NULL, '\eU', '\eT')
- /
-
- rem **********************************************************************
- rem Define the box-graphic characters
- rem **********************************************************************
-
- delete from crtbox where crtname='PCBIOS';
- insert into crtbox values ('PCBIOS', 'Y', '│', '─', '┌', '┐', '└', '┘',
- '├', '┤', '┬', '┴', '┼', '|', '-', '+', '+', '+', '+', '+', '+', '+',
- '+', '+');
-
- rem **********************************************************************
- rem Define the function keys
- rem **********************************************************************
-
- rem WARNING: to change keys for PCBIOS you must edit the V5 CRT.SQL file.
-
- commit