home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / ZCPR2 / HELP2.HLP < prev    next >
Text File  |  2000-06-30  |  24KB  |  549 lines

  1. Welcome to the HELP Command
  2. How to Use the HELP Command
  3. Moving Around within the HELP Command
  4. HELP Command Prompts
  5. Printing HELP Files
  6. HELP Error Messages
  7. How to Write HELP Files
  8. An Explanation of the Tree Structure of the HELP Command
  9. Sample HELP Files Illustrating Use of Tree Structure
  10. :HELP: Welcome to the HELP Command
  11.  
  12.      Welcomσ  t∩ thσ HEL╨ Commandí   Thσ HEL╨ CommanΣ i≤ designeΣ ì
  13. t∩ assis⌠ you¼á  thσ  CP/═  user¼  iε  thσ usσ oµ CP/═ iε genera∞  ì
  14. anΣ  specifiπ  CP/═ command≤  iε  particular«á   I⌠  i≤  designeΣ  ì
  15. a≤  aε  interactive¼  on-linσ assistancσ system.
  16.  
  17.      HEL╨á pull≤á iεá file≤ nameΣ <FILENAME>.HL╨á froφá disδá anΣ ì
  18. display≤  thesσ t∩ thσ use≥ iε ß pageΣ mode«á  Thesσ file≤ arσ oµ ì
  19. tw∩ basiπ type≤ -- indexeΣ anΣ non-indexed.
  20.  
  21.  
  22.      IndexeΣá file≤á arσá thosσ HEL╨ file≤ whicΦá star⌠á witΦá aε ì
  23. index«á  Thi≤á i≤ aε  examplσ  oµ  aε indexeΣ file«á   Wheεá HEL╨ ì
  24. load≤á  aε  indexeΣ  file¼á  i⌠ display≤  thi≤ inde° t∩ thσá use≥ ì
  25. anΣá allow≤ hiφ t∩ selec⌠ entrie≤ froφ  it«á Thσ  use≥ ma∙ selec⌠ ì
  26. a≤ man∙ entrie≤ a≤ hσ desire≤ iε an∙ orde≥ hσ  desire≤ b∙  simpl∙ ì
  27. typinτ thσ lette≥ oµ hi≤ selection«á   Oncσ thσ use≥ ha≤ madσ hi≤ ì
  28. selection¼á HEL╨á wil∞ looδ u≡ thσ bod∙ oµ tex⌠ hσá selecteΣá anΣ ì
  29. displa∙ i⌠ t∩ hiφ  iε ß pageΣ mode«á   Wheε thσ use≥ ha≤ finisheΣ ì
  30. readinτá  hi≤á  selection¼á HEL╨  theε return≤ hiφ t∩á thσá inde° ì
  31. menu«   Typinτ ß Control-├  wil∞ returε thσ use≥ t∩ CP/M.
  32.  
  33.      Non-indexeΣ  file≤  arσ  thosσ HEL╨ file≤ whicΦ d∩ no⌠ star⌠  ì
  34. witΦ  aε index«á   Iε sucΦ cases¼á  HEL╨ wil∞ immediatel∙ displa∙ ì
  35. thσá content≤á oµ  thσ filσ t∩ thσ use≥ and¼á  wheε thσ use≥á ha≤ ì
  36. finisheΣ lookinτ a⌠ it¼  HEL╨ wil∞ returε t∩ CP/M.
  37.  
  38.  
  39.      HEL╨ i≤ menu-driven¼á anΣ al∞ thσ command≤ availablσ t∩á thσ ì
  40. use≥ a⌠ an∙ giveε timσ arσ displayeΣ t∩ him«  
  41.  
  42.      Thσá versioε oµ HEL╨ describeΣ iε thi≤ HL╨ filσ i≤á designeΣ ì
  43. t∩á worδ witΦ thσ ZCPR▓ systeφ anΣ takσ advantagσ oµ somσ oµá it≤ ì
  44. special features.
  45.  
  46.  
  47.                                              Richard Conn
  48. :HELP: How to Use the HELP Command
  49.  
  50.      The HELP Command is executed in one of three ways:
  51.           (1) by just typing 'HELP'
  52.           (2) by typing 'HELP FILENAME', where FILENAME
  53.               is the name of a disk file named FILENAME.HLP
  54.           (3) by typing 'HELP FILENAME.TYP', where
  55.               FILENAME.TYP is the name of a file created in
  56.               the format of a help file
  57.  
  58.      Iµá thσ use≥ type≤ jus⌠ 'HELP'¼á  hσ wil∞ receivσ ß lis⌠á oµ ì
  59. thσ availablσ HEL╨ File≤ anΣ m∙ elec⌠ t∩ reaΣ thσ basiπá HELP.HL╨ ì
  60. file«  Fo≥ al∞ othe≥ form≤ oµ thσ HEL╨ command¼ thσ use≥ wil∞ seσ ì
  61. thσá specifieΣ hel≡ filσ information«á  Generall∙á speaking¼á thσ ì
  62. namσá  oµá thσá hel≡ filσ shoulΣ bσ indicativσ oµá it≤á  subject¼  ì
  63. likσ  CPM.HL╨ shoulΣ contaiε hel≡ informatioε oε CP/M.
  64.  
  65.  
  66.                  The HELP File Search Hierarchy
  67.  
  68.      Wheneve≥  HEL╨ look≤ fo≥ ß specifieΣ HEL╨ Filσ (eithe≥á froφ ì
  69. thσá  HEL╨á CommanΣá  o≥á  froφ  aεá  Informatioεá Sectioεá whicΦ  ì
  70. specifie≤  ß  Nodσ  [seσ later])¼  HEL╨ wil∞ perforφ ß searcΦ fo≥ ì
  71. thσ indicateΣ file«   Thi≤ searcΦ goe≤ a≤ follows:
  72.  
  73.           1«á  Unde≥á ZCPR2¼á HEL╨á caε bσ se⌠ u≡ t∩á follo≈á thσ ì
  74. externa∞ path«á  A≤ such¼á HEL╨ wil∞ searcΦ thσ curren⌠ director∙ ì
  75. (disδá anΣá user⌐á first«á  Iµ i⌠ i≤ no⌠ se⌠á u≡á t∩á searcΦá thσ ì
  76. external path, it will search along its internal path.
  77.  
  78.           2«á  Iµá thσá HL╨ filσ i≤ no⌠ founΣ unde≥á thσá curren⌠ ì
  79. directory¼ HEL╨ wil∞ searcΦ alonτ thσ ZCPR▓ patΦ fo≥ it.
  80.  
  81.  
  82. (Continued Next Frame)
  83.  
  84. HELP File Search Hierarchy, Continued
  85.  
  86.           3«á  Iµ thσ HL╨ filσ i≤ no⌠ founΣ alonτ thσ ZCPR▓ path¼ ì
  87. theε HEL╨ wil∞ searcΦ alonτ it≤ interna∞ patΦ fo≥ thσ file«  Thi≤ ì
  88. i≤ ß majo≥ differencσ betweeε HEL╨ anΣ othe≥ ZCPR▓ utilities«  T∩ ì
  89. configurσá HEL╨á witΦ GENINS¼á yo⌡ shoulΣ firs⌠ tel∞ GENIN╙á tha⌠ ì
  90. HEL╨ doe≤ no⌠ usσ externa∞ paths¼á definσ thσ interna∞ path¼á anΣ ì
  91. theε tel∞ GENIN╙ tha⌠ HEL╨ use≤ externa∞ path≤ anΣ wherσ thσ patΦ ì
  92. begins.
  93.  
  94.           4«á  Iµá thσ HL╨ filσ i≤ no⌠ found¼á HEL╨á wil∞á eithe≥ ì
  95. displa∙á thσ name≤ oµ thσ HL╨ file≤ alonτ thσ patΦ anΣ prin⌠á it≤ ì
  96. interna∞ documentatioε o≥ finΣ thσ filσ HELP.HL╨ anΣ prin⌠ that.
  97.  
  98.  
  99. :HELP: Moving Around within the HELP Command
  100.  
  101.      Oncσ thσ use≥ i≤ runninτ HELP¼ hσ i≤ giveε ß se⌠ oµ command≤ ì
  102. b∙ whicΦ hσ caε displa∙ thσ particula≥ item≤ oµ informatioε hσ i≤ ì
  103. interesteΣ in.
  104.  
  105.      Afte≥á  issuinτ thσ HEL╨ command¼á  thσ use≥ wil∞ comσ u≡ iε ì
  106. onσ oµ tw∩ mode≤ (dependinτ oε thσ typσ oµ HEL╨ filσ referenced)«  ì
  107. Iε IndexeΣ Mode¼á ß Men⌡  oµ  topic≤ i≤ displayeΣ t∩ thσ use≥ anΣ ì
  108. hσá caεá  selec⌠  thσ  desireΣ topiπ  b∙  typinτá thσá lette≥á iε ì
  109. fron⌠á oµ thσ topiπ title╗á  iε  Non-IndexeΣ Mode¼á  n∩  men⌡  i≤  ì
  110. displayeΣ  anΣ  thσ entirσ  filσ  i≤  vieweΣ  a≤  onσ Informatioε ì
  111. Section.
  112.  
  113.      Aεá Informatioε Sectioε i≤ ß collectioε oµ screeεá  display≤ ì
  114. (onσá  screeε  ful∞  oµ text⌐ calleΣá  Frames«á   Typically¼á  aε  ì
  115. Informatioε Sectioε shoulΣ contaiε ß logica∞ groupinτ oµá relateΣ ì
  116. datßá oε ß  particula≥ topic«á  Iε IndexeΣ Mode¼á eacΦ Men⌡ topiπ ì
  117. refer≤ t∩ aε Informatioε Section« B∙ selectinτ ß topic¼  thσ use≥ ì
  118. i≤ placeΣ int∩ aε Informatioε Section«á  Iε Non-IndexeΣ Mode¼ thσ ì
  119. entirσ HEL╨ filσ i≤ onσ Informatioε Section.
  120.                       Moving From the Menu
  121.  
  122.      A⌠á  thσá Men⌡á oµ ß HEL╨ file¼á  thσá use≥á ha≤á tw∩á basiπ ì
  123. options«   Thesσ option≤  arσ t∩ selec⌠ ß Men⌡ topiπ t∩ revie≈ o≥ ì
  124. t∩á exi⌠ t∩  CP/M«á   Iµ  ß Men⌡ topiπ i≤ selected¼á thσ use≥á i≤ ì
  125. placeΣ int∩ tha⌠ Informatioε Section.
  126.  
  127.      ┴á  thirΣá  optioε a⌠ thσ Men⌡ oµ ß HEL╨ filσá i≤á sometime≤ ì
  128. available«á Thi≤á  optioεá  i≤ t∩ movσ u≡ t∩ thσ  previou≤á  HEL╨  ì
  129. Level«á   Somσá Informatioεá  Section≤ arσ entirσ HEL╨á file≤á iε ì
  130. thei≥ owε right¼  whicΦ caε bσ accesseΣ independentl∙ oµ thσ HEL╨ ì
  131. filσ thσ use≥ i≤ currentl∙  in«   Iµ thσ use≥ enter≤ onσ oµ thesσ ì
  132. Informatioε Sections¼ thσ namσ oµ thσ curren⌠ HEL╨  filσ i≤ saveΣ ì
  133. anΣ thσ ne≈ HEL╨ filσ i≤ loaded«á   Wheε thi≤  happens¼á thσ use≥ ì
  134. i≤ placeΣ a⌠ thσ nex⌠ HEL╨ Leve∞ (aε ascendinτ number¼  wherσ thσ ì
  135. origina∞ HEL╨ filσ i≤ a⌠ HEL╨ Leve∞ 0¼á  ß HEL╨ filσ calleΣá froφ ì
  136. thi≤ leve∞ i≤ a⌠ HEL╨ Leve∞ 1¼ ß HEL╨ filσ calleΣ froφ thi≤ leve∞ ì
  137. i≤á a⌠ HEL╨ Leve∞ 2¼á etc.)«á   Wheε thσ use≥ i≤ a⌠ ß lowe≥á HEL╨ ì
  138. Leve∞ (use≥ i≤ NO╘ a⌠ HEL╨ Leve∞ 0)¼  hσ  ha≤  thσ optioε t∩ movσ ì
  139. t∩á thσ nex⌠ highe≥ HEL╨ Leve∞ (froφ  HEL╨ Leve∞ ▒ t∩ HEL╨á Leve∞ ì
  140. 0¼ fo≥ example).
  141.  
  142.      Thσá concep⌠á oµ movinτ betweeε HEL╨ Level≤ i≤ deriveΣá froφ ì
  143. thσ concep⌠ oµ ß Treσ datß structurσ froφ Compute≥á Science«á  Iε ì
  144. thi≤ concept¼á thσ use≥ start≤  a⌠  thσ roo⌠ oµ thσ treσ anΣ theε ì
  145. climb≤á u≡á anΣá dowε thσ  treσ  t∩ variou≤á levels¼á  o≥á nodes«   ì
  146. Froφ eacΦ node¼á  thσ use≥ ma∙ onl∙ movσ u≡ o≥ dowε  thσ treσá -- ì
  147. hσá can'⌠á cros≤ ove≥ t∩ ß nodσ a⌠ thσ samσ leve∞  withou⌠á firs⌠ ì
  148. movinτ dowε thσ treσ anΣ theε bacδ up«á   T∩ illustrate¼ conside≥ ì
  149. thσ following:
  150.  
  151.  
  152.      Node A      Node B                                        HELP Level
  153.    _________   ____________                                         5
  154.      \  Node C   /
  155.      --------------                                                 4
  156.            \  Node D            Node E
  157.          ------------         ----------------                      3
  158.                \       Node F       /        Node G
  159.              ---------------------------   -----------              2
  160.                          \         Node H    /        Node I
  161.                        --------------------------    -------        1
  162.                                    \         Node J    /
  163. Root of Tree -->                 --------------------------         0
  164.  
  165.  
  166.      Iεá  thσ abovσ example¼á  thσ use≥ mus⌠ alway≤ star⌠ a⌠á thσ ì
  167. roo⌠á oµ thσ treσ (Nodσ J)«á  Thi≤ i≤ analogou≤ t∩ HEL╨ Leve∞á 0¼ ì
  168. whicΦ i≤ wherσ thσ use≥ i≤ placσ wheε hσ issue≤ thσ HEL╨ Command«   ì
  169. T∩ ge⌠ t∩ Nodσ C¼á fo≥ example¼á thσ  use≥ ha≤ t∩ climΓ thσá treσ ì
  170. froφá Nodσá ╩ t∩ Nodσ ╚ t∩ Nodσ ╞ t∩ Nodσ  ─ t∩á Nodσá C«á   Thi≤ ì
  171. woulΣáá bσá likσá thσá use≥á enterinτá ┤á Node-Typσá  Informatioε ì
  172. Sections¼ iε whicΦ differen⌠ HEL╨ file≤ arσ successivel∙ loaded.
  173.  
  174.      No≈ tha⌠ thσ use≥ i≤ a⌠ Nodσ C¼á let'≤ sa∙ tha⌠ hσ want≤á t∩ ì
  175. g∩á t∩ Nodσ E«á  Unde≥ thσ HEL╨ System¼á therσ arσ tw∩ way≤ t∩ d∩ ì
  176. this:
  177.           1«á   Jum≡  ofµ  oµ  thσ treσ anΣ theε climΓ bacδ u≡ t∩  ì
  178. Nodσá  E«á Here¼á  thσ use≥ woulΣ jum≡ froφ Nodσ ├ t∩ Nodσ ╩á anΣ ì
  179. theε g∩ t∩ Nodσ ╚  t∩ Nodσ ╞ t∩ Nodσ E«  Unde≥ HELP¼ thσ use≥ caε ì
  180. d∩á thi≤ b∙ exitinτ t∩ CP/═ anΣ theε  reissuinτ thσ HEL╨á CommanΣ ì
  181. o≥ b∙ issuinτ thσ Roo⌠ CommanΣ (.)╗á  oncσ a⌠  thσ  roo⌠  oµ  thσ ì
  182. tree¼á  hσ theε climb≤  i⌠  agaiε  b∙  enterinτ  thσá appropriatσ ì
  183. Informatioε Sections.
  184.  
  185.  
  186.           2«á   ClimΓ dowε thσ treσ anΣ theε bacδ up«á   Thσ use≥ ì
  187. woulΣá movσá froφ Nodσ ├ t∩ Nodσ ─ t∩ Nodσ ╞ anΣ theε bacδ u≡á t∩ ì
  188. Nodσá E«á  Thσ HEL╨ use≥ caε g∩ t∩ thσ previou≤ leve∞ b∙á issuinτ ì
  189. thσá U≡ Leve∞ (^⌐ command«á  Iε thi≤ example¼á hσ woulΣ U≡á Leve∞ ì
  190. twicσ anΣ theε g∩ bacδ down.
  191.  
  192.  
  193.               Moving Within An Information Section
  194.  
  195.      Oncσá thσ use≥ i≤ withiε ß textua∞ Informatioεá Section¼á hσ ì
  196. ha≤á severa∞ capabilitie≤ fo≥ movinτ withiε thi≤ sectioε anΣá ou⌠ ì
  197. oµ thi≤ section.
  198.  
  199.      First¼á  t∩ movσ ou⌠ oµ aε Informatioε Section¼ thσ use≥ caε ì
  200. returεá t∩á thσ  men⌡ (iµ thσ curren⌠ HEL╨ filσá i≤á Indexed⌐á o≥ ì
  201. returε t∩ CP/M«á   Additionally¼á  iµ thσ use≥ i≤ no⌠ oε thσ roo⌠ ì
  202. (HEL╨á Leve∞á 0)¼á hσ caε returε t∩ thσ previou≤ HEL╨á Leve∞á (U≡ ì
  203. Level)«á  Iµá thσá use≥ i≤ no⌠ iε aε IndexeΣ HEL╨á file¼á  movinτ ì
  204. forwarΣá beyonΣ thσ EnΣ oµ Informatioε (EOI⌐ wil∞ returε  hiφá t∩  ì
  205. CP/═ iµ hσ i≤ a⌠ HEL╨ Leve∞ ░ o≥ returε hiφ t∩ thσ previou≤á HEL╨ ì
  206. Leve∞ iµ not.
  207.  
  208.  
  209.      T∩ movσ withiε aε Informatioε Section¼ thσ datß i≤ typicall∙ ì
  210. arrangeΣ sequentially«á   Consequently¼ thσ use≥ caε movσ ForwarΣ ì
  211. t∩á thσ nex⌠ Frame¼á BackwarΣ  t∩ thσ previou≤ Frame¼á  o≥ t∩ thσ ì
  212. beginninτá oµ  thσ  Informatioεá Section«á  Naturally¼á thσá use≥ ì
  213. canno⌠á movσá backwarΣá beyonΣ thσ beginninτ oµá thσá Informatioε ì
  214. Section«á   Also¼á  iµ thσ use≥ trie≤ t∩ movσ forwarΣ beyonΣá thσ ì
  215. EnΣá oµá Informatioε (EOI)¼á  hσ i≤ eithe≥ returneΣ t∩ thσá Menu¼ ì
  216. returneΣá t∩á CP/M¼á o≥ returneΣ t∩ thσ previou≤á HEL╨á Leve∞á a≤ ì
  217. describeΣ above.
  218.  
  219. :HELP: HELP Command Prompts
  220.      Thσá  followinτá  arσ  thσ basiπ prompt≤ fo≥á use≥á  commanΣ  ì
  221. whicΦ  HEL╨ display≤ t∩ thσ use≥ anΣ thei≥ meanings.
  222.  
  223. ^C=CP/M  ^=Level  .=Root  M=Menu  S=Start  L=Last  P=Print -
  224.     \        \       \        \       \       \       \__Print Info/Frame
  225.      \        \       \        \       \       \__Goto Last (Previous) Frame
  226.       \        \       \        \       \__Goto Start of Info Section
  227.        \        \       \        \__Goto Menu of HELP File
  228.         \        \       \__Goto Root if NOT at Level 0
  229.          \        \           (this is displayed only if NOT at Level 0)
  230.           \        \__Goto Previous Level
  231.            \            (this is displayed only if NOT at Level 0)
  232.             \__Return to CP/M
  233.          
  234.   EO╔   ^C=CP/═  ^=Leve∞  .=Roo⌠  M=Men⌡  S=Star⌠  L=Las⌠  P=Prin⌠ -
  235.    \        \________\_______\________\_______\_______\_______\__Same as
  236.     \                                                            Above
  237.      \__User is at the End of Information (end of Information Section)
  238.  
  239.  
  240. Type  ^C=CP/M ^=Level .=Root or Enter Selection -
  241.           \        \       \            \__Enter letter of desired
  242.            \        \       \                Information Section
  243.             \        \       \__Goto Root
  244.              \        \           (this is displayed only if NOT at Level 0)
  245.               \        \__Goto Previous Level
  246.                \            (this is displayed only if NOT at Level 0)
  247.                 \__Return to CP/M
  248.  
  249.      Preceedinτá  eacΦ  oµ  thσ abovσ prompt≤ i≤ aε indicato≥á oµ  ì
  250. thσ  HEL╨ Leve∞ anΣ Framσ Numbe≥ thσ use≥ i≤ currentl∙ at«   Thi≤ ì
  251. indicato≥ ma∙ takσ thσ followinτ forms:
  252.  
  253. <Nothing>
  254.      \__The user is at the Menu of Level 0
  255.  
  256. fff:
  257.  \__Current Frame Number within Information Section
  258.       (the user is at Level 0)
  259.  
  260. Level lll/
  261.        \__Current Level Number (The user is at a Menu Frame)
  262.             (this is displayed only if the user is NOT at Level 0)
  263.  
  264. Level lll/fff:
  265.        \   \__Current Frame Number within Information Section
  266.         \__Current Level Number
  267.              (this is displayed only if the user is NOT at Level 0)
  268.  
  269.  
  270.                     Summary of User Commands
  271.  
  272.      Cmd  Meaning
  273.       ^   Go to Previous Level
  274.       .   Go to Root Level
  275.       M   Go to Menu of Current HELP File
  276.       S   Go to Start of Information Section
  277.       L   Go to Previous Frame
  278.      CR   (Carriage Return or Space) Go to Next Frame
  279.      ^C   (Control-C) Return to CP/M
  280.       P   Print Current Screen Display (Frame) or Information Section
  281.  
  282. :HELP: Printing HELP Files
  283.      Printinτá HEL╨á File≤á caε bσ donσ iε tw∩ basiπá way≤á -- b∙ ì
  284. usinτá thσ PHEL╨ Utilit∙ oµ ZCPR▓ o≥ b∙ usinτ thσ Prin⌠á functioε ì
  285. contained within the HELP Utility itself.
  286.  
  287.      Thσ PHEL╨ Utilit∙ i≤ useΣ t∩ prin⌠ aε entirσ Hel≡ File«á  I⌠ ì
  288. act≤á ßá lo⌠ likσ thσ PRINT3¼á anΣ i⌠ ha≤ ß variet∙á oµá options¼ ì
  289. includinτá thσ abilit∙ t∩ plaε fo≥ printe≥ outpu⌠ anΣ t∩á suppor⌠ ì
  290. paging and other "appearance-enhancing" features.
  291.  
  292.      Thσ Prin⌠ Functioε withiε HEL╨ i≤ useΣ fo≥ quicδá printouts«  ì
  293. I⌠á doe≤á no⌠á pagσ o≥ perforφ anythinτ morσ exotiπá thaεá simpl∙ ì
  294. printinτá ou⌠ wha⌠ i≤ containeΣ iε ß par⌠ oµ ß Hel≡á File«á  Wheε ì
  295. thσ ╨ optioε i≤ given¼á thσ use≥ i≤ askeΣ t∩ se⌠ thσ to≡ oµá forφ ì
  296. (givinτ hiφ timσ t∩ turε oε hi≤ printer⌐ anΣ theε specif∙ whethe≥ ì
  297. hσá want≤á t∩á prin⌠ thσ curren⌠ Framσ (Screeεá Display⌐á o≥á thσ ì
  298. entirσá informatioεá sectioεá whicΦ hσ i≤á currentl∙á in«á  Afte≥ ì
  299. selectinτá onσ oµ thesσ tw∩ option≤ (thσ optioε t∩ abor⌠ i≤á als∩ ì
  300. given)¼á thσá printou⌠á occur≤á (ma∙ bσ aborteΣ a⌠á an∙á timσá b∙ ì
  301. strikinτ ß ^C)«á  Wheε finished¼ thσ use≥ i≤ returneΣ t∩ thσ las⌠ ì
  302. frame he was viewing.
  303.  
  304.      Thi≤ ne≈ Prin⌠ Functioε (availablσ iε Version≤ 4.▒ anΣ late≥ ì
  305. oµá HELP2⌐ i≤ provideΣ a≤ ß fundamenta∞ conveniencσ t∩ thσá user«  ì
  306. I⌠ allow≤ thσ use≥ t∩ revie≈ thσ Hel≡ File¼á and¼á wheε hσ see≤ ß ì
  307. particula≥ screeε displa∙ o≥ informatioε sectioε whicΦ hσá value≤ ì
  308. enougΦá t∩á wan⌠ t∩ havσ arounΣ fo≥ futurσ referencσ iεá hardcop∙ ì
  309. form¼á hσ caε simpl∙ tel∞ HELP▓ t∩ prin⌠ it«á  Thi≤ capabilit∙ i≤ ì
  310. intendeΣá t∩ suppor⌠ thσ concep⌠ oµ establishinτ HL╨ file≤á a≤á ß ì
  311. convenien⌠á anΣ flexiblσ wa∙ t∩ pas≤ documentatioε oµ program≤ t∩ ì
  312. thσá use≥á oε disδ whilσ simultaneousl∙ allowinτá hiφá t∩á easil∙ ì
  313. print it out if it is of significant interest to him.
  314.  
  315.  
  316.      Fo≥á instance¼á ß HL╨ filσ whicΦ refer≤ t∩ ß ne≈ prograφ ma∙ ì
  317. contaiεá aεá Informatioε Sectioε o≥ onσ Framσá whicΦá contain≤á ß ì
  318. commanΣá summary«á  Thσ use≥ caε simpl∙ prin⌠ thi≤ withou⌠ havinτ ì
  319. the print the entire HLP file.
  320.  
  321.      A≤á anothe≥á example¼á thσ HELP▓ subsysteφ ma∙ bσ useΣ b∙á ß ì
  322. homemake≥á t∩á kee≡ he≥ recipe≤ on«á  OrganizeΣá usinτá thσá treσ ì
  323. structurσá int∩ reasonablσ catagorie≤ (sucΦ a≤ roasts¼á desserts¼ ì
  324. etc)¼á whilσ reviewinτ thσ recipe≤ shσ ma∙ finΣ onσ shσ wishe≤ t∩ ì
  325. tr∙á fo≥ thσ evening'≤ mea∞ o≥ t∩ pas≤ oε t∩ ßá friend«á  Iµá thσ ì
  326. recipσ cover≤ onl∙ onσ screen¼ ß Framσ Prin⌠ i≤ ver∙ convenient.
  327.  
  328.  
  329.  
  330. :HELP: HELP Error Messages
  331.      Thσá  followinτá  arσ  thσ  erro≥ message≤ issueΣ  b∙á  HEL╨  ì
  332. anΣ  thei≥ meanings:
  333.  
  334. HELP FATAL ERROR -- File not Found
  335.      The specified HELP File cannot be found.
  336.  
  337. HELP FATAL ERROR -- File Name Contains Wild Car
  338.      Thσá specifieΣ HEL╨ Filσ contain≤ thσ characte≥ "*ó o≥á "?"«  ì
  339. Thi≤ i≤ no⌠ alloweΣ sincσ i⌠ specifie≤ aε ambiguou≤ name.
  340.  
  341. HELP ERROR -- Invalid Response
  342.      The user issued an invalid command.
  343.  
  344. HELP ERROR -- EOF on HELP File
  345.      Iε searchinτ fo≥ aε Informatioε Section¼á HEL╨ raε int∩á thσ ì
  346. enΣá oµá thσ HEL╨  File«á   Thσ  IndexeΣ HEL╨ Filσ i≤á improperl∙ ì
  347. structureΣ (morσ  inde° entrie≤ thaε Informatioε Sections).
  348.  
  349.  
  350. HELP ERROR -- Not Possible to Backup Before Start of Info
  351.      Aεá  ╠á CommanΣá wa≤ issueΣ wheε thσ curren⌠ Framσá wa≤á thσ ì
  352. beginninτ  oµ thσ curren⌠ Informatioε Section.
  353.  
  354. HELP ERROR -- Node Level Limit Reached -- Aborting
  355.      Thσá limi⌠á oµ thσ nestinτ oµ thσ HEL╨ Level≤á i≤á exceeded«  ì
  356. HEL╨ limit≤ thσ numbe≥ oµ HEL╨ Level≤ tha⌠ caε bσ traverseΣ t∩ 1░ ì
  357. (default¼á  whicΦá caε bσ changed)¼á  anΣ aε attemp⌠ wa≤ madσá t∩ ì
  358. ente≥ HEL╨ Leve∞ 1▒ (o≥ defaul⌠ ½ 1).
  359.  
  360. HELP ERROR -- Invalid File Name in Load
  361.      Aε  Informatioε  Sectioε whicΦ i≤ tryinτ t∩ loaΣ ß nodσá (g∩  ì
  362. t∩  nex⌠ HEL╨ Level⌐ contain≤ aε invaliΣ filσ name.
  363.  
  364. HELP ERROR -- No Higher Level to Return to
  365.      Aεá attemp⌠ wa≤ madσ t∩ g∩ t∩ ß HEL╨ Leve∞ previou≤ t∩á HEL╨ ì
  366. Leve∞ ░ (▐ CommanΣ issueΣ froφ HEL╨ Leve∞ 0).
  367.  
  368.  
  369. HELP ERROR -- Not Enough Room for HELP File
  370.      Thσá selecteΣá HEL╨á Filσá i≤ to∩ largσá t∩á loaΣá int∩á thσ ì
  371. availablσ memor∙ iε  thσ user'≤ compute≥ system«á   Thσ HEL╨ Filσ ì
  372. shoulΣ bσ reduceΣ iε size╗ usinτ HEL╨ Level≤ (Nodσ references⌐ iε ì
  373. thσ Informatioε Section≤ i≤ ß  gooΣ wa∙ t∩ d∩ this.
  374.  
  375. :HELP: How to Write HELP Files
  376.      File≤á  useΣá b∙á thσ HEL╨ prograφ arσ eithe≥á simplσá CP/M-ì
  377. standarΣá  file≤ oµ   ASCI╔   tex⌠  o≥  ASCI╔á  file≤á  generateΣ  ì
  378. b∙á  thσ  WorΣ   Sta≥   tex⌠ editor/formatter«á  Thesσ files¼á a≤ ì
  379. mentioneΣá above¼á arσá oµ tw∩ basiπá types║á indexeΣá  anΣá non-ì
  380. indexed¼á  anΣá eacΦ typσ i≤ relateΣ t∩ thσ othe≥ anΣ i≤  oµá thσ ì
  381. samσ basiπ format.
  382.  
  383.                      Grouping of Information
  384.  
  385.      Informatioε displayeΣ t∩ thσ use≥ i≤ groupeΣ b∙ thσ inde° iε  ì
  386. indexeΣá HEL╨á  file≤ anΣ ma∙ als∩ bσ groupeΣ b∙ line≤á beginninτ ì
  387. witΦ Forφ FeeΣ (^L⌐ characters«   Groupinτ i≤ aε effectivσ wa∙ t∩ ì
  388. logicall∙á organizσá  informatioε  s∩ tha⌠ meaninτ wil∞á bσá morσ ì
  389. clea≥ t∩ thσ use≥ anΣ unit≤ oµ informatioε wil∞ no⌠ pas≤á betweeε ì
  390. screeε displays.
  391.  
  392.      Thσá informatioεá displayeΣá t∩ thσ use≥ i≤á organizeΣá int∩ ì
  393. logica∞á unit≤á calleΣ Informatioε Section≤ anΣá screeεá display≤ ì
  394. (onσá screeε ful∞ oµ  text⌐ calleΣ Frames«á  Usinτ tex⌠á editors¼ ì
  395. thσá use≥á caεá creatσá hi≤á owεá HEL╨á file≤á anΣá organizσá hi≤ ì
  396. informatioε a≤ hσ desire≤ fo≥ displa∙ t∩ thσ HEL╨ user.
  397.                      Non-Indexed HELP Files
  398.  
  399.      Non-indexeΣá HEL╨á file≤ arσ simplσ ASCI╔ file≤ whicΦá star⌠ ì
  400. witΦá ß coloε (:⌐ a≤ thσ firs⌠ characte≥ oµ thσ filσ anΣá consis⌠ ì
  401. oµ ASCI╔ tex⌠ (witΦ eacΦ linσ terminateΣ b∙ ß carriagσ returε anΣ ì
  402. linσ feeΣ characte≥ combination)«á  Thσ informatioε  iε  sucΦá  ß ì
  403. hel≡á filσ consist≤ oµ al∞ tex⌠ afte≥  thσ  leadinτ coloε  u≡á t∩ ì
  404. eithe≥á thσá terminatinτ end-of-filσ marδ (control-Z⌐ o≥  ßá  ne≈ ì
  405. linσ whicΦ start≤ witΦ ß colon.
  406.  
  407.  
  408.                        Indexed HELP Files
  409.  
  410.      IndexeΣá  HEL╨á  file≤ arσ simplσ ASCI╔ file≤ whicΦá d∩á no⌠ ì
  411. star⌠á witΦá  ß coloε  (:⌐  a≤ thσ firs⌠ characte≥ oµá thσá file«   ì
  412. Thi≤á typσ  oµ  HEL╨  filσ consist≤  oµ onσ o≥ morσ norma∞á ASCI╔ ì
  413. tex⌠á line≤á a≤á thσá firs⌠á line≤á oµá  thσá filσá  followeΣá b∙ ì
  414. informatioεá section≤á whicΦá begiεá witΦá ßá linσá whosσá  firs⌠ ì
  415. characte≥  i≤  ß  coloε  anΣ enΣ witΦ eithe≥ thσ firs⌠  linσá  oµ  ì
  416. thσ  nex⌠ informatioε sectioε o≥ thσ enΣ oµ thσ file.
  417.  
  418.             Tree Structures within Indexed HELP Files
  419.  
  420.      A≤á mentioneΣ above¼á thσ IndexeΣ HEL╨ Filσ i≤ divideΣá int∩ ì
  421. Informatioε Sections¼  wherσ eacΦ Informatioε Sectioε start≤ witΦ ì
  422. ß coloε (:)«   Therσ arσ tw∩ basiπ type≤ oµ Informatioε Section:
  423.  
  424.           1«á   Informatioε Section≤ containinτ textua∞ material╗ ì
  425. thi≤ typσ oµ Informatioε Sectioε simpl∙ contain≤ readinτ materia∞ ì
  426. whicΦá i≤á organizeΣ int∩ Frames¼á wherσ ß Framσ i≤ equa∞ t∩á onσ ì
  427. screeε display.
  428.           2«á   Informatioεá Section≤ whicΦ referencσ othe≥á HEL╨ ì
  429. files╗á thi≤á typσ oµ Informatioε Sectioε begin≤ witΦ tw∩á colon≤ ì
  430. (::⌐á insteaΣá oµá onσ  a≤ iε  (1⌐ above╗á  thσá tw∩á colon≤á arσ ì
  431. immediatel∙ followeΣ b∙ thσ namσ oµ thσ HEL╨ filσ (thσ HEL╨á filσ ì
  432. typσ ma∙ bσ optionall∙ specified).
  433.  
  434.      T∩ illustrate¼á  thσ followinτ outline≤ thσ structurσ oµ thσ ì
  435. tw∩ type≤ oµ Informatioε Sections:
  436.  
  437.  :Title for Type 1 Information Section
  438.      <text>
  439.  : [next Information Section]
  440.  
  441.                Figure:  A Text (Type 1) Information Section
  442.  
  443.  
  444.  ::HLPFILE                    <-- for HLPFILE.HLP
  445.  : [next Information Section]
  446.  
  447.  ::HLPFILE.TYP                <-- for HLPFILE.TYP
  448.  : [next Information Section]
  449.  
  450.          Figure:  Examples of Node (Type 2) Information Sections
  451.  
  452.  
  453. :HELP: The Tree Structure of HELP
  454.         -- Basic HELP File --
  455.   |Info Sect 1    |Info Sect 2    |Info Sect 3    |Info Sect 4 |
  456.   | Text    | HELP File    | Text        | HELP File  |
  457.             /      \               /    \
  458.          -- SubHelp File 1 --        -- SubHelp File 2 --
  459.         |Info Sect 1 |Info Sect 2 |    |Info Sect 1 |Info Sect2|
  460.      | Text         | HELP File  |    | Text         | Text     |
  461.              /    \
  462.          -- SubSubHelp File 1 --
  463.      |Info Sect 1 |Info Sect 2 |Info Sect 3 |
  464.      | Text         | HELP File  | HELP File  |
  465.              /  \         /    \
  466.      -- Sub3Help File 1 --  -- Sub3Help File 2 --
  467.      |Info Sect |        |Info Sect 1 |Info Sect 2|
  468.      | Text     |        | Text         | HELP File |
  469.                          /    \
  470.                      -- Sub4Help File --
  471.                  |Info Sect 1 |Info Sect 2|
  472.                  | Text         | Text     |
  473.  
  474.                    Figure:  Sample HELP File Structure
  475.  
  476.      Thσáá  abovσá diagraφá i≤á mean⌠á t∩á illustratσá ho≈áá treσ ì
  477. structure≤á caε  bσ implementeΣ unde≥ Version≤ 1.┤ anΣ beyonΣá oµ ì
  478. HELP«á  A≤á thσ use≥ caε see¼á ß ne≈  nodσ oµ thσ treσ i≤ createΣ ì
  479. wheneve≥á ß HEL╨ filσ i≤ referenceΣ b∙  aεá Informatioεá  Sectioε ì
  480. (a≤á opposeΣ t∩ simpl∙ havinτ tex⌠ iε thσ  Informatioεá Section)«   ì
  481. EacΦá  nodσ  become≤ thσ basσ oµ ß ne≈ tree¼á  whicΦ itselµá  ma∙ ì
  482. contaiε reference≤ t∩ othe≥ HEL╨ files.
  483.  
  484.      Froφ  thσ previou≤ diagraφ (fee∞ freσ t∩ refe≥ bacδ t∩  it)¼  ì
  485. SubHel≡ Leve∞  │ contain≤ tw∩ HEL╨ files«á   Thesσ caε bσ entereΣ ì
  486. froφá  Informatioε Sectioε ▓ anΣ Informatioε Sectioε │ oµ SubHel≡ ì
  487. Leve∞á 2«á   B∙á simpl∙ enterinτ  onσ oµá thesσá tw∩á Informatioε ì
  488. Sections¼á  thσá appropriatσ HEL╨ filσ  i≤ loadeΣ anΣ thσ use≥ i≤ ì
  489. placeΣ a⌠ thσ nex⌠ level«   Froφ thesσ HEL╨  files¼ thσ  use≥ ma∙ ì
  490. movσá withiεá thσ HEL╨ filσ itselµ o≥ movσ u≡á t∩á thσá  previou≤ ì
  491. leve∞á (naturally¼á thσá use≥á alway≤ ha≤ thσ optioε t∩á exi⌠á t∩ ì
  492. CP/M).
  493.  
  494. :HELP: Sample HELP Files Illustrating Use of Tree Structure
  495.  
  496.      Thσá  followinτá  Frame≤á  sho≈ thσ sourcσá t∩á threσá  HEL╨  ì
  497. Files¼á  nameΣ DEMO.HLP¼á DEMO2.HLP¼á anΣ DEMO3.HLP«  DEMO.HL╨ i≤ ì
  498. provide≤á thσá Roo⌠ Nodσ t∩ ß treσ whicΦ include≤á DEMO2.HL╨á anΣ ì
  499. DEMO3.HL╨ a≤ subnodes«á   Additionally¼á DEMO3.HL╨ ha≤ ßá subnodσ ì
  500. whicΦáá reference≤á DEMO.HLP¼áá  s∩á wσá havσá ßá recursivσá treσ ì
  501. structure.
  502.  
  503.  
  504.                                  DEMO.HLP
  505.  TEST 1 - OK                  <-- Menu
  506.  TEST 2 - SIMPLE NEST
  507.  TEST 3 - INVOLVED NEST
  508.  TEST 4 - OK
  509.  :TEST 1                      <-- First Info Section (Text)
  510.  THIS
  511.  IS 
  512.  TEST
  513.  1
  514.  ::DEMO2                      <-- 2nd Info Section (Node)
  515.  ::DEMO3                      <-- 3rd Info Section (Node)
  516.  :TEST 4                      <-- 4th Info Section (Text)
  517.  TO BE, OR NOT TO BE, THAT IS THE QUESTION!
  518.  ...
  519.  TO TAKE ARMS AGAINST A SEA OF TROUBLES AND BY OPPOSING END THEM.
  520.  TO DIE, TO SLEEP ... TO SLEEP, PERCHANCE TO DREAM.
  521.  AYE, THERE'S THE RUB!  FOR IN THAT SLEEP, WHAT DREAMS MAY COME!
  522.  
  523.                                 DEMO2.HLP
  524.  :TEST 2                       <-- No Menu -- 1 Info Section
  525.  THIS
  526.  IS
  527.  TEST
  528.  2
  529.  
  530.                                 DEMO3.HLP
  531.  TEST 3A                       <-- Menu
  532.  TEST 3B
  533.  TEST 3C
  534.  :TEST 3A                      <-- First Info Section (Text)
  535.     THIS
  536.     IS
  537.     TEST
  538.     3A
  539.     the rain in Spain falls mainly in the plain
  540.  
  541.  :TEST 3B                      <-- 2nd Info Section (Text)
  542.     THIS
  543.     IS
  544.     TEST
  545.     3B
  546.  ::demo                        <-- 3rd Info Section (Node)
  547.  
  548.  
  549.