home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / TEXT / UTILITY / DRC.ZIP / README.EXE (.txt) < prev    next >
Encoding:
David's Readme Compiler Executable  |  1991-11-28  |  37.1 KB  |  343 lines

  1. >V    r"
  2. H9D0}
  3.  G H I O P Q v 
  4. YYG;>
  5. LLVW3
  6. 0RY_^
  7. <Ar    ,@
  8. _^_^]
  9. YYF;v
  10. ;Dz~    
  11. '2(2(((
  12. (2(?(!(U
  13.  H I K M P Q0.
  14. DF_^]
  15. YY9|,uK
  16. ;D@ui
  17. ;DDu2
  18. H9D0~
  19. 9D<|    u
  20. Y;D2v
  21. H9D0u
  22. YY_^]
  23. YY_^]
  24. Y;D2wK
  25. t0Nt-
  26. !r.RP
  27. !r$RP
  28. u/SQR
  29. [C[J[O[
  30. Zx[V[Z[^[
  31. \D\d\
  32. [[XP3
  33. Turbo C++ - Copyright 1990 Borland Intl.
  34. Null pointer assignment
  35. Divide error
  36. Abnormal program termination
  37. %-50.50s
  38.  Print this section 
  39. Ready printer and press a key (ESC to cancel)
  40. ---- Printing ----
  41.  PgUp/Dn: 
  42. =print
  43.  Line %d of %d 
  44. Readme error: no attached data.
  45.  Topics 
  46. MMMODE
  47.  ; < = > ? @ A B C D T U V W X Y Z [ \ ]
  48.  G O w u R S s t
  49. EAEIIOOUUYIOU
  50. Insert paper in printer then press
  51. a key (<ESC> cancels print)
  52.  Printer error 
  53. The printer on LPT%d: is
  54. confused
  55. out of paper
  56. off line
  57. Correct then press a key
  58. or hit <ESC> to cancel print
  59.  Insert Paper 
  60. <ESC>
  61.  key pressed:
  62. Please confirm cancel/quit
  63. Accept this data?  
  64.  Insufficient disk space 
  65. There is not enough space on the target
  66. disk to receive the file(s): please replace
  67. the disk with another formatted disk, then
  68. press any key to retry, or <ESC> to cancel 
  69.          !!!!!                  
  70. @@@@@@@@@@@@@@@
  71. @@@@@@@
  72. @@@@@@
  73. @@@@ 
  74. (E(E(E
  75. (null)
  76. Data file generated by RCOM.
  77.  David's Readme Compiler - User's Guide
  78. About the Readme Compiler
  79. Installing the Readme Compiler
  80. Creating a Readme source file
  81. Compiling the source file
  82. Using the compiled readme
  83. What the Readme compiler is...
  84. And what it can do ...
  85. Then, some applications ...
  86. Licensing (good news!)...
  87. And contacting the author.
  88. The sample file
  89. The general format
  90. Highlighting text
  91. Colour changes in windows
  92. Colour changes in text
  93. Limitations and notes
  94. To install David's Readme Compiler, place the files
  95. README.BIN and RCOM.EXE in a directory somewhere.
  96. Actual location doesn't matter, so long as both are
  97. in the same place.
  98. The programs can be on the path if you wish, but
  99. they don't have to be.
  100. To create a standalone guide, enter the command
  101.          
  102. RCOM <filename>
  103. where <filename> is the name of the source file you
  104. have created. RCOM will make a temporary file, and
  105. will then bind it to README.BIN as a .EXE file with
  106. the same name as the input file. That's all there 
  107. is to it!
  108. Once you have compiled and bound your readme, you can use
  109. it at once simply by typing its name. 
  110. By default, DRC clears and paints the screen, but you can
  111. force it to come up over the top of the current screen by
  112. by invoking it with a 
  113.  switch: when it terminates, the
  114. screen will be left as it was on entry. This is useful if
  115. you want to use DRC to generate a help system which is
  116. spawned by a parent program.
  117. It's a very rare PC software package indeed these days which
  118. doesn't have a profusion of readme files associated with it.
  119. Readme files can get lost, and it's not immediately intuitive
  120. what you do with them. What's more, it's almost impossible to
  121. create a Readme file which presents the necessary information
  122. in an accessible way.
  123. David's Readme Compiler
  124.  attempts to provide a better way of
  125. creating readme files. It's a set of programs which allow
  126. you to create 
  127. executable user guides
  128.  - one program contains
  129. it all, no need for extra files. You create a simple text
  130. file which tells DRC how to present your guide, run it
  131. through the compiler (RCOM.EXE), and viol
  132. ! All done!
  133. DRC allows you to "nest" text, effectively creating a
  134. hierarchical menu structure. You can do this to an
  135. arbitrarily deep level.
  136. DRC supports colour, and allows printing and extracting 
  137. of text. You can highlight words in a message.
  138. DRC has a search command which can look through a file
  139. in a free-text form for keywords.
  140. You can use DRC for more than just readme files: here are
  141. some ideas I've come up with.
  142.  On-line manuals for software.
  143.  Help systems, maybe for your LAN.
  144.  Presentations
  145.  Reference systems
  146.    ... and so on. Pretty much anything which involves
  147.    organizing text for reference.
  148. The good news about DRC is that it is 
  149. totally free
  150. . You
  151. may use it in any way you wish, without restriction,
  152. obligation, liability or responsibility. Commercial
  153. organizations may distribute all, or any part of David's
  154. Readme Compiler with products if they wish.
  155.  restriction on David's Readme Compiler, is that
  156. may not sell it directly
  157. , although it's OK to include
  158. it as part of another system.
  159. If you want to include a small credit in any readme you
  160. create using DRC, I'd always be grateful, but I don't
  161. even require this.
  162. I hope you enjoy using DRC!
  163. DRC is written by David Harris, P.O. Box 5451, Dunedin,
  164. New Zealand. If you have problems or questions, I can
  165. be reached by e-mail as 
  166. david@otago.ac.nz
  167.  (or from
  168. CompuServe, 
  169. >internet:david@otago.ac.nz
  170. Cheers!
  171. -- David --
  172. 27 Nov '91.
  173. The source file used to create this readme file
  174. is supplied with the system as README.SRC.
  175. You can refer to it to get a general feel for
  176. how the source file needs to be prepared.
  177. The source file for DRC is a single relatively simple
  178. text file, which contains special markers to indicate
  179. topics and section headings. Marker lines are always
  180. introduced by two percentage signs (%%) at the start
  181. of a line. Some marker lines require a character in
  182. the third position - these are the following:
  183.     Comment: text to end-of-line is ignored.
  184.     Title: the title on the main screen. An
  185.           optional integer can be included which sets
  186.           the video attribute of the title bar. For
  187.           a list of values, see 
  188. Setting Colour in
  189.           
  190. Windows
  191.  later in this menu.
  192. The other type of marker line is a 
  193. topic heading
  194. : this
  195. consists of 2 mandatory integers, 2 optional integers
  196. and a title. 
  197.  The 
  198. first
  199.  integer is a type field, which is simply
  200.    a numeric tag for the entry. A file can have several
  201.    entries with the same type number, which will make 
  202.    up a menu. Type 0 entries are always the top-level 
  203.    entries, and a file must have at least one of these.
  204.  The 
  205. second
  206.  integer is either 0, in which case the
  207.    entry has text which should be displayed when the
  208.    item is selected, or a positive value. If it is
  209.    the latter then it indicates that the entry is an
  210.    index for another type of entry: when the item is
  211.    chosen, DRC scans the file for all other entries
  212.    of the type specified and creates a sub-menu from
  213.    them, which it presents to the user.
  214.  The 
  215. optional
  216.  integers specify the video attributes
  217.    for text in a the window, and the window frame
  218.    respectively. A table of values is provided in the 
  219.    menu (see 
  220. Colour changes in Windows
  221. ). You can omit
  222.    one or both of these, in which case DRC will assume 
  223.    default values.
  224.  The 
  225. title
  226.  is displayed in the text window, and as
  227.    the choice in the menu.
  228. Example:
  229.  the line used to create the entry 
  230. The Sample
  231.  in this menu:
  232. %% 300, 0, 94, 90, The sample file
  233. ^   ^   ^  ^   ^   ^
  234.   The title
  235.   Frame colour (Lt Green/Magenta)
  236.   Text colour (Yellow/Magenta)
  237.   Entry is not an index field
  238.   The type for this entry
  239.   The marker line prefix  
  240. DRC automatically sizes the window for text according to
  241. the maximum line width, and the number of lines. If there
  242. are more lines than will fit in the Window, the user can
  243. scroll using the arrow and page keys.
  244. You can highlight text in a topic by enclosing it in 
  245. characters
  246.  (the IBM smiley face). You can reverse text
  247. by enclosing it in 
  248. ^B characters
  249. The colour fields in entry headers are numeric values
  250. which represent IBM screen attributes, according to 
  251. the following table:
  252.       Colour          
  253.    Text   
  254.  Background
  255.      
  256.       Blue            
  257.     1     
  258.   add 16
  259.       Green           
  260.     2     
  261.   add 32
  262.       Cyan            
  263.     3     
  264.   add 48
  265.       Red             
  266.     4     
  267.   add 64
  268.       Magenta         
  269.     5     
  270.   add 80
  271.       Brown           
  272.     6     
  273.   add 96
  274.       Light grey      
  275.     7     
  276.   add 112
  277.       Dark grey       
  278.     8     
  279.   --na--
  280.       Light blue      
  281.     9     
  282.   --na--
  283.       Light green     
  284.     10    
  285.   --na--
  286.       Light cyan      
  287.     11    
  288.   --na--
  289.       Light red       
  290.     12    
  291.   --na--
  292.       Light magenta   
  293.     13    
  294.   --na--
  295.       Yellow          
  296.     14    
  297.   --na--
  298.       White           
  299.     15    
  300.   --na--
  301.      
  302.       Example: 
  303.          
  304. Yellow text on Magenta background
  305.          = 
  306. 14 + 80 
  307.          = 
  308. Colour changes in text are a little more tricky, and
  309. may not work satisfactorily on monochrome systems.
  310. To imbed a colour change, enter a ^C character in the
  311. text, followed immediately by one of the following
  312. characters:
  313.    Blue text             
  314.    Green text
  315.    Cyan text             
  316.    Red text
  317.    Magenta text          
  318.    Brown text
  319.    Light grey text       
  320.    Dark grey text
  321.    Light Blue text       
  322.    Light Green text
  323.    Light Cyan text       
  324.    Light Red text
  325.    Light Magenta text    
  326.    Yellow text
  327.    Bright white text
  328.    Example: 
  329. CCyan, 
  330. DRed, 
  331. NYellow, 
  332. JLight-Green
  333.  has a special meaning - it means "change to
  334.    whatever the original video colour was".
  335. No single entry may be larger than about 16KB and
  336. the file cannot at this stage have more than 512
  337. total entries.
  338. The source file MUST end with a single '%%' pair
  339. on a line of its own.
  340. If running under Novell NetWare, a guide compiled
  341. with DRC must not be flagged Execute-only, although
  342. it can be set to read only.
  343.