home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR2 / BLRUT45.ZIP / BLRUTCFG.DOC < prev    next >
Text File  |  1991-05-18  |  3KB  |  103 lines

  1. *----------------------
  2. *   blrutcfg.doc
  3. *----------------------
  4. *   as of:
  5. *   05/18/91
  6. *   11:30 am
  7. *-------------------------------
  8. *  The color configuration file
  9. *  for the BLR Utilities
  10. *  is named BLRUTCFG.FIL.
  11. *  If it is present, then its
  12. *  colors will be the colors
  13. *  used by all the utilities.
  14. *  If it is absent, then the
  15. *  utilities will use their
  16. *  preset colors.
  17. *
  18. *  in this case, present means
  19. *  in the same directory
  20. *  as the utilities,
  21. *  and that directory is current.
  22. *-------------------------------
  23. *------------------------------------------
  24.    BLRUTCFG.FIL'S structure is as follows :
  25. *------------------------------------------
  26. *------------------------------------------------------------
  27. border color ( 1 byte hex - 03 = cyan )
  28. cr,lf
  29. box color    ( 1 byte hex - 5f : magenta bkgrnd, white frgrnd )
  30. cr,lf
  31. screen color ( 1 byte hex - 6f : brown bkgrnd, white frgrnd )
  32. cr,lf
  33. text color   ( 10 byte escape string - esc[1;43;33m )       ( see note 6 )
  34.                  ( brown bkgrnd, yelo frgrnd )
  35. cr,lf
  36. *------------------------------------------------------------
  37.  
  38. NOTES :
  39.  
  40. 1. the border colors can be 00 - 07
  41. 2. the box colors can be 0 - 7 ( bkgrnd ), and 0 - 15 ( frgrnd )
  42.    (  the left nibble is the bkgrnd color   )
  43.    (  the right nibble is the frgrnd color  )
  44. 3. the screen colors can be 0 - 7 ( bkgrnd ), and 0 - 15 ( frgrnd )
  45.    (  the left nibble is the bkgrnd color   )
  46.    (  the right nibble is the frgrnd color  )
  47. 4. the text colors can be 40 - 47 ( bkgrnd ), and 30 - 37 ( frgrnd )
  48.    ( 1 = hi intensity which changes the frgrnd to light colors )
  49. 5. the cr,lf ( Carriage Return, Line Feed ) pairs are put in so you can
  50.    use a text editor which has the alt key facility to modify the colors
  51.  
  52. 6. since version 42, these utilities no longer use ansi.sys
  53.    escape sequences for text color generation so this field is not used,
  54.    but it is kept for compatibility with pre-42 versions.
  55.  
  56. *----------------------------------------------------------------------------
  57. *--------------------------------------
  58. *  Color Chart
  59. *  for Border, Bkgrnd, Frgrnd
  60. *--------------------------------------
  61.  
  62.   Black    = 00   Light Black    = 08
  63.   Blue     = 01   Light Blue     = 09
  64.   Green    = 02   Light Green    = 10
  65.   Cyan     = 03   Light Cyan     = 11
  66.   Red      = 04   Light Red      = 12
  67.   Magenta  = 05   Light Magenta  = 13
  68.   Brown    = 06   Light Brown    = 14     ( Yellow )
  69.   White    = 07   Light White    = 15
  70.  
  71. *------------------------------------
  72. *   Ansi Escape Sequence Color Chart
  73. *   for Text Bkgrnd, Frgrnd
  74. *------------------------------------
  75.  
  76. *---------------------------
  77. *   Bkgrnd Color Chart
  78. *---------------------------
  79.  
  80.   Black   = 40
  81.   Red     = 41
  82.   Green   = 42
  83.   Brown   = 43
  84.   Blue    = 44
  85.   Magenta = 45
  86.   Cyan    = 46
  87.   White   = 47
  88.  
  89. *---------------------------
  90. *   Frgrnd Color Chart
  91. *---------------------------
  92.  
  93.   Black   = 30
  94.   Red     = 31
  95.   Green   = 32
  96.   Brown   = 33
  97.   Blue    = 34
  98.   Magenta = 35
  99.   Cyan    = 36
  100.   White   = 37
  101.  
  102. *------------------------------
  103.