home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / zcpr2 / ndirs.hqp / NDIRS.HLP
Encoding:
Text File  |  1985-12-11  |  34.9 KB  |  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. è
  349.           CD //               <-- Print Help
  350.           CD dir or CD dir:   <-- Log into Directory
  351.  
  352.      Wheε C─ executes¼ i⌠ determine≤ thσ disδ anΣ use≥ associateΣ ì
  353. t∩ thσ namσ b∙ thσ standarΣ ZCPR▓ technique:
  354.  
  355.           1«á  C─á scan≤ thσ memory-baseΣ NameΣ Director∙á Buffe≥ ì
  356. fo≥á ß matcΦ t∩ thσ user-supplieΣ namσ anΣ use≤á thi≤á definitioε ì
  357. fo≥ thσ namσ iµ found.
  358.  
  359.           2«á  Iµá ß memory-baseΣ NameΣ Director∙ Buffe≥á i≤á no⌠ ì
  360. availablσá o≥ thσ user-supplieΣ namσ i≤ no⌠ found¼á theε C─ scan≤ ì
  361. thσ disks¼á searchinτ alonτ thσ commanΣ searcΦ patΦ fo≥ thσá filσ ì
  362. NAMES.DIR«  Iµ found¼ C─ load≤ it¼ scan≤ i⌠ fo≥ thσ user-supplieΣ ì
  363. name¼ anΣ use≤ thi≤ definition«  Iµ no⌠ found¼ C─ issue≤ aε erro≥ ì
  364. message.
  365.  
  366.      Oncσá C─ identifie≤ thσ director∙ t∩ loτ into¼á i⌠ check≤ t∩ ì
  367. seσá iµ i⌠ i≤ ß Systeφ Director∙ (use≥ numbe≥ greate≥ thaε 1░á -- ì
  368. seσ later⌐ anΣ ask≤ fo≥ ß passworΣ iµ so«  Iµ aε invaliΣ passworΣ ì
  369. is given, CD drops the user back into his original directory.
  370.  
  371.      Iµá C─á decide≤á t∩ givσ thσ use≥ acces≤á t∩á thσá director∙ ì
  372. (valiΣá passworΣ i≤ giveε fo≥ ß Systeφ Director∙ o≥ i⌠ i≤á no⌠á ß ì
  373. Systeφ Directory)¼ theε C─ log≤ int∩ thσ directory¼ check≤ t∩ seσ ì
  374. iµ thσ filσ ST.CO═ exists¼ anΣ chain≤ t∩ i⌠ iµ i⌠ doe≤ (usinτ thσ ì
  375. Multiplσá CommanΣ Linσ Buffer)«á  Thi≤ latte≥ actioε i≤ no⌠ takeε ì
  376. if the Multiple Command Line Buffer is not available.
  377.  
  378.      ST.CO═á i≤ simpl∙ ß cop∙ oµ STARTUP.CO═ unde≥ thσá namσá ST«  ì
  379. Thσá onl∙ purposσ oµ STARTU╨ i≤ t∩ loaΣ thσ Multiplσ CommanΣ Linσ ì
  380. Buffe≥á witΦá ßá commanΣ linσ wheε i⌠á i≤á executeΣá withou⌠á an∙ ì
  381. options«á  Thi≤á commanΣ linσ ma∙ contaiε ß reasonablσ numbe≥á oµ ì
  382. commands which perform any desired set of functions.
  383.  
  384.  
  385.      Iεá thσá ZCPR▓ environment¼á gooΣ candidatσ command≤á t∩á bσ ì
  386. executed by running ST via CD include the following:
  387.  
  388.           LD dirname     <-- Set up a new Memory-Based Named
  389.                               Directory Environment
  390.           PAT╚ path-ex≡  <-- Se⌠ u≡ ß ne≈ CommanΣ SearcΦ Path
  391.           MENU           <-- Invoke the MENU Preprocessor
  392.           ECHO message   <-- Print a Message to the User
  393.  
  394.      Hence¼á thσá user'≤á environmen⌠ caε changσá drasticall∙á b∙ ì
  395. usinτá C─á t∩á loτá int∩á ß ne≈á directory«á  Thσá name≤á oµá thσ ì
  396. directorie≤ hσ caε acces≤ caε changσ (L─ change≤ thσ Memory-BaseΣ ì
  397. name≤á anΣá ß ne≈ NAMES.DI╥ filσ alonτ hi≤á commanΣá searcΦá patΦ ì
  398. change≤á thσ Disk-BaseΣ names)¼á thσ commanΣ searcΦ patΦ hσá use≤ ì
  399. caεá change¼á anΣ hσ caε eveε finΣ himselµ iε ß MEN╒á environmen⌠ ì
  400. insteaΣ oµ ß ZCPR▓ commanΣ environment.
  401.  
  402. :Poor Little ECHO and CD
  403.  
  404.      ECH╧ i≤ ß rathe≥ trivia∞ prograφ -- i⌠ simpl∙ echo≤ thσ tex⌠ ì
  405. following it.  It has only one form:
  406.  
  407.           ECHO text
  408.  
  409. anΣ i⌠ print≤ "textó oε thσ consolσ wheε i⌠ executes«  Wh∙ havσ ß ì
  410. program like this?  The answer is with CD and ST.
  411.  
  412.      CD¼á a≤ ╔ mentioneΣ earlier¼á automaticall∙ invoke≤ S╘ iµ i⌠ ì
  413. find≤ i⌠ iε thσ director∙ i⌠ log≤ into«á  ECH╧ i≤ provideΣ a≤ onσ ì
  414. oµ thσ command≤ S╘ coulΣ execute«  Iε thi≤ mode¼ thσ commanΣ linσ ì
  415. containinτ thσ ECH╧ commanΣ wil∞ no⌠ bσ printeΣ t∩ thσ user¼á bu⌠ ì
  416. thσ tex⌠ printeΣ b∙ ECH╧ will«á  Hence¼á ECH╧ caε bσ useΣ t∩ givσ ì
  417. the user one-line messages upon entering a new directory.
  418.  
  419.      Iµá thσ use≥ i≤ t∩ receivσ morσ thaε onσ line¼á theε ßá filσ ì
  420. caεá bσ createΣ somewherσ whicΦ contain≤ thσ tex⌠ oµ thσ message¼ ì
  421. anΣ TYP┼ caε bσ useΣ t∩ prin⌠ thσ filσ oε thσ console«  Notσ tha⌠ ì
  422. TYPE permits the DU: form, so the file can be anywhere.
  423. :System Directories
  424.  
  425.      Therσáá exist≤áá ßá clas≤á oµá directorie≤áá calleΣáá Systeφ ì
  426. Directorie≤ unde≥ ZCPR2«  Thesσ arσ directorie≤ whosσ use≥ numbe≥ ì
  427. i≤á 1░ o≥ greate≥ (thi≤ ma∙ bσ changeΣ fo≥ eacΦá installatioεá b∙ ì
  428. using GENINS).
  429.  
  430.      Iµá yo⌡á issuσá thσá commanΣ "PW─á DIRóá froφá ßá non-Systeφ ì
  431. directory¼ PW─ ma∙ tel∞ yo⌡ tha⌠ somσ directorie≤ arσ hidden«  I⌠ ì
  432. wil∞á no⌠á displa∙á thσ name≤ oµ thσ Systeφá Directorie≤á t∩á yo⌡ ì
  433. unless you reside in a System Directory.
  434.  
  435.      Systeφá Directorie≤á arσ fo≥ privelegeΣ users«á  Iµ thσá DU║ ì
  436. forφ fo≥ switchinτ betweeε directorie≤ i≤ no⌠ available¼ thσ onl∙ ì
  437. wa∙ t∩ switcΦ betweeε directorie≤ i≤ b∙ mean≤ oµ thσ C─á command«  ì
  438. CD¼á wheεá i⌠á realize≤ tha⌠ yo⌡ havσ giveε thσ namσ oµ ßá Systeφ ìèDirectory¼á ask≤á yo⌡ fo≥ ß password«á  Yo⌡ mus⌠ correctl∙á ente≥ ì
  439. thi≤á passworΣá beforσá C─ wil∞ allo≈ yo⌡á t∩á ente≥á thσá Systeφ ì
  440. Directory.
  441.  
  442.  
  443.      Hence¼á tw∩ level≤ oµ protectioε arσ affordeΣ t∩ ß systeφ b∙ ì
  444. disablinτ thσ DU║ forφ anΣ usinτ nameΣ directories«  Thσ firs⌠ i≤ ì
  445. tha⌠á ß non-privelegeΣ use≥ canno⌠ finΣ ou⌠ wha⌠ thσ name≤ oµ thσ ì
  446. Systeφá Directorie≤á arσá b∙ usinτ PW─ (i⌠ i≤ u≡á t∩á thσá Systeφ ì
  447. Manage≥á t∩á insurσ tha⌠ n∩ othe≥ too∞ i≤ availablσ t∩á thσá non-ì
  448. privelegeΣ use≥ t∩ allo≈ hiφ t∩ finΣ ou⌠ thi≤ information)«á  Thσ ì
  449. seconΣá i≤ that¼á eveε iµ thσ non-privelegeΣ use≥ founΣ ou⌠á wha⌠ ì
  450. thσá name≤á oµá thσ Systeφ Directorie≤á are¼á hσá stil∞á need≤á ß ì
  451. password to enter them.
  452.  
  453. :Sample Sessions
  454.  
  455.      Thσ followinτ frame≤ arσ sample≤ oµ actua∞ termina∞ session≤ ì
  456. whicΦá illustratσá severa∞ oµ thσ point≤ discusseΣ iεá thi≤á HEL╨ ì
  457. file«á  ╔ havσ placeΣ comments¼á preceedeΣ b∙ <<¼ ou⌠ t∩ thσ sidσ ì
  458. t∩á hel≡á yo⌡ alonτ iε you≥ readinτ oµ thσ session≤ anΣ t∩á poin⌠ ì
  459. out key features I am trying to illustrate.
  460.  
  461.  
  462. B7>mkdir
  463. MKDIR  Version 1.2
  464. MKDIR Command (? for Help)? ?           << Print Help
  465. MKDIR Commands are --
  466.         C -- Change Directory (Add/Rename/Delete Entries)
  467.         I -- Initialize Directory
  468.         P -- Print Directory
  469.         R -- Read Directory File
  470.         S -- Status of MKDIR Environment
  471.         W -- Write Directory File
  472.         X -- Exit Program
  473.  
  474. MKDIR Command (? for Help)? R           << Read in File 
  475. Name of File (<RETURN> = NAMES   .DIR)?      << Default from Path
  476.  
  477.  
  478. MKDIR Command (? for Help)? P           << Print Directory
  479. Disk A --
  480.      0: R-BASE       1: R-ASM        2: R-BDSC       3: R-PAS   
  481.      5: R-BASIC      7: R-WS         8: R-CAT        9: R-DBASE 
  482.     10: SYS         11: ZCPR        15: ROOT        16: HELP    
  483. Disk B --
  484.      0: DEV-BASE     1: ASM          2: BDSC         3: PAS     
  485.      4: SCRATCH      5: BASIC        7: WS           8: CAT     
  486.      9: DBASE   
  487. Disk C --
  488.      0: BACKUP  
  489.  22 Entries in Directory
  490.  
  491.  
  492. MKDIR Command (? for Help)? S           << Status
  493. ** MKDIR Status **
  494.  
  495.  22 Entries in Directory
  496.  42 Empty Entries Remaining
  497.  
  498. Working File Name: NAMES   .DIR
  499.  
  500. No Changes made to Directory since Startup
  501. File has been loaded
  502.  
  503.  
  504. MKDIR Command (? for Help)? C           << Enter Change Mode
  505. ** MKDIR Change Mode **
  506. Directory Entry (?<RETURN> for Help)? ? << Print Help
  507.  
  508. MKDIR Change Mode --
  509.         You may issue the following commands at this point:
  510.  
  511.                 DU:dirname      <-- Create/Rename Dir Entry
  512.                 DU:             <-- Delete Dir Entry
  513.                 <RETURN>        <-- Print Directory
  514.                 X               <-- Exit
  515.                 ?               <-- Print this Help
  516.  
  517.  
  518. Directory Entry (?<RETURN> fo Help)? b1:          << Delete
  519.         Deleting ASM      --  21 Entries Remaining
  520. Directory Entry (?<RETURN> for Help)? c2:newdir   << Add/Rename
  521.         Adding NEWDIR   --  22 Entries in Directory, Room for  42 More
  522. Directory Entry (?<RETURN> for Help)? b2:
  523.         Deleting BDSC     --  21 Entries Remaining
  524. Directory Entry (?<RETURN> for Help)? b3:
  525.         Deleting PAS      --  20 Entries Remaining
  526. Directory Entry (?<RETURN> for Help)? b1:mydir
  527.         Adding MYDIR    --  21 Entries in Directory, Room for  43 More
  528. Directory Entry (?<RETURN> for Help)? b0:d-base
  529.         Renaming DEV-BASE --  21 Entries in Directory, Room for  43 More
  530.  
  531.  
  532. Directory Entry (?<RETURN> for Help)?             << Print Dir
  533. Disk A --
  534.      0: R-BASE       1: R-ASM        2: R-BDSC       3: R-PAS   
  535.      5: R-BASIC      7: R-WS         8: R-CAT        9: R-DBASE 
  536.     10: SYS         11: ZCPR        15: ROOT        16: HELP    
  537. Disk B --
  538.      0: D-BASE       1: MYDIR        4: SCRATCH      5: BASIC   
  539.      7: WS           8: CAT          9: DBASE   
  540. Disk C --
  541.      0: BACKUP       2: NEWDIR  
  542.  21 Entries in Directory
  543. Directory Entry (?<RETURN> for Help)? x      << Exit
  544. MKDI╥ CommanΣ (┐ fo≥ Help)┐ ╫                <╝ Writσ to Disk
  545. Name of File (<RETURN> = NAMES   .DIR)? temp.dir  << New File
  546. Writing Directory to Disk ... Done
  547.  
  548.  
  549. MKDIR Command (? for Help)? I                << Init Dir
  550.         Are you sure you want to Initialize the Directory (Y/N/<CR>=N)? Y
  551.  
  552. MKDIR Command (? for Help)? P                << Print New Dir
  553. Empty Directory
  554. MKDIR Command (? for Help)? C                << Enter Names
  555. ** MKDIR Change Mode **
  556. Directory Entry (?<RETURN> for Help)? a15:root
  557.         Adding ROOT     --   1 Entries in Directory, Room for  63 More
  558. Drectory Entry (?<RETURN> for Help)? a0:base
  559.         Adding BASE     --   2 Entries in Directory, Room for  62 More
  560. Directory Entry (?<RETURN> for Help)? b1:work1
  561.         Adding WORK1    --   3 Entries in Directory, Room for  61 More
  562. Directory Entry (?<RETURN> for Help)? b2:work2
  563.         Adding WORK2    --   4 Entries in Directory, Room for  60 More
  564. Directory Entry (?<RETURN> for Help)? b3:work3
  565.         Adding WORK3    --   5 Entries in Directory, Room for  59 More
  566.  
  567.  
  568. Directory Entry (?<RETURN> for Help)?        << Print Dir
  569. Disk A --
  570.      0: BASE        15: ROOT    
  571. Disk B --
  572.      1: WORK1        2: WORK2        3: WORK3   
  573.   5 Entries in Directory
  574. Directory Entry (?<RETURN> for Help)? b0:workbase
  575.         Adding WORKBASE --   6 Entries in Directory, Room for  58 More
  576. Directory Entry (?<RETURN> for Help)? x      << Exit
  577. MKDIR Command (? for Help)? P                << Print Again
  578. Disk A --
  579.      0: BASE        15: ROOT    
  580. Disk B --
  581.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  582.   6 Entries in Directory
  583. MKDIR Command (? for Hep)? W                 << Write to Disk
  584. Name of File (<RETURN> = TEMP    .DIR)? temp2.dir << New File
  585. Writing Directory to Disk ... Done
  586.  
  587.  
  588. MKDIR Command (? for Help)? R           << Read in File
  589. Name of File (<RETURN> = TEMP2   .DIR)? temp.dir
  590. MKDIR Command (? for Help)? P           << Look at it
  591. Disk A --
  592.      0: R-BASE       1: R-ASM        2: R-BDSC       3: R-PAS   
  593.      5: R-BASIC      7: R-WS         8: R-CAT        9: R-DBASE 
  594.     10: SYS         11: ZCPR        15: ROOT        16: HELP    
  595. Disk B --
  596.      0: D-BASE       1: MYDIR        4: SCRATCH      5: BASIC   
  597.      7: WS           8: CAT          9: DBASE   
  598. Disk C --
  599.      0: BACKUP       2: NEWDIR  
  600.  21 Entries in Directory
  601.  
  602.  
  603. MKDIR Command (? for Help)? R           << Read in Another
  604. Name of File (<RETURN> = TEMP    .DIR)? temp2.dir
  605. MKDIR Command (? for Help)? P           << Look at it
  606. Disk A --
  607.      0: BASE        15: ROOT    
  608. Disk B --
  609.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  610.   6 Entries in Directory
  611. MKDIR Command (? for Help)? X           << Exit
  612.  
  613. <╝ ╔ havσ no≈ createΣ ▓ ne≈ directories¼ TEMP.DI╥ anΣ TEMP2.DIR
  614.  
  615.  
  616. B7>mkdir temp2.dir                 << MKDIR and Read File
  617. MKDIR  Version 1.2
  618. MKDIR Command (? for Help)? P      << Print
  619. Disk A --
  620.      0: BASE        15: ROOT    
  621. Dik B --
  622.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  623.   6 Entries in Directory
  624. MKDIR Command (? for Help)? C      << Change
  625. ** MKDIR Change Mode **
  626. Directory Entry (?<RETURN> for Help)? a4:help
  627.         Adding HELP     --   7 Entries in Directory, Room for  57 More
  628. Directory Entry (?<RETURN> for Help)? x
  629. MKDIR Command (? for Help)? R      << Read in file and throw away
  630. Name of File (<RETURN> = TEMP2   .DIR)?      <<  ... changes
  631.  
  632.  
  633. MKDIR Command (? for Help)? C      << Change this file instead
  634. ** MKDIR Change Mode **
  635. Directory Entry (?<RETURN> for Help)? a16:help
  636.         Adding HELP     --   7 Entries in Directory, Room for  57 More
  637. Directory Entry (?<RETURN> for Help)? 
  638. Disk A --
  639.      0: BASE        15: ROOT        16: HELP    
  640. Disk B --
  641.      0: WORKBASE     1: WORK1        2: WORK2        3: WORK3   
  642.   7 Entries in Directory
  643. Directory Entry (?<RETURN> for Help)? x
  644. MKDIR Command (? for Help)? X      << Exit without saving first
  645.  
  646. Directory has changed since last Write       << MKDIR caught me
  647. Do you want to write Directory to Disk first (Y/N/<CR>=Y)?Y
  648.  
  649. Name of File (<RETURN> = TEMP2   .DIR)?      << Save file
  650. Writing Directory to Disk ... Done
  651.  
  652.  
  653. B7>dir *.dir
  654. TEMP    .DIR  |  TEMP2   .DIR
  655. B7>pwd //                          << PWD Help
  656. PWD, Version 1.1
  657.         PWD is a ZCPR2 named directory display utility
  658. (PWD=Print Working Directory).  Command Forms are:
  659.                 PWD     <-- Print Current Info
  660.                 PWD DIR <-- Print Available Directories
  661.                 PWD //  <-- Print Help Message
  662.  
  663. B7>pwd                             << Print Current Dir
  664. PWD, Version 1.1
  665.  
  666. ** Current Directory **
  667.         B 7: WS      
  668.  
  669.  
  670. B7>pwd dir                         << Print Known Dirs
  671. PWD, Version 1.1
  672.  
  673. ** Directory Display **
  674.  
  675.         ** Named Directory Memory-Based Definitions **
  676.   3 Directory Entries Total (  2 Directories Hidden) --
  677. A --
  678.    0: BASE    
  679.  
  680. Strike Any Key to Continue - 
  681.  
  682.         ** Named Directory  Disk-Based  Definitions **
  683.  22 Directory Entries Total (  4 Directories Hidden) --
  684. A --
  685.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  686.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  687.  
  688.  
  689. B --
  690.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  691.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  692.    9: DBASE   
  693. C --
  694.   0: BACKUP  
  695.  
  696. ** Current Directory **
  697.         B 7: WS      
  698. B7>10:                   << Enter System Dir to see all
  699. B10>pwd dir              << Now look at dirs
  700. PWD, Version 1.1
  701.  
  702. ** Directory Display **
  703.  
  704.  
  705.         ** Named Directory Memory-Based Definitions **
  706.   3 Directory Entries Total (  0 Directories Hidden) --
  707. A --
  708.    0: BASE      15: ROOT      16: HELP    
  709.  
  710. Strike Any Key to Continue - 
  711.  
  712.         ** Named Directory  Disk-Based  Definitions **
  713.  22 Directory Entries Total (  0 Directories Hidden) --
  714. A --
  715.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  716.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  717.   10: SYS       11: ZCPR      15: ROOT      16: HELP    
  718. B --
  719.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  720.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  721.    9: DBASE   
  722. C --
  723.    0: BACKUP  
  724.  
  725. ** Current Directory **
  726.         Noname
  727. B10>ld //                << LD Help
  728. LD  Version 1.1
  729.         LD is the Load Directory program for ZCPR2.
  730. The functions of LD are to load the memory-resident
  731. named directory uffer from the specified or implied
  732. disk file and to display the contents of the named
  733. directory buffer.
  734.  
  735.         The forms of the LD command are --
  736.  
  737.                 LD              <-- Display Loaded Directory
  738.                 LD filename     <-- Load filename.DIR
  739.                 LD filename.typ <-- Load filename.typ
  740.                 LD //           <-- Print this Help Message
  741.  
  742.  
  743. B10>ld                   << Print Status
  744. LD  Version 1.1
  745. **********************************************
  746. ** Memory-Based Named Directory Definitions **
  747. ** Number of Entries Permitted:  50         **
  748. ** Number of Entries Loaded:   3            **
  749. **********************************************
  750.         -- Named Directory Display --
  751. A --
  752.   0: BASE     15: ROOT     16: HELP    
  753.  
  754. ** Current Directory **
  755.         Not Named in Directory Buffer
  756. B10>ld ld                << Load a Directory (LD.DIR)
  757. LD  Version 1.1
  758. Load Complete
  759.  
  760.  
  761. B10>pwd dir              << Print new environ
  762. PWD, Version 1.1
  763.  
  764. ** Diectory Display **
  765.  
  766.         ** Named Directory Memory-Based Definitions **
  767.  13 Directory Entries Total (  0 Directories Hidden) --
  768. A --
  769.    0: BASE      10: SYS       11: ZCPR      15: ROOT    
  770. B --
  771.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  772.    5: BASIC      7: WS         8: CAT        9: DBASE   
  773. C --
  774.    0: BACKUP  
  775.  
  776. Strike Any Key to Continue - 
  777.  
  778.  
  779.         ** Named Directory  Disk-Based  Definitions **
  780.  22 Directory Entries Total (  0 Directories Hidden) --
  781. A --
  782.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  783.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  784.   10: SYS       11: ZCPR      15: ROOT      16: HELP    
  785. B --
  786.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  787.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  788.    9: DBASE   
  789. C --
  790.    0: BACKUP  
  791.  
  792. ** Current Directory **
  793.         Noname
  794.  
  795.  
  796. B10>7:;pwd dir           << Print same environ from non-Sys user
  797. PWD, Version 1.1
  798.  
  799. ** Directory Display **
  800.  
  801.         ** Named Directory Memory-Based Definitions **
  802.  3 Directory Entries Total (  3 Directories Hidden) --
  803. A --
  804.    0: BASE    
  805. B --
  806.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  807.    5: BASIC      7: WS         8: CAT        9: DBASE   
  808. C --
  809.    0: BACKUP  
  810.  
  811. Strike Any Key to Continue - 
  812.  
  813.  
  814.         ** Named Directory  Disk-Based  Definitions **
  815.  22 Directory Entries Total (  4 Directories Hidden) --
  816. A --
  817.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  818.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  819. B --
  820.    0: DEV-BASE  1: ASM        2: BDSC       3: PAS     
  821.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  822.    9: DBASE   
  823. C --
  824.    0: BACKUP  
  825.  
  826. ** Current Directory **
  827.         B 7: WS      
  828.  
  829.  
  830. B7>ld temp2;pwd dir           << Load one of my new environs
  831. LD  Version 1.1
  832. Load Complete
  833. PWD, Version 1.1
  834.  
  835. ** Directory Display **
  836.  
  837.         ** Named Directory Memory-Based Definitions **
  838.   7 Directory Entries Total (  2 Directories Hidden) --
  839. A --
  840.    0: BASE    
  841. B --
  842.    0: WORKBASE   1: WORK1      2: WORK2      3: WORK3   
  843.  
  844. Strike Any Key to Coninue - 
  845.  
  846.  
  847.         ** Named Directory  Disk-Based  Definitions **
  848.  22 Directory Entries Total (  4 Directories Hidden) --
  849. A --
  850.    0: R-BASE     1: R-ASM      2: R-BDSC     3: R-PAS   
  851.    5: R-BASIC    7: R-WS       8: R-CAT      9: R-DBASE 
  852. B --
  853.    0: DEV-BASE   1: ASM        2: BDSC       3: PAS     
  854.    4: SCRATCH    5: BASIC      7: WS         8: CAT     
  855.    9: DBASE   
  856. C --
  857.    0: BACKUP  
  858.  
  859. ** Current Directory **
  860.         B 7: WS      
  861.  
  862.  
  863. B7>ld ld                 << Load Standard Environ
  864. LD  Version 1.1
  865. Load Complete  
  866. B7>cd cat                << CD into CAT Directory
  867. CD Version 2.3
  868.  
  869. MENU  Version 1.4        << MENU automatically comes up!
  870.  
  871.  
  872.                         Disk Cataloging System
  873.  
  874. Catalog Update Functions --
  875.         1 - Update Disks on C: into a Temporary File
  876.         2 - Update the Disk on C: into the Archival Disk File
  877.         3 - Update the Disk on C: into the Active Disk File
  878.  
  879. Merge the Temporary File into --
  880.         4 - The Archival Disk File              5 - The Active Disk File
  881.  
  882. Backup --
  883.         6 - The Archival Disk File              7 - The Active Disk File
  884.  
  885. Scan --
  886.         A- The Archival Disk Catalog            B - The Active Disk Catalog
  887.  
  888.  
  889. Miscellaneous Functions --
  890.         D - Delete the TEMP and BAK Files       T - Display the Date and Time
  891.         X - Display Disk Directory              Z - Issue Any ZCPR2 Command
  892.  
  893. Command (<CR>=Menu, ^C=ZCPR2) - A       << Scan Catalog
  894. Input Files and Disks -- mkdir.mac...............................
  895. CATALOG II  Version 5.3
  896. Catalog File:         MASTER  .CAT
  897. ++ SCAN Catalog Function ++
  898. Date of Last Write/Merge:  15 Jan 83
  899.  
  900. CATALOG File Name: MASTER  .CAT   Date/Comment: 15 Jan 83
  901. Filename.Typ   Diskname.Dsk   Diskname.Dsk   Diskname.Dsk   Disname.Dsk
  902. MKDIR   .MAC   BACK015 .J01   C&ASM   .J06   SRC015  .J00
  903. ++ SCAN Function Complete ++
  904. MENU  Version 1.4 Strike Any Key -           << Give user time
  905.  
  906.  
  907.                         Disk Cataloging System
  908.  
  909. Catalog Update Functions --
  910.         1 - Update Disks on C: into a Temporary File
  911.         2 - Update the Disk on C: into the Archival Disk File
  912.         3 - Update the Disk on C: into the Active Disk File
  913.  
  914. Merge the Temporary File into --
  915.         4 - The Archival Disk File              5 - The Active Disk File
  916.  
  917. Backp --
  918.         6 - The Archival Disk File              7 - The Active Disk File
  919.  
  920. Scan --
  921.         A - The Archival Disk Catalog           B - The Active Disk Catalog
  922.  
  923.  
  924. Miscellaneous Functions --
  925.         D - Delete the TEMP and BAK Files       T - Display the Date and Time
  926.         X - Display Disk Directory              Z - Issue Any ZCPR2 Command
  927.  
  928. Command (<CR>=Menu, ^C=ZCPR2) - Z       << Enter Command Line
  929. Input Command -- cd ws...................................
  930. CD, Version 2.3                    << Return to Dir WS
  931. MENU  Version 1.4                  << MENU tries, but none there
  932.  
  933. B7>                 << At Command Level Again
  934.  
  935.