home *** CD-ROM | disk | FTP | other *** search
- rem This script enters CRT data for SQL*Forms/IAD running on color PC's using
- rem BIOS screen control. The terminal type is IADBIOS. Run CRT as follows:
- rem
- rem CRT IADBIOS USERNAME/PASSWORD
- rem
- rem Afterwards COPY IADBIOS.CRT SQLFORMS.CRT as the IAD default. Otherwise,
- rem the terminal definition file will be "IADBIOS.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 IADBIOS).
- 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='IADBIOS';
- 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 ('IADBIOS', 'CHAR', 1, 25, 80, 24, 25, '\eC\eL\002',
- '\eE', '\eL\204', '\eL\027', '\eL\027',
- '\eB', '\eA', '\eK\y\x', 0, '\eE\eF', '\eL\027',
- '\eL\011', '\eL\107', '\eL\004', '\eL\002', '\eG', '\eH', NULL,
- NULL, '\eU', '\eT')
- /
-
- rem **********************************************************************
- rem Define the box-graphic characters
- rem **********************************************************************
-
- delete from crtbox where crtname='IADBIOS';
- insert into crtbox values ('IADBIOS', 'Y', '│', '─', '┌', '┐', '└', '┘',
- '├', '┤', '┬', '┴', '┼', '|', '-', '+', '+', '+', '+', '+', '+', '+',
- '+', '+');
-
- rem **********************************************************************
- rem Define the function keys
- rem **********************************************************************
-
- DELETE FROM esc WHERE NAME='IADBIOS';
- insert into esc select prod_code, 'IADBIOS', func, escseq, comments
- from esc
- where name='PCBIOS';
- commit