home *** CD-ROM | disk | FTP | other *** search
- rem **********************************************************************
- rem NEWBIOS.SQL
- rem for SQL*Forms 2.0.18
- rem **********************************************************************
- rem
- rem This script enters data for CRT files for IAF products on black & white
- rem PC's using BIOS screen control. The terminal type is NEWBIOS. Run
- rem CRT as follows:
- rem
- rem CRT NEWBIOS 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 "NEWBIOS.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 NEWBIOS).
- 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 **********************************************************************
-
- rem Note: The following makes the screen have the attributes: green on
- rem black for a normal boilerplate area, High intensity white on blue
- rem for the message line, black on white for a field, and high intensity
- rem white on red for a field in error.
- set term off
- delete from crt where name='NEWBIOS';
- insert into crt (name, type, base, lines, columns, msgl, modl, clearscreen,
- backspace, forespace, goto_cl, offset, clearline, att1,
- att2, att1_2, attoff, scrup, scrdn, graphon,
- graphoff, att1_3)
- values ('NEWBIOS', 'CHAR', 1, 25, 80, 24, 25, '\eC\eL\002',
- '\eB', '\eA', '\eK\y\x', 0, '\eE\eF', '\eL\160',
- '\eL\013', '\eL\037', '\eL\002', '\eG', '\eH', NULL,
- NULL, '\eL\117')
- /
-
- rem **********************************************************************
- rem Define the box-graphic characters
- rem **********************************************************************
-
- delete from crtbox where crtname='NEWBIOS';
- insert into crtbox values ('NEWBIOS', 'Y', '│', '─', '┌', '┐', '└', '┘',
- '├', '┤', '┬', '┴', '┼', '|', '-', '+', '+', '+', '+', '+', '+', '+',
- '+', '+');
- /
-
- rem **********************************************************************
- rem Define the function keys
- rem **********************************************************************
-
- rem WARNING: to change keys for NEWBIOS you must edit the V5 CRT.SQL file.
-
- commit