home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / zcpr2 / ndirs.hqp / NDIRS.HLP
Text File  |  1985-12-11  |  36KB  |  933 lines

  1. Overview of the Named Directory Concept
  2. Creating Named Directory Files with MKDIR
  3. Disk-Based and Memory-Based Named Directories
  4. Loading Named Directory Files with LD
  5. Printing Named Directory Files and Buffers with PWD
  6. Moving About with CD
  7. Poor Little ECHO and CD
  8. System Directories
  9. Sample Sessions
  10. :Overview of the Named Directory Concept
  11.  
  12.      Thσá NameΣá Director∙á Concep⌠á unde≥á ZCPR▓á i≤á ßá logica∞ ì
  13. associatioε oµ ß mnemoniπ namσ witΦ ß directory¼á whicΦ i≤ ß disδ ì
  14. anΣá use≥á area«á  WitΦ thi≤ facility¼á thσ use≥ i≤ permitteΣá t∩ ì
  15. refe≥á t∩á an∙ director∙ b∙ ß mnemoniπá name¼á anΣá thi≤á greatl∙ ì
  16. improve≤á thσ use≥ interfacσ ove≥ havinτ t∩ remembe≥ disδ letter≤ ì
  17. and numbers.
  18.  
  19.      Fo≥á instance¼á aεá environmen⌠ caε bσ se⌠ u≡ iεá whicΦá thσ ì
  20. following name assignments are made:
  21.  
  22.           A15: = ROOT         A0:  = BASE
  23.           B0:  = BBASE        B1:  = JEFF
  24.           B2:  = ROBERT       B3:  = LINDA
  25.  
  26.      WitΦá thσá nameΣá director∙á facilit∙á enabled¼áá thσá ZCPR▓ ì
  27. utilitie≤ caε refe≥ t∩ thesσ directorie≤ b∙ eithe≥ thσá DU║á forφ ì
  28. (disk and user number) or by the name:
  29.  
  30.           XDIR ROOT: = XDIR A15:
  31.      Mos⌠á oµ thσ ZCPR▓ utilitie≤ recognizσ nameΣ directorie≤á iµ ì
  32. thσ facilit∙ i≤ enabled¼á and¼á sincσ thesσ utilitie≤ functioε t∩ ì
  33. providσá interface≤ betweeε thσ directories¼á the∙ creatσ ßá gooΣ ì
  34. workinτ environmen⌠ fo≥ usσ oµ thσ conventiona∞ CP/═ utilitie≤ a≤ ì
  35. well«á  Iεá othe≥ words¼á thσ ZCPR▓ utilitie≤ whicΦ caε dea∞ witΦ ì
  36. nameΣá directorie≤ arσ thσ onl∙ utilitie≤ witΦ whicΦá onσá shoulΣ ì
  37. cros≤á director∙á boundarie≤ iε ß ZCPR▓ systeφá anΣá conventiona∞ ì
  38. utilities¼ likσ aε edito≥ o≥ aε assembler¼ shoulΣ bσ useΣ iε onl∙ ì
  39. onσ director∙ anΣ dea∞ witΦ file≤ iε thσ curren⌠ director∙ anΣ oε ì
  40. drive A in the same user number (A$ in the vernacular).
  41.  
  42.      Fo≥ instance¼ t∩ edi⌠ ß filσ iε thσ ZCP╥ director∙ witΦ WorΣ ì
  43. Master¼á cop∙á thσá filσ int∩ ß workinτ director∙ whicΦá ha≤á thσ ì
  44. WM.HL╨á filσ iε A║á iε thσ samσ use≥ areß anΣ edi⌠á there«á  Theε ì
  45. copy it back when done:
  46.           B1>mcopy b1:=zcpr:file.txt
  47.                ...
  48.           B1>wm file.txt
  49.                ...
  50.           B1>mcopy zcpr:=file.txt
  51.  
  52.      Man∙á commercia∞ programs¼á likσ WorΣ Maste≥ anΣ WorΣá Star¼ ì
  53. arσá alread∙á programmeΣ t∩ looδ oε A║á iµ the∙ d∩ no⌠á finΣá thσ ì
  54. overla∙á the∙ neeΣ iε thσ curren⌠ directory«á  WorΣá Master¼á fo≥ ì
  55. instance¼á ha≤ ß WM.HL╨ filσ whicΦ provide≤ onlinσ documentation¼ ì
  56. anΣá b∙ workinτ oε drivσ B║á iε thσ samσ use≥ tha⌠ ß WM.HL╨á filσ ì
  57. exist≤ oε A:¼ iµ ß use≥ ask≤ fo≥ Help¼ WorΣ Maste≥ wil∞ finΣ it.
  58.  
  59.      NameΣ Directories¼á then¼á caε providσ ß morσ human-orienteΣ ì
  60. workinτ environment«á  Thσ use≥ neeΣ n∩ longe≥ remembe≥ tha⌠á hi≤ ì
  61. command≤ arσ iε director∙ A15║ -- hσ neeΣ onl∙ remembe≥ tha⌠ ROO╘ ì
  62. contain≤á hi≤ commands¼á HEL╨ contain≤ hi≤ hel≡ files¼á ROBER╘ i≤ ì
  63. hi≤ namσ anΣ tha⌠ i≤ wherσ hσ place≤ thσ file≤ hσ i≤ workinτá on¼ ì
  64. BDS├ i≤ wherσ hi≤ ├ compile≥ is¼ etc.
  65.  
  66.  
  67.      NameΣá Directorie≤ arσ supporteΣ b∙ thσ ZCPR▓ utilitie≤á anΣ ì
  68. no⌠ b∙ ZCPR▓ itself«  Fou≥ utilitie≤ arσ specificall∙ designeΣ t∩ ì
  69. dea∞á witΦ NameΣ Directories¼á anΣ thσ res⌠ oµ thσ utilitie≤á caε ì
  70. acces≤á NameΣá Directorie≤ manipulateΣ b∙ thσ firs⌠ fou≥ anΣá usσ ì
  71. them.
  72.  
  73.      Thσá fou≥á ZCPR▓ utilitie≤ whicΦ dea∞á directl∙á witΦá NameΣ ì
  74. Directories are:
  75.  
  76.           MKDIR -- create a Named Directory
  77.           LD    -- load a Named Directory into a Named Dir Buffer
  78.           PWD   -- print Working Directory and optionally all
  79.                     available Named Directories
  80.           CD    -- log into a Named Directory
  81.  
  82. :Creating Named Directory Files with MKDIR
  83.  
  84.      MKDI╥á i≤á useΣ t∩ creatσ NameΣ Director∙ Files¼á whicΦá arσ ì
  85. file≤ oε disδ whicΦ contaiε thσ mnemoniπ name≤ anΣ thσá disk/use≥ ì
  86. area≤ the∙ arσ associateΣ with«á  Iε essence¼ MKDI╥ i≤ aε editor«  ì
  87. I⌠á provide≤ ß scratcΦ areß iε whicΦ thσ use≥ caε se⌠ u≡ ßá nameΣ ì
  88. directory¼á revie≈ it¼á edi⌠ it¼á anΣ makσ an∙ change≤ hσ wishes«  ì
  89. Wheεá satisfied¼á thσ use≥ caε writσ i⌠ ou⌠ t∩ disδ a≤ ß filσá o≥ ì
  90. abort and throw it away.
  91.  
  92.      MKDIR is invoked with one of three forms:
  93.  
  94.           MKDIR //                      <-- Print Help
  95.           MKDIR                         <-- Interactive Mode
  96.           MKDIR dir:filename.typ        <-- Read File First
  97.                                              and Interactive Mode
  98.  
  99.      Thσá DIR║á forφá i≤á alloweΣ iε al∞ filσá specification≤á t∩ ì
  100. MKDIR¼ s∩ thσ use≥ caε prefi° ß filσ witΦ ß director∙ namσ o≥ thσ ì
  101. DU║á form«á  MKDI╥ wil∞ searcΦ alonτ thσ command-searcΦ patΦá fo≥ ì
  102. the indicated file.
  103.  
  104.      Oncσ thσ use≥ i≤ iε MKDIR¼ hσ i≤ prompteΣ with:
  105.  
  106.           MKDIR Command (? for Help)?
  107.  
  108. anΣáá hσá ma∙á issuσá thσá followinτá single-characte≥áá command≤ ì
  109. (striking RETURN is not necessary):
  110.  
  111.           C -- Change Directory (Add, Rename, or Delete Entries)
  112.           I -- Initialize Directory
  113.           P -- Print Directory
  114.           R -- Read in a Directory File
  115.           S -- Status of MKDIR Environment
  116.           W -- Write out a Directory File
  117.           X -- Exit
  118.           ? -- Print Help Message
  119.  
  120.      Iε al∞ case≤ excep⌠ W¼á thσ scratcΦ environmen⌠ withiε MKDI╥ ì
  121. i≤ affected«  N∩ file≤ arσ affecteΣ unti∞ thσ use≥ tell≤ MKDI╥ t∩ ì
  122. write the Directory File on disk.
  123.  
  124.      Thσá ├á commanΣá (Changσá Directory⌐ i≤á useΣá t∩á edi⌠á thσ ì
  125. content≤ oµ thσ scratcΦ environmen⌠ withiε MKDIR«á  Oncσ invoked¼ ì
  126. the user is prompted with
  127.  
  128.           Directory Entry (?<RETURN> for Help)?
  129.  
  130.      Thσá use≥ i≤ iε aε inpu⌠ linσ edito≥ now¼á s∩á al∞á command≤ ì
  131. mus⌠á bσá terminateΣ b∙ strikinτ thσ RETUR╬ ke∙ beforσ the∙á takσ ì
  132. effect«  Thi≤ i≤ thσ BDO╙ inpu⌠ linσ editor¼ anΣ strikinτ ^├ wil∞ ì
  133. abort to ZCPR2.
  134.  
  135.      Thσ use≥ ma∙ typσ ┐á followeΣ b∙ strikinτ RETUR╬ t∩ finΣ ou⌠ ì
  136. what his options are (again, built-in help).
  137.  
  138.  
  139.      Unde≥ thσ ├ commanΣ (Changσ Directory)¼ thσ use≥ caε perforφ ì
  140. the following functions:
  141.  
  142.           . Add a Named Directory Entry to the Directory
  143.           . Rename a Named Directory Entry in the Directory
  144.           . Delete a Named Directory Entry from the Directory
  145.           . Print the Directory
  146.           . Print a Help Message
  147.           . Exit to MKDIR Command Level
  148.  
  149.      Iε orde≥ t∩ adΣ o≥ renamσ ß NameΣ Director∙ Entry¼á thσ use≥ ì
  150. type≤ thσ "DU:dirnameó form«á  Iµ eithe≥ thσ Disδ (D⌐ o≥ Use≥ (U⌐ ì
  151. arσ omitted¼ curren⌠ disδ anΣ use≥ arσ assumed«  Thσ "dirnameó i≤ ì
  152. thσá mnemoniπá namσá associateΣá witΦá thσá directory¼á u≡á t∩á ╕ ì
  153. character≤á long«á  Iµá ßá namσá ha≤á beeεá associateΣá witΦá thσ ì
  154. indicateΣ disδ anΣ use≥ already¼á MKDI╥ wil∞ renamσ i⌠ t∩ thσ ne≈ ì
  155. namσ anΣ tel∞ yo⌡ tha⌠ i⌠ i≤ doinτ s∩ anΣ wha⌠ thσ olΣ namσá was«  ì
  156. Iµ ß namσ ha≤ no⌠ alread∙ beeε associateΣ witΦ thσ indicateΣ disδ ì
  157. and user, MKDIR will add this entry to the directory.
  158.  
  159.      Iεá orde≥ t∩ deletσ ß NameΣ Director∙ Entry¼á thσ use≥ type≤ ì
  160. onl∙ thσ "DU:ó form«á  Iµ ß namσ ha≤ alread∙ beeε associateΣ witΦ ì
  161. thi≤ disδ anΣ user¼ theε i⌠ wil∞ bσ deleted«  Iµ n∩ namσ ha≤ beeε ì
  162. associated, the user will be so informed.
  163.  
  164.      T∩á prin⌠ thσ curren⌠ director∙ fo≥ review¼á thσá use≥á neeΣ ì
  165. onl∙ strikσ thσ RETUR╬ key«  T∩ exit¼ thσ use≥ enter≤ aε ╪ (uppe≥ ì
  166. or lower case) followed by striking the RETURN key.
  167.  
  168.  
  169.      Example:
  170.  
  171.           Assume the following directory:
  172.  
  173.                A15:ROOT       A10:SYS        A0:BASE
  174.                B0:DEVBASE     B1:WORK1       B2:WORK2
  175.  
  176.           If the user wishes to delete WORK1, he types
  177.  
  178.                B1:
  179.  
  180.           If the user wishes to rename WORK2 to WORK12, he types
  181.  
  182.                B2:WORK12
  183.  
  184.           If the user wishes to add WORK3 as B3:, he types
  185.  
  186.                B3:WORK3
  187.  
  188.      Iε al∞ cases¼á lower-casσ character≤ arσ converteΣ t∩ upper-ì
  189. case.
  190.  
  191.  
  192.      Getting on with the commands, they are:
  193.  
  194.           C -- Change Directory (Add, Rename, or Delete Entries)
  195.           I -- Initialize Directory
  196.           P -- Print Directory
  197.           R -- Read in a Directory File
  198.           S -- Status of MKDIR Environment
  199.           W -- Write out a Directory File
  200.           X -- Exit
  201.           ? -- Print Help Message
  202.  
  203.      C has just been discussed and ? is obvious.
  204.  
  205.      ╔ i≤ useΣ t∩ initializσ thσ directory«  Thσ use≥ i≤ askeΣ iµ ì
  206. hσá i≤ surσ hσ want≤ t∩ d∩ this¼á and¼á iµ Yes¼á MKDI╥ clear≤ thσ ì
  207. scratcΦá directory«á  ╔á emphasizσá tha⌠á onl∙á thσá memory-baseΣ ì
  208. scratcΦá director∙ oµ MKDI╥ i≤ effected¼á anΣ MKDI╥ affect≤á disδ ì
  209. files only with the W (Write Directory) command.
  210.  
  211.      ╨á i≤á useΣ t∩ Prin⌠ thσ Directory«á  Asidσ froφá thσá name≤ ì
  212. assigneΣá s∩á far¼á thσ use≥ i≤ tolΣ ho≈ man∙ entrie≤á havσá beeε ì
  213. defined so far and how many are yet to be defined.
  214.  
  215.      ╥ i≤ useΣ t∩ reaΣ iε ß Director∙ Filσ anΣ ╫ i≤ useΣ t∩ writσ ì
  216. i⌠ out«á  Wheε MKDI╥ i≤ firs⌠ invoked¼á iµ thσ commanΣ i≤á simpl∙ ì
  217. "MKDIR"¼á theεá thσá defaul⌠á director∙á filσ i≤á defineΣá t∩á bσ ì
  218. NAMES.DIR«á  Iµ thσ commanΣ i≤ "MKDI╥ dir:filename.typ"¼ theε thσ ì
  219. defaul⌠ director∙ filσ i≤ defineΣ t∩ bσ thσ indicateΣ filσ anΣ i⌠ ì
  220. i≤á reaΣ iε immediatel∙ (subsequen⌠ ╥ commanΣ i≤ no⌠á necessary)«  ì
  221. When the user issues the R command, he will be prompted with:
  222.  
  223.           Name of File (<RETURN> = filename.typ)?
  224.  
  225. Iµ hσ strike≤ RETURN¼á thσ defaul⌠ filσ i≤ read«á  Otherwise¼á hσ ì
  226. caε typσ iε ß filσ namσ oµ hi≤ choice«á  N∩ defaul⌠ filσ typσá i≤ ì
  227. assumed¼ s∩ thσ filσ ma∙ bσ an∙ name«  Thσ samσ promp⌠ appear≤ t∩ ì
  228. thσá ╫á (Write⌐ command«á  Iε botΦ cases¼á iµ thσ use≥ wishe≤á t∩ ì
  229. ente≥ hi≤ owε filσ name¼ i⌠ ma∙ bσ oµ thσ forφ "dir:filename.typó ì
  230. s∩ hσ caε reaΣ i⌠ froφ o≥ placσ i⌠ anywhere.
  231.  
  232.      Onσá note║á  ╫á wil∞ writσ bacδ t∩ thσ curren⌠ director∙á a≤ ì
  233. opposeΣá t∩á thσ director∙ thσ filσ originall∙ camσ froφá iµá thσ ì
  234. defaul⌠ forφ i≤ accepted.
  235.  
  236.      Finally¼á thσ ╙ commanΣ (Status⌐ i≤ kinΣ oµá redundant«á  I⌠ ì
  237. simply tells the user some status information on MKDIR.
  238.  
  239. :Disk-Based and Memory-Based Named Directories
  240.  
  241.      Thσá onl∙á purposσ oµ L─ i≤ t∩ loaΣ ß NameΣá Director∙á Filσ ì
  242. froφ disk¼á conver⌠ i⌠ int∩ thσ prope≥ forφ fo≥ memory-baseΣ use¼ ì
  243. anΣá storσá i⌠á iεá thσ memory-baseΣ NameΣá Director∙á Buffe≥á a≤ ì
  244. implementeΣá fo≥ ZCPR2«á  Thσ reasoε fo≥ thσá memory-baseΣá NameΣ ì
  245. Director∙á Buffe≥á i≤ t∩ speeΣ processinτ wheε NameΣá Directorie≤ ì
  246. arσá referenced«á  Ver∙á simply¼á al∞ thσ ZCPR▓á utilitie≤á whicΦ ì
  247. suppor⌠á NameΣ Directorie≤ perforφ thσ followinτ operation≤á wheε ì
  248. one is referenced:
  249.  
  250.           1«á  The∙ scaε thσ memory-baseΣ NameΣ Director∙á Buffe≥ ì
  251. fo≥ ß matcΦ t∩ thσ user-supplieΣ namσ anΣ usσ thi≤ definitioε fo≥ ì
  252. the name if found.
  253.  
  254.           2«á  Iµá ß memory-baseΣ NameΣ Director∙ Buffe≥á i≤á no⌠ ì
  255. availablσá o≥ thσ user-supplieΣ namσ i≤ no⌠ found¼á theε scaε thσ ì
  256. disks¼á searchinτá alonτá thσ commanΣ searcΦ patΦá fo≥á thσá filσ ì
  257. NAMES.DIR«  Iµ found¼ the∙ loaΣ it¼ scaε i⌠ fo≥ thσ user-supplieΣ ì
  258. name¼ anΣ usσ thi≤ definition«  Iµ no⌠ found¼ the∙ issuσ aε erro≥ ì
  259. message.
  260.  
  261.      I call the reader's attention to two main points here:
  262.  
  263.           1«á  Iµ thσ user-supplieΣ namσ i≤ founΣ iε thσá memory-ì
  264. baseΣá NameΣ Director∙ Buffer¼á theε ß disδ acces≤ i≤ no⌠á needeΣ ì
  265. anΣá thσ utilit∙ run≤ faste≥ sincσ i⌠ doe≤ no⌠ havσ t∩ d∩ ßá disδ ì
  266. search.
  267.  
  268.           2«á  Iµá ßá disδ searcΦ i≤ done¼á i⌠ i≤ donσ alonτá thσ ì
  269. commanΣá searcΦ patΦ anΣ thσ firs⌠ NAMES.DI╥ filσ encountereΣá i≤ ì
  270. used«  Iε thi≤ way¼ aε differen⌠ NameΣ Director∙ structurσ may beì
  271. createΣá fo≥á wha⌠ thσ use≥ sa≈ beforσ wheε hσá wa≤á loggeΣá int∩ ì
  272. another directory.  To illustrate, consider the following:
  273.  
  274.  
  275.           The memory-based Named Directory Buffer contains:
  276.  
  277.                A0:BASE        A15:ROOT       A16:HELP
  278.  
  279.           Thσ NAMES.DI╥ filσ founΣ froφ director∙ WORK▒ contains:
  280.  
  281.                B1:WORKBASE    B2:HOME        B3:TEST1
  282.  
  283. anΣ thσ NAMES.DI╥ filσ founΣ froφ director∙ WORK▓ contains:
  284.  
  285.                B1:WBASE       B2:MYHOME      B4:TEST2
  286.  
  287.      ┴ use≥ loggeΣ int∩ WORK▒ canno⌠ acces≤ director∙ TEST2¼á anΣ ì
  288. ß use≥ loggeΣ int∩ WORK▓ canno⌠ acces≤ director∙ TEST1«á  Also¼ ß ì
  289. use≥ iε WORK▒ anΣ ß use≥ iε WORK▓ caε botΦ acces≤ B▒ anΣ B2¼á bu⌠ ì
  290. the∙ d∩ s∩ b∙ differen⌠ names«  Al∞ user≤ caε acces≤ A0¼ A15¼ anΣ ì
  291. A16, and they do it by the same names.
  292.  
  293.  
  294.      ┴ conventioε ╔ likσ t∩ usσ oε m∙ system¼ bu⌠ onσ whicΦ i≤ b∙ ì
  295. n∩ mean≤ required¼á i≤ t∩ namσ thσ director∙ containinτ al∞ oµ m∙ ì
  296. command≤ a≤ ROOT¼ anΣ ╔ likσ t∩ kee≡ i⌠ u≡ ou⌠ oµ thσ wa∙ a⌠ A15«  ì
  297. B∙ beinτ iε A15¼á ╔ caε loτ int∩ i⌠ wheε ╔ kno≈ thσ command≤ wil∞ ì
  298. come from it and I want them to run as quickly as possible.
  299.  
  300.      Anothe≥á conventioεá ╔ likσ t∩ usσ i≤ t∩ placσ al∞á thσá HL╨ ì
  301. file≤á (fo≥á thσ onlinσ documentatioε system⌐ u≡á iεá A16«á  Thi≤ ì
  302. director∙á canno⌠ bσ loggeΣ into¼á bu⌠ ╔ don'⌠ wan⌠ t∩á sincσá n∩ ì
  303. command≤ residσ there«  Thσ HEL╨ prograφ caε bσ madσ t∩ finΣ theφ ì
  304. easil∙á sincσ i⌠ caε bσ se⌠ u≡ t∩ eithe≥ scaε thσ commanΣá searcΦ ì
  305. patΦ anΣ theε scaε it≤ owε interna∞ path¼á whicΦ ╔ havσ endinτ iε ì
  306. A16, or I can set up HELP to just scan its internal path.
  307.  
  308. :Loading Named Directory Files with LD
  309.  
  310.      L─ (LoaΣ Directory⌐ load≤ thσ NameΣ Director∙ Filσ NAMES.DI╥ ì
  311. o≥á thσá filσá specifieΣá iε thσ commanΣ linσá int∩á thσá memory-ì
  312. residen⌠á NameΣá Director∙ Buffer«á  L─ automaticall∙á scan≤á thσ ì
  313. command search path for the desired directory.
  314.  
  315.      LD is invoked by one of the following forms:
  316.  
  317.           LD //                    <-- Print Help
  318.           LD                       <-- Print Load Stats
  319.           LD filename              <-- Load filename.DIR
  320.           LD filename.typ          <-- Load filename.typ
  321.  
  322.      Notσ tha⌠ ╔ d∩ NO╘ permi⌠ ß DIR║á o≥ DU║á prefi° oε thσ filσ ì
  323. name«á  Thσá filσ t∩ bσ loadeΣ ha≤ t∩ bσ founΣ alonτ thσá commanΣ ì
  324. searcΦ path«á  ╔ diΣ thi≤ t∩ makσ L─ a≤ smal∞ a≤ possiblσ anΣ ruε ì
  325. as quickly as possible.
  326.  
  327. :Printing Named Directory Files and Buffers with PWD
  328.  
  329.      PWD (Print Working Directory) is used for two functions:
  330.  
  331.           1.  To print the name of the directory you currently
  332.                reside in
  333.  
  334.           2.  To print the names of all directories you can
  335.                access from where you are
  336.  
  337.      PWD is invoked by the following forms:
  338.  
  339.           PWD //                   <-- Print Help
  340.           PWD                      <-- Print Current Directory
  341.           PWD DIR                  <-- Print Directory Info
  342.  
  343. :Moving About with CD
  344.  
  345.      C─á (Changσ Directory⌐ i≤ useΣ t∩ movσ froφ onσ director∙ t∩ ì
  346. anothe≥ b∙ usinτ thσ name≤ associateΣ witΦ thσá directories«á  C─ ì
  347. is invoked by one of the forms:è
  348.           CD //               <-- Print Help
  349.           CD dir or CD dir:   <-- Log into Directory
  350.  
  351.      Wheε C─ executes¼ i⌠ determine≤ thσ disδ anΣ use≥ associateΣ ì
  352. t∩ thσ namσ b∙ thσ standarΣ ZCPR▓ technique:
  353.  
  354.           1«á  C─á scan≤ thσ memory-baseΣ NameΣ Director∙á Buffe≥ ì
  355. fo≥á ß matcΦ t∩ thσ user-supplieΣ namσ anΣ use≤á thi≤á definitioε ì
  356. fo≥ thσ namσ iµ found.
  357.  
  358.           2«á  Iµá ß memory-baseΣ NameΣ Director∙ Buffe≥á i≤á no⌠ ì
  359. availablσá o≥ thσ user-supplieΣ namσ i≤ no⌠ found¼á theε C─ scan≤ ì
  360. thσ disks¼á searchinτ alonτ thσ commanΣ searcΦ patΦ fo≥ thσá filσ ì
  361. NAMES.DIR«  Iµ found¼ C─ load≤ it¼ scan≤ i⌠ fo≥ thσ user-supplieΣ ì
  362. name¼ anΣ use≤ thi≤ definition«  Iµ no⌠ found¼ C─ issue≤ aε erro≥ ì
  363. message.
  364.  
  365.      Oncσá C─ identifie≤ thσ director∙ t∩ loτ into¼á i⌠ check≤ t∩ ì
  366. seσá iµ i⌠ i≤ ß Systeφ Director∙ (use≥ numbe≥ greate≥ thaε 1░á -- ì
  367. seσ later⌐ anΣ ask≤ fo≥ ß passworΣ iµ so«  Iµ aε invaliΣ passworΣ ì
  368. is given, CD drops the user back into his original directory.
  369.  
  370.      Iµá C─á decide≤á t∩ givσ thσ use≥ acces≤á t∩á thσá director∙ ì
  371. (valiΣá passworΣ i≤ giveε fo≥ ß Systeφ Director∙ o≥ i⌠ i≤á no⌠á ß ì
  372. Systeφ Directory)¼ theε C─ log≤ int∩ thσ directory¼ check≤ t∩ seσ ì
  373. iµ thσ filσ ST.CO═ exists¼ anΣ chain≤ t∩ i⌠ iµ i⌠ doe≤ (usinτ thσ ì
  374. Multiplσá CommanΣ Linσ Buffer)«á  Thi≤ latte≥ actioε i≤ no⌠ takeε ì
  375. if the Multiple Command Line Buffer is not available.
  376.  
  377.      ST.CO═á i≤ simpl∙ ß cop∙ oµ STARTUP.CO═ unde≥ thσá namσá ST«  ì
  378. Thσá onl∙ purposσ oµ STARTU╨ i≤ t∩ loaΣ thσ Multiplσ CommanΣ Linσ ì
  379. Buffe≥á witΦá ßá commanΣ linσ wheε i⌠á i≤á executeΣá withou⌠á an∙ ì
  380. options«á  Thi≤á commanΣ linσ ma∙ contaiε ß reasonablσ numbe≥á oµ ì
  381. commands which perform any desired set of functions.
  382.  
  383.  
  384.      Iεá thσá ZCPR▓ environment¼á gooΣ candidatσ command≤á t∩á bσ ì
  385. executed by running ST via CD include the following:
  386.  
  387.           LD dirname     <-- Set up a new Memory-Based Named
  388.                               Directory Environment
  389.           PAT╚ path-ex≡  <-- Se⌠ u≡ ß ne≈ CommanΣ SearcΦ Path
  390.           MENU           <-- Invoke the MENU Preprocessor
  391.           ECHO message   <-- Print a Message to the User
  392.  
  393.      Hence¼á thσá user'≤á environmen⌠ caε changσá drasticall∙á b∙ ì
  394. usinτá C─á t∩á loτá int∩á ß ne≈á directory«á  Thσá name≤á oµá thσ ì
  395. directorie≤ hσ caε acces≤ caε changσ (L─ change≤ thσ Memory-BaseΣ ì
  396. name≤á anΣá ß ne≈ NAMES.DI╥ filσ alonτ hi≤á commanΣá searcΦá patΦ ì
  397. change≤á thσ Disk-BaseΣ names)¼á thσ commanΣ searcΦ patΦ hσá use≤ ì
  398. caεá change¼á anΣ hσ caε eveε finΣ himselµ iε ß MEN╒á environmen⌠ ì
  399. insteaΣ oµ ß ZCPR▓ commanΣ environment.
  400.  
  401. :Poor Little ECHO and CD
  402.  
  403.      ECH╧ i≤ ß rathe≥ trivia∞ prograφ -- i⌠ simpl∙ echo≤ thσ tex⌠ ì
  404. following it.  It has only one form:
  405.  
  406.           ECHO text
  407.  
  408. anΣ i⌠ print≤ "textó oε thσ consolσ wheε i⌠ executes«  Wh∙ havσ ß ì
  409. program like this?  The answer is with CD and ST.
  410.  
  411.      CD¼á a≤ ╔ mentioneΣ earlier¼á automaticall∙ invoke≤ S╘ iµ i⌠ ì
  412. find≤ i⌠ iε thσ director∙ i⌠ log≤ into«á  ECH╧ i≤ provideΣ a≤ onσ ì
  413. oµ thσ command≤ S╘ coulΣ execute«  Iε thi≤ mode¼ thσ commanΣ linσ ì
  414. containinτ thσ ECH╧ commanΣ wil∞ no⌠ bσ printeΣ t∩ thσ user¼á bu⌠ ì
  415. thσ tex⌠ printeΣ b∙ ECH╧ will«á  Hence¼á ECH╧ caε bσ useΣ t∩ givσ ì
  416. the user one-line messages upon entering a new directory.
  417.  
  418.      Iµá thσ use≥ i≤ t∩ receivσ morσ thaε onσ line¼á theε ßá filσ ì
  419. caεá bσ createΣ somewherσ whicΦ contain≤ thσ tex⌠ oµ thσ message¼ ì
  420. anΣ TYP┼ caε bσ useΣ t∩ prin⌠ thσ filσ oε thσ console«  Notσ tha⌠ ì
  421. TYPE permits the DU: form, so the file can be anywhere.
  422. :System Directories
  423.  
  424.      Therσáá exist≤áá ßá clas≤á oµá directorie≤áá calleΣáá Systeφ ì
  425. Directorie≤ unde≥ ZCPR2«  Thesσ arσ directorie≤ whosσ use≥ numbe≥ ì
  426. i≤á 1░ o≥ greate≥ (thi≤ ma∙ bσ changeΣ fo≥ eacΦá installatioεá b∙ ì
  427. using GENINS).
  428.  
  429.      Iµá yo⌡á issuσá thσá commanΣ "PW─á DIRóá froφá ßá non-Systeφ ì
  430. directory¼ PW─ ma∙ tel∞ yo⌡ tha⌠ somσ directorie≤ arσ hidden«  I⌠ ì
  431. wil∞á no⌠á displa∙á thσ name≤ oµ thσ Systeφá Directorie≤á t∩á yo⌡ ì
  432. unless you reside in a System Directory.
  433.  
  434.      Systeφá Directorie≤á arσ fo≥ privelegeΣ users«á  Iµ thσá DU║ ì
  435. forφ fo≥ switchinτ betweeε directorie≤ i≤ no⌠ available¼ thσ onl∙ ì
  436. wa∙ t∩ switcΦ betweeε directorie≤ i≤ b∙ mean≤ oµ thσ C─á command«  ì
  437. CD¼á wheεá i⌠á realize≤ tha⌠ yo⌡ havσ giveε thσ namσ oµ ßá Systeφ ìèDirectory¼á ask≤á yo⌡ fo≥ ß password«á  Yo⌡ mus⌠ correctl∙á ente≥ ì
  438. thi≤á passworΣá beforσá C─ wil∞ allo≈ yo⌡á t∩á ente≥á thσá Systeφ ì
  439. Directory.
  440.  
  441.  
  442.      Hence¼á tw∩ level≤ oµ protectioε arσ affordeΣ t∩ ß systeφ b∙ ì
  443. disablinτ thσ DU║ forφ anΣ usinτ nameΣ directories«  Thσ firs⌠ i≤ ì
  444. tha⌠á ß non-privelegeΣ use≥ canno⌠ finΣ ou⌠ wha⌠ thσ name≤ oµ thσ ì
  445. Systeφá Directorie≤á arσá b∙ usinτ PW─ (i⌠ i≤ u≡á t∩á thσá Systeφ ì
  446. Manage≥á t∩á insurσ tha⌠ n∩ othe≥ too∞ i≤ availablσ t∩á thσá non-ì
  447. privelegeΣ use≥ t∩ allo≈ hiφ t∩ finΣ ou⌠ thi≤ information)«á  Thσ ì
  448. seconΣá i≤ that¼á eveε iµ thσ non-privelegeΣ use≥ founΣ ou⌠á wha⌠ ì
  449. thσá name≤á oµá thσ Systeφ Directorie≤á are¼á hσá stil∞á need≤á ß ì
  450. password to enter them.
  451.  
  452. :Sample Sessions
  453.  
  454.      Thσ followinτ frame≤ arσ sample≤ oµ actua∞ termina∞ session≤ ì
  455. whicΦá illustratσá severa∞ oµ thσ point≤ discusseΣ iεá thi≤á HEL╨ ì
  456. file«á  ╔ havσ placeΣ comments¼á preceedeΣ b∙ <<¼ ou⌠ t∩ thσ sidσ ì
  457. t∩á hel≡á yo⌡ alonτ iε you≥ readinτ oµ thσ session≤ anΣ t∩á poin⌠ ì
  458. out key features I am trying to illustrate.
  459.  
  460.  
  461. B7>mkdir
  462. MKDIR  Version 1.2
  463. MKDIR Command (? for Help)? ?           << Print Help
  464. MKDIR Commands are --
  465.         C -- Change Directory (Add/Rename/Delete Entries)
  466.         I -- Initialize Directory
  467.         P -- Print Directory
  468.         R -- Read Directory File
  469.         S -- Status of MKDIR Environment
  470.         W -- Write Directory File
  471.         X -- Exit Program
  472.  
  473. MKDIR Command (? for Help)? R           << Read in File 
  474. Name of File (<RETURN> = NAMES   .DIR)?      << Default from Path
  475.  
  476.  
  477. MKDIR Command (? for Help)? P           << Print Directory
  478. Disk A --
  479.      0: R-BASE       1: R-ASM        2: R-BDSC       3: R-PAS   
  480.      5: R-BASIC      7: R-WS         8: R-CAT        9: R-DBASE 
  481.     10: SYS         11: ZCPR        15: ROOT        16: HELP    
  482. Disk B --
  483.      0: DEV-BASE     1: ASM          2: BDSC         3: PAS     
  484.      4: SCRATCH      5: BASIC        7: WS           8: CAT     
  485.      9: DBASE   
  486. Disk C --
  487.      0: BACKUP  
  488.  22 Entries in Directory
  489.  
  490.  
  491. MKDIR Command (? for Help)? S           << Status
  492. ** MKDIR Status **
  493.  
  494.  22 Entries in Directory
  495.  42 Empty Entries Remaining
  496.  
  497. Working File Name: NAMES   .DIR
  498.  
  499. No Changes made to Directory since Startup
  500. File has been loaded
  501.  
  502.  
  503. MKDIR Command (? for Help)? C           << Enter Change Mode
  504. ** MKDIR Change Mode **
  505. Directory Entry (?<RETURN> for Help)? ? << Print Help
  506.  
  507. MKDIR Change Mode --
  508.         You may issue the following commands at this point:
  509.  
  510.                 DU:dirname      <-- Create/Rename Dir Entry
  511.                 DU:             <-- Delete Dir Entry
  512.                 <RETURN>        <-- Print Directory
  513.                 X               <-- Exit
  514.                 ?               <-- Print this Help
  515.  
  516.  
  517. Directory Entry (?<RETURN> fo Help)? b1:          << Delete
  518.         Deleting ASM      --  21 Entries Remaining
  519. Directory Entry (?<RETURN> for Help)? c2:newdir   << Add/Rename
  520.         Adding NEWDIR   --  22 Entries in Directory, Room for  42 More
  521. Directory Entry (?<RETURN> for Help)? b2:
  522.         Deleting BDSC     --  21 Entries Remaining
  523. Directory Entry (?<RETURN> for Help)? b3:
  524.         Deleting PAS      --  20 Entries Remaining
  525. Directory Entry (?<RETURN> for Help)? b1:mydir
  526.         Adding MYDIR    --  21 Entries in Directory, Room for  43 More
  527. Directory Entry (?<RETURN> for Help)? b0:d-base
  528.         Renaming DEV-BASE --  21 Entries in Directory, Room for  43 More
  529.  
  530.  
  531. Directory Entry (?<RETURN> for Help)?             << Print Dir
  532. Disk A --
  533.      0: R-BASE       1: R-ASM        2: R-BDSC       3: R-PAS   
  534.      5: R-BASIC      7: R-WS         8: R-CAT        9: R-DBASE 
  535.     10: SYS         11: ZCPR        15: ROOT        16: HELP    
  536. Disk B --
  537.      0: D-BASE       1: MYDIR        4: SCRATCH      5: BASIC   
  538.      7: WS           8: CAT          9: DBASE   
  539. Disk C --
  540.      0: BACKUP       2: NEWDIR  
  541.  21 Entries in Directory
  542. Directory Entry (?<RETURN> for Help)? x      << Exit
  543. MKDI╥ CommanΣ (┐ fo≥ Help)┐ ╫                <╝ Writσ to Disk
  544. Name of File (<RETURN> = NAMES   .DIR)? temp.dir  << New File
  545. Writing Directory to Disk ... Done
  546.  
  547.  
  548. MKDIR Command (? for Help)? I                << Init Dir
  549.         Are you sure you want to Initialize the Directory (Y/N/<CR>=N)? Y
  550.  
  551. MKDIR Command (? for Help)? P                << Print New Dir
  552. Empty Directory
  553. MKDIR Command (? for Help)? C                << Enter Names
  554. ** MKDIR Change Mode **
  555. Directory Entry (?<RETURN> for Help)? a15:root
  556.         Adding ROOT     --   1 Entries in Directory, Room for  63 More
  557. Drectory Entry (?<RETURN> for Help)? a0:base
  558.         Adding BASE     --   2 Entries in Directory, Room for  62 More
  559. Directory Entry (?<RETURN> for Help)? b1:work1
  560.         Adding WORK1    --   3 Entries in Directory, Room for  61 More
  561. Directory Entry (?<RETURN> for Help)? b2:work2
  562.         Adding WORK2    --   4 Entries in Directory, Room for  60 More
  563. Directory Entry (?<RETURN> for Help)? b3:work3
  564.         Adding WORK3    --   5 Entries in Directory, Room for  59 More
  565.  
  566.  
  567. Directory Entry (?<RETURN> for Help)?        << Print Dir
  568. Disk A --
  569.      0: BASE        15: ROOT    
  570. Disk B --
  571.      1: WORK1        2: WORK2        3: WORK3   
  572.   5 Entries in Directory
  573. Directory Entry (?<RETURN> for Help)? b0:workbase
  574.         Adding WORKBASE --   6 Entries in Directory, Room for  58 More
  575. Directory Entry (?<RETURN> for Help)? x      << Exit
  576. MKDIR Command (? for Help)? P                << Print Again
  577. Disk A --
  578.      0: BASE        15: ROOT    
  579. Disk B --
  580.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  581.   6 Entries in Directory
  582. MKDIR Command (? for Hep)? W                 << Write to Disk
  583. Name of File (<RETURN> = TEMP    .DIR)? temp2.dir << New File
  584. Writing Directory to Disk ... Done
  585.  
  586.  
  587. MKDIR Command (? for Help)? R           << Read in File
  588. Name of File (<RETURN> = TEMP2   .DIR)? temp.dir
  589. MKDIR Command (? for Help)? P           << Look at it
  590. Disk A --
  591.      0: R-BASE       1: R-ASM        2: R-BDSC       3: R-PAS   
  592.      5: R-BASIC      7: R-WS         8: R-CAT        9: R-DBASE 
  593.     10: SYS         11: ZCPR        15: ROOT        16: HELP    
  594. Disk B --
  595.      0: D-BASE       1: MYDIR        4: SCRATCH      5: BASIC   
  596.      7: WS           8: CAT          9: DBASE   
  597. Disk C --
  598.      0: BACKUP       2: NEWDIR  
  599.  21 Entries in Directory
  600.  
  601.  
  602. MKDIR Command (? for Help)? R           << Read in Another
  603. Name of File (<RETURN> = TEMP    .DIR)? temp2.dir
  604. MKDIR Command (? for Help)? P           << Look at it
  605. Disk A --
  606.      0: BASE        15: ROOT    
  607. Disk B --
  608.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  609.   6 Entries in Directory
  610. MKDIR Command (? for Help)? X           << Exit
  611.  
  612. <╝ ╔ havσ no≈ createΣ ▓ ne≈ directories¼ TEMP.DI╥ anΣ TEMP2.DIR
  613.  
  614.  
  615. B7>mkdir temp2.dir                 << MKDIR and Read File
  616. MKDIR  Version 1.2
  617. MKDIR Command (? for Help)? P      << Print
  618. Disk A --
  619.      0: BASE        15: ROOT    
  620. Dik B --
  621.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  622.   6 Entries in Directory
  623. MKDIR Command (? for Help)? C      << Change
  624. ** MKDIR Change Mode **
  625. Directory Entry (?<RETURN> for Help)? a4:help
  626.         Adding HELP     --   7 Entries in Directory, Room for  57 More
  627. Directory Entry (?<RETURN> for Help)? x
  628. MKDIR Command (? for Help)? R      << Read in file and throw away
  629. Name of File (<RETURN> = TEMP2   .DIR)?      <<  ... changes
  630.  
  631.  
  632. MKDIR Command (? for Help)? C      << Change this file instead
  633. ** MKDIR Change Mode **
  634. Directory Entry (?<RETURN> for Help)? a16:help
  635.         Adding HELP     --   7 Entries in Directory, Room for  57 More
  636. Directory Entry (?<RETURN> for Help)? 
  637. Disk A --
  638.      0: BASE        15: ROOT        16: HELP    
  639. Disk B --
  640.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  641.   7 Entries in Directory
  642. Directory Entry (?<RETURN> for Help)? x
  643. MKDIR Command (? for Help)? X      << Exit without saving first
  644.  
  645. Directory has changed since last Write       << MKDIR caught me
  646. Do you want to write Directory to Disk first (Y/N/<CR>=Y)?Y
  647.  
  648. Name of File (<RETURN> = TEMP2   .DIR)?      << Save file
  649. Writing Directory to Disk ... Done
  650.  
  651. B7>dir *.dir
  652. TEMP    .DIR  |  TEMP2   .DIR
  653. B7>pwd //                          << PWD Help
  654. PWD, Version 1.1
  655.         PWD is a ZCPR2 named directory display utility
  656. (PWD=Print Working Directory).  Command Forms are:
  657.                 PWD     <-- Print Current Info
  658.                 PWD DIR <-- Print Available Directories
  659.                 PWD //  <-- Print Help Message
  660.  
  661. B7>pwd                             << Print Current Dir
  662. PWD, Version 1.1
  663.  
  664. ** Current Directory **
  665.         B 7: WS      
  666.  
  667.  
  668. B7>pwd dir                         << Print Known Dirs
  669. PWD, Version 1.1
  670.  
  671. ** Directory Display **
  672.  
  673.         ** Named Directory Memory-Based Definitions **
  674.   3 Directory Entries Total (  2 Directories Hidden) --
  675. A --
  676.    0: BASE    
  677.  
  678. Strike Any Key to Continue - 
  679.  
  680.         ** Named Directory  Disk-Based  Definitions **
  681.  22 Directory Entries Total (  4 Directories Hidden) --
  682. A --
  683.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  684.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  685.  
  686.  
  687. B --
  688.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  689.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  690.    9: DBASE   
  691. C --
  692.   0: BACKUP  
  693.  
  694. ** Current Directory **
  695.         B 7: WS      
  696. B7>10:                   << Enter System Dir to see all
  697. B10>pwd dir              << Now look at dirs
  698. PWD, Version 1.1
  699.  
  700. ** Directory Display **
  701.  
  702.  
  703.         ** Named Directory Memory-Based Definitions **
  704.   3 Directory Entries Total (  0 Directories Hidden) --
  705. A --
  706.    0: BASE      15: ROOT      16: HELP    
  707.  
  708. Strike Any Key to Continue - 
  709.  
  710.         ** Named Directory  Disk-Based  Definitions **
  711.  22 Directory Entries Total (  0 Directories Hidden) --
  712. A --
  713.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  714.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  715.   10: SYS       11: ZCPR      15: ROOT      16: HELP    
  716. B --
  717.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  718.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  719.    9: DBASE   
  720. C --
  721.    0: BACKUP  
  722.  
  723. ** Current Directory **
  724.         Noname
  725. B10>ld //                << LD Help
  726. LD  Version 1.1
  727.         LD is the Load Directory program for ZCPR2.
  728. The functions of LD are to load the memory-resident
  729. named directory uffer from the specified or implied
  730. disk file and to display the contents of the named
  731. directory buffer.
  732.  
  733.         The forms of the LD command are --
  734.  
  735.                 LD              <-- Display Loaded Directory
  736.                 LD filename     <-- Load filename.DIR
  737.                 LD filename.typ <-- Load filename.typ
  738.                 LD //           <-- Print this Help Message
  739.  
  740.  
  741. B10>ld                   << Print Status
  742. LD  Version 1.1
  743. **********************************************
  744. ** Memory-Based Named Directory Definitions **
  745. ** Number of Entries Permitted:  50         **
  746. ** Number of Entries Loaded:   3            **
  747. **********************************************
  748.         -- Named Directory Display --
  749. A --
  750.   0: BASE     15: ROOT     16: HELP    
  751.  
  752. ** Current Directory **
  753.         Not Named in Directory Buffer
  754. B10>ld ld                << Load a Directory (LD.DIR)
  755. LD  Version 1.1
  756. Load Complete
  757.  
  758.  
  759. B10>pwd dir              << Print new environ
  760. PWD, Version 1.1
  761.  
  762. ** Diectory Display **
  763.  
  764.         ** Named Directory Memory-Based Definitions **
  765.  13 Directory Entries Total (  0 Directories Hidden) --
  766. A --
  767.    0: BASE      10: SYS       11: ZCPR      15: ROOT    
  768. B --
  769.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  770.    5: BASIC      7: WS         8: CAT        9: DBASE   
  771. C --
  772.    0: BACKUP  
  773.  
  774. Strike Any Key to Continue - 
  775.  
  776.  
  777.         ** Named Directory  Disk-Based  Definitions **
  778.  22 Directory Entries Total (  0 Directories Hidden) --
  779. A --
  780.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  781.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  782.   10: SYS       11: ZCPR      15: ROOT      16: HELP    
  783. B --
  784.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  785.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  786.    9: DBASE   
  787. C --
  788.    0: BACKUP  
  789.  
  790. ** Current Directory **
  791.         Noname
  792.  
  793.  
  794. B10>7:;pwd dir           << Print same environ from non-Sys user
  795. PWD, Version 1.1
  796.  
  797. ** Directory Display **
  798.  
  799.         ** Named Directory Memory-Based Definitions **
  800.  3 Directory Entries Total (  3 Directories Hidden) --
  801. A --
  802.    0: BASE    
  803. B --
  804.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  805.    5: BASIC      7: WS         8: CAT        9: DBASE   
  806. C --
  807.    0: BACKUP  
  808.  
  809. Strike Any Key to Continue - 
  810.  
  811.  
  812.         ** Named Directory  Disk-Based  Definitions **
  813.  22 Directory Entries Total (  4 Directories Hidden) --
  814. A --
  815.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  816.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  817. B --
  818.    0: DEV-BASE  1: ASM        2: BDSC       3: PAS     
  819.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  820.    9: DBASE   
  821. C --
  822.    0: BACKUP  
  823.  
  824. ** Current Directory **
  825.         B 7: WS      
  826.  
  827.  
  828. B7>ld temp2;pwd dir           << Load one of my new environs
  829. LD  Version 1.1
  830. Load Complete
  831. PWD, Version 1.1
  832.  
  833. ** Directory Display **
  834.  
  835.         ** Named Directory Memory-Based Definitions **
  836.   7 Directory Entries Total (  2 Directories Hidden) --
  837. A --
  838.    0: BASE    
  839. B --
  840.    0: WORKBASE   1: WORK1      2: WORK2      3: WORK3   
  841.  
  842. Strike Any Key to Coninue - 
  843.  
  844.  
  845.         ** Named Directory  Disk-Based  Definitions **
  846.  22 Directory Entries Total (  4 Directories Hidden) --
  847. A --
  848.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  849.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  850. B --
  851.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  852.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  853.    9: DBASE   
  854. C --
  855.    0: BACKUP  
  856.  
  857. ** Current Directory **
  858.         B 7: WS      
  859.  
  860.  
  861. B7>ld ld                 << Load Standard Environ
  862. LD  Version 1.1
  863. Load Complete  
  864. B7>cd cat                << CD into CAT Directory
  865. CD Version 2.3
  866.  
  867. MENU  Version 1.4        << MENU automatically comes up!
  868.  
  869.  
  870.                         Disk Cataloging System
  871.  
  872. Catalog Update Functions --
  873.         1 - Update Disks on C: into a Temporary File
  874.         2 - Update the Disk on C: into the Archival Disk File
  875.         3 - Update the Disk on C: into the Active Disk File
  876.  
  877. Merge the Temporary File into --
  878.         4 - The Archival Disk File              5 - The Active Disk File
  879.  
  880. Backup --
  881.         6 - The Archival Disk File              7 - The Active Disk File
  882.  
  883. Scan --
  884.         A- The Archival Disk Catalog            B - The Active Disk Catalog
  885.  
  886.  
  887. Miscellaneous Functions --
  888.         D - Delete the TEMP and BAK Files       T - Display the Date and Time
  889.         X - Display Disk Directory              Z - Issue Any ZCPR2 Command
  890.  
  891. Command (<CR>=Menu, ^C=ZCPR2) - A       << Scan Catalog
  892. Input Files and Disks -- mkdir.mac...............................
  893. CATALOG II  Version 5.3
  894. Catalog File:         MASTER  .CAT
  895. ++ SCAN Catalog Function ++
  896. Date of Last Write/Merge:  15 Jan 83
  897.  
  898. CATALOG File Name: MASTER  .CAT   Date/Comment: 15 Jan 83
  899. Filename.Typ   Diskname.Dsk   Diskname.Dsk   Diskname.Dsk   Disname.Dsk
  900. MKDIR   .MAC   BACK015 .J01   C&ASM   .J06   SRC015  .J00
  901. ++ SCAN Function Complete ++
  902. MENU  Version 1.4 Strike Any Key -           << Give user time
  903.  
  904.  
  905.                         Disk Cataloging System
  906.  
  907. Catalog Update Functions --
  908.         1 - Update Disks on C: into a Temporary File
  909.         2 - Update the Disk on C: into the Archival Disk File
  910.         3 - Update the Disk on C: into the Active Disk File
  911.  
  912. Merge the Temporary File into --
  913.         4 - The Archival Disk File              5 - The Active Disk File
  914.  
  915. Backp --
  916.         6 - The Archival Disk File              7 - The Active Disk File
  917.  
  918. Scan --
  919.         A - The Archival Disk Catalog           B - The Active Disk Catalog
  920.  
  921.  
  922. Miscellaneous Functions --
  923.         D - Delete the TEMP and BAK Files       T - Display the Date and Time
  924.         X - Display Disk Directory              Z - Issue Any ZCPR2 Command
  925.  
  926. Command (<CR>=Menu, ^C=ZCPR2) - Z       << Enter Command Line
  927. Input Command -- cd ws...................................
  928. CD, Version 2.3                    << Return to Dir WS
  929. MENU  Version 1.4                  << MENU tries, but none there
  930.  
  931. B7>                 << At Command Level Again
  932.  
  933.