home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / FDRN111.ZIP / COL_EXAM.PLE next >
Encoding:
Text File  |  1994-12-25  |  4.1 KB  |  98 lines

  1.         Some kind of example. Rename this file to FDRN.COL to test it ...
  2.         Press PgDN to see how to calculate the color-numbers ... .
  3.  
  4.         Note: you may specify the colors either decimal or hexadezimal. The
  5.         hexadecimal notation requires a dollar-sign, e.g. $2e !
  6.  
  7.         Note: FDRN will start reading with the first line that starts with a
  8.         valid numeric value and will end with the first blank line.
  9.  
  10.  
  11. $74     {0 F1-Window}
  12. 112     {1 press any ... listwindow: systemname/header}
  13.  11     {2 some messages}
  14.  13     {3 F1 in listwindow, helpscreen parameters}
  15.   2     {4 systemname in auto-patchmode before patching}
  16.  10     {5 systemname in auto-patchmode after patching}
  17.  15     {6 Headerline 2 ... some messages}
  18.  12     {7 Headerline 1, final message (found..) }
  19.   4     {8 lines on screen, "not-found nodewindow"}
  20.   5     {9 route-information window} {87}
  21.   4     {10 node-information window, nodenumber lookup, history lookup}
  22. $2f     {11 node-information window, name lookup }
  23.  $f     {12 backgroundcolor for TEXT in the lookup windows}
  24. $71     {13 entry-number in history-list window}
  25. $74     {14 date and time in history-list window}
  26. $75     {15 sent-/rcvd bytes & additional line in history-list window}
  27. $5E     {16 Cursorbar (histwin)}
  28. $5f     {17 Cursorbar tagged (histwin)}
  29. $7E     {18 Tagged entry marker (histwin)}
  30.  48     {19 Inputfield-Textattribute}
  31. 110     {20 input prompts}
  32.  59     {21 Logfile-window border and background}
  33.  48     {22 Logfile-window }
  34.  62     {23 Logfile-window RCVD}
  35.  63     {24 Logfile-window SENT}
  36.  52     {25 Logfile-window FREQ:}
  37. 206     {26 Logfile-window RCVD INCOMPLETE | TRANSFER ABORTED | UNABLE TO SEND}
  38. 190     {27 Logfile-window RESUMING}
  39.  58     {28 Logfile-window SYSOP}
  40. 112     {29 "Hot"-entry, younger than 20 minutes}
  41.  
  42. ---------------------------------==( cut )==---------------------------------
  43.         This are the default colors for FDRN:
  44.  
  45. 112     {0 F1-Window}
  46.  31     {1 press any ... listwindow: systemname/header}
  47.  12     {2 some messages}
  48.  11     {3 F1 in listwindow, helpscreen parameters}
  49.   2     {4 systemname in auto-patchmode before patching}
  50.  10     {5 systemname in auto-patchmode after patching}
  51.  15     {6 Headerline 2 ... some messages}
  52.  14     {7 Headerline 1, final message (found..) }
  53.   4     {8 lines on screen, "not-found nodewindow"}
  54.  79     {9 route-information window}
  55.  31     {10 node-information window, nodenumber lookup, history lookup}
  56.  94     {11 node-information window, name lookup, tag-window}
  57.   7     {12 backgroundcolor for TEXT in the lookup windows}
  58.  27     {13 entry-number in history-list window}
  59.  23     {14 date and time in history-list window}
  60.  19     {15 sent-/rcvd bytes & additional line in history-list window}
  61. 112     {16 Cursorbar (histwin)}
  62.  62     {17 Cursorbar tagged (histwin)}
  63. 156     {18 Tagged entry marker (histwin)}
  64.  32     {19 Inputfield-Textattribute}
  65.  95     {20 input prompts}
  66.  10     {21 Logfile-window border and background}
  67.   3     {22 Logfile-window }
  68.  14     {23 Logfile-window RCVD}
  69.  15     {24 Logfile-window SENT}
  70.  13     {25 Logfile-window FREQ:}
  71. 203     {26 Logfile-window RCVD INCOMPLETE}
  72. 142     {27 Logfile-window RESUMING}
  73.   6     {28 Logfile-window SYSOP}
  74.  74     {29 "Hot"-entry, younger than 20 minutes}
  75.  
  76. ---------------------------------==( cut )==---------------------------------
  77. How to calculate a color-code:
  78. ------------------------------
  79.  
  80. First the plain color-codes:
  81.  
  82.  Valid for foreground *and* background:
  83.  
  84.         Black = 0       Blue    = 1     Green = 2       Cyan      = 3
  85.         Red   = 4       Magenta = 5     Brown = 6       LightGray = 7
  86.  
  87.  Valid for foreground only:
  88.  
  89.         DarkGray = 8    LightBlue    = 9    LightGreen = 10   LightCyan = 11
  90.         LightRed = 12   LightMagenta = 13   Yellow = 14       White     = 15
  91.  
  92. Step 1: take your background-color and multiply it by 16.
  93. Step 2: add the foreground-color
  94. Step 3: if you want the color to blink <shubber> add 128
  95.  
  96. Example: you want a color RED on LIGHTGRAY        => (7 * 16) + 4 = 116
  97.          you want a color LIGHTMAGENTA on MAGENTA => (5 * 16) +13 =  93
  98.