home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0000 - 0009 / ibm0000-0009 / ibm0003.tar / ibm0003 / ORACLE10.ZIP / NEWBIOS.SQL < prev    next >
Encoding:
Text File  |  1987-08-29  |  2.5 KB  |  61 lines

  1. rem **********************************************************************
  2. rem NEWBIOS.SQL
  3. rem for SQL*Forms 2.0.18
  4. rem **********************************************************************
  5. rem
  6. rem This script enters data for CRT files for IAF products on black & white
  7. rem PC's using BIOS screen control.  The terminal type is NEWBIOS.  Run
  8. rem CRT as follows:
  9. rem
  10. rem     CRT NEWBIOS USERNAME/PASSWORD -D
  11. rem
  12. rem Include the "-d" if you want to make this the default CRT definition,
  13. rem in which case the CRT file will be called "DEFAULT.CRT".  Otherwise,
  14. rem the terminal definition file will be "NEWBIOS.CRT", and you must indicate
  15. rem to each utility that you wish to use a non-default CRT file (usually,
  16. rem with a "-c" switch:  -c NEWBIOS).
  17. rem
  18. rem Note:  the necessary tables must already be part of the database
  19. rem on which this script is to be run. CRT.SQL is a file that creates
  20. rem these tables.
  21.  
  22. set echo OFF
  23.  
  24. rem **********************************************************************
  25. rem Enter the master record for the CRT definition
  26. rem **********************************************************************
  27.  
  28. rem Note:  The following makes the screen have the attributes: green on
  29. rem black for a normal boilerplate area, High intensity white on blue
  30. rem for the message line, black on white for a field, and high intensity
  31. rem white on red for a field in error.
  32. set term off
  33. delete from crt where name='NEWBIOS';
  34. insert into crt (name, type, base, lines, columns, msgl, modl, clearscreen,
  35.     backspace, forespace, goto_cl, offset, clearline, att1,
  36.     att2, att1_2, attoff, scrup, scrdn, graphon,
  37.     graphoff, att1_3)
  38.  values ('NEWBIOS', 'CHAR', 1, 25, 80, 24, 25, '\eC\eL\002',
  39.     '\eB', '\eA', '\eK\y\x', 0, '\eE\eF', '\eL\160',
  40.     '\eL\013', '\eL\037', '\eL\002', '\eG', '\eH', NULL,
  41.     NULL, '\eL\117')
  42. /
  43.  
  44. rem **********************************************************************
  45. rem Define the box-graphic characters
  46. rem **********************************************************************
  47.  
  48. delete from crtbox where crtname='NEWBIOS';
  49. insert into crtbox values ('NEWBIOS', 'Y', '│', '─', '┌', '┐', '└', '┘',
  50.     '├', '┤', '┬', '┴', '┼', '|', '-', '+', '+', '+', '+', '+', '+', '+',
  51.     '+', '+');
  52. /
  53.  
  54. rem **********************************************************************
  55. rem Define the function keys
  56. rem **********************************************************************
  57.  
  58. rem WARNING: to change keys for NEWBIOS you must edit the V5 CRT.SQL file.
  59.  
  60. commit
  61.