home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol105 / z2ug.wsh < prev    next >
Encoding:
Text File  |  1985-02-10  |  15.3 KB  |  372 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.    ***********************************************************
  10.    *                                                         *
  11.    *                      USER'S GUIDE                       *
  12.    *                                                         *
  13.    *                           for                           *
  14.    *                                                         *
  15.    *  ZCPR2 -- Z80 Command Processor Replacement, Version 2  *
  16.    *                                                         *
  17.    ***********************************************************
  18.  
  19.  
  20.                                by
  21.  
  22.                           Richard Conn
  23.  
  24.  
  25.  
  26.                         Manual Revision 0
  27.                          4 February 1983
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                           ZCPR2 Version
  35.                                2.0
  36.  
  37.             Copyright (c) 1982, 1983 by Richard Conn
  38.                        All Rights Reserved
  39.  
  40.  
  41.  
  42.      ZCPR2¼á it≤ utilitie≤ a≤ distributed¼á anΣ it≤ documentatioε ì
  43. file≤ a≤ distributeΣ arσ copyrighted¼á 198▓ anΣ 1983¼á b∙ RicharΣ ì
  44. Conn«á  Refe≥á t∩ Appendi° ┴ fo≥ ß completσ listinτ oµ thσá ZCPR▓ ì
  45. distributioε files.
  46.  
  47.  
  48.  
  49.      CP/═ i≤ ß registereΣ trademarδ oµ Digita∞ Research.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                      User's Guide for ZCPR2
  56.  
  57.                         Table of Contents
  58.  
  59.  
  60.           Section                                      Page
  61.  
  62.           Index to ZCPR2 Utility Programs and Resident
  63.                Commands                                Index-1
  64.  
  65.           Foreword                                     Foreword-1
  66.  
  67.           0.0  Introduction                               1
  68.                0.1  Overview of the ZCPR2 Help Files      2
  69.                0.2  A Note on File References             3
  70.                0.3  Line Editing and Output Control       3
  71.  
  72.           1.0  Input/Output                               5
  73.                1.1  Redirectable I/O Under ZCPR2          5
  74.                1.2  Loading Redirectable I/O Drivers      6
  75.                1.3  Displaying and Selecting Redirectable
  76.                          I/O Drivers                      6
  77.                1.4  Controlling the Disk Output Facility  9
  78.                1.5  Redirectable I/O and the ZCPR2 Sys   11
  79.                1.6  On the Programming of Terminals      11
  80.  
  81.           2.0  Directory Utility                         12
  82.                2.1  Overview of XDIR3                    12
  83.                2.2  Basic Use of XDIR3 Under ZCPR2       13
  84.                2.3  XDIR3 Output Control Options         15
  85.                2.4  XDIR3 File Selection Options         16
  86.                2.5  XDIR3 File Name Buffer Facility      18
  87.                2.6  Use of XDIR3 on Secure Systems       20
  88.                2.7  Installation of XDIR3                21
  89.  
  90.           3.0  Disk Utility                              24
  91.                3.1  Invoking DU2 and DU2 Installation    24
  92.                3.2  DU2 Command Summary                  25
  93.                3.3  Commands for Logging and Viewing
  94.                          Disk Parameters                 26
  95.                3.4  Commands for Positioning and Reading 29
  96.                3.5  Commands for Searching for Data      32
  97.                3.6  Commands for Saving and Restoring    33
  98.                3.7  Commands for Viewing Data            36
  99.                3.8  Commands for Altering Data           37
  100.                3.9  Commands for Manipulating Macros
  101.                          and the @ Command               40
  102.                3.10 Miscellanea                          43
  103.                3.11 Examples                             44
  104.                3.12 Interpretation of Directory Data
  105.                          Presented by DU2                46
  106.            (Table of Contents Continued on Next Page)
  107. è
  108.                      User's Guide for ZCPR2
  109.  
  110.                         Table of Contents
  111.  
  112.  
  113.           Section                                      Page
  114.  
  115.           4.0  Library Utilities                         47
  116.                4.1  Author Credits and Introduction      47
  117.                4.2  Why Use Libraries?                   48
  118.                4.3  Why Not Use Libraries?               48
  119.                4.4  How to Use the Library Utility LU    49
  120.                4.5  Summary of Operators                 50
  121.                4.6  LU Command Line Forms                53
  122.                4.7  CAUTIONS                             54
  123.                4.8  LRUNZ Command                        55
  124.                4.9  LDIRZ Command                        57
  125.                4.10 LRUNZ as an Extended Command
  126.                          Processor Under ZCPR2           57
  127.  
  128.           5.0  Menu                                      59
  129.                5.1  Overview of MENU                     59
  130.                5.2  Summary of MENU Commands             63
  131.                5.3  Programming MENU.CPR Files           64
  132.                5.4  MENU.CPR Commands                    67
  133.                5.5  MENU Programming Command Summary     69
  134.                5.6  MENU's Relationship to the ZCPR2 Sys 70
  135.                5.7  MENU Error Messages                  71
  136.                5.8  MCHECK -- MENU.CPR Syntax Checker    71
  137.  
  138.           6.0  File Compare Utilities                    74
  139.                6.1  File Comparision Utilities Under
  140.                          ZCPR2                           74
  141.                6.2  CRC Check Utility Under ZCPR2        74
  142.                6.3  Examples                             75
  143.  
  144.           7.0  File Copy Utility                         78
  145.                7.1  MCOPY Overview                       78
  146.                7.2  MCOPY Command Line Options           79
  147.                7.3  MCOPY Interactive Mode               80
  148.                7.4  Sample MCOPY Sessions                81
  149.  
  150.           8.0  Command Files                             84
  151.                8.1  Command File Processing              84
  152.                8.2  Disk-Based Command Files -- SUB2     85
  153.                8.3  SUB2 Error Messages                  86
  154.                8.4  SUB2 Command Summary                 87
  155.                8.5  Memory-Based Command Files -- ZEX    87
  156.                8.6  ZEX Control Commands                 88
  157.                8.7  Restrictions on Command Files        93
  158.                8.8  SUB2 and ZEX as ECPs Under ZCPR2     94
  159.  
  160.            (Table of Contents Continued on Next Page)
  161.  
  162.                      User's Guide for ZCPR2
  163.  
  164.                         Table of Contents
  165.  
  166.  
  167.           Section                                      Page
  168.  
  169.           9.0  Named Directories                         95
  170.                9.1  Overview of the Named Directory
  171.                          Concept                         95
  172.                9.2  Creating Named Directory Files with
  173.                          MKDIR                           96
  174.                9.3  Disk-Based and Memory-Based Named
  175.                          Directories                     99
  176.                9.4  Loading Named Directory Files       101
  177.                9.5  Printing Named Directory Files      101
  178.                9.6  Moving About with CD                102
  179.                9.7  Poor Little ECHO and CD             103
  180.                9.8  System Directories                  103
  181.                9.9  Sample Sessions                     104
  182.  
  183.          10.0  ZCPR2 Resident and Alternate Commands    114
  184.                10.01 The DIR Command                    114
  185.                10.02 The ERA Command                    115
  186.                10.03 The REN Command                    115
  187.                10.04 The TYPE and LIST Commands         115
  188.                10.05 The SAVE Command                   116
  189.                10.06 The GET Command                    116
  190.                10.07 The GO Command                     116
  191.                10.08 The JUMP Command                   117
  192.                10.09 The DU Form for Changing Disk and
  193.                          User                           117
  194.                10.10 Alternates to the ZCPR2 Residents  118
  195.                10.11 The XDIR Command                   119
  196.                10.12 The ERASE Command                  120
  197.                10.13 The RENAME Command                 122
  198.                10.14 The PAGE Command                   123
  199.                10.15 The PRINT Command                  124
  200.                10.16 The PROTECT Command                125
  201.                10.17 The PATH Command                   126
  202.                10.18 The WHEEL Command                  128
  203.  
  204.           11.0 Help System                              129
  205.                11.1 The HELP2 Subsystem for Online
  206.                          Documentation                  129
  207.                11.2 Welcome to the HELP Command         129
  208.                11.3 How to Use the HELP Command         130
  209.                11.4 Moving Around Within the HELP Cmnd  131
  210.                11.5 HELP Command Prompts                133
  211.                11.6 HELP Error Messages                 134
  212.                11.7 How to Write HELP Files             135
  213.                11.8 The Tree Structure of HELP          137
  214.                11.9 Sample HELP Files Illustrating Use
  215.                          of Tree Structure              137
  216. è.he                ZCPR2 User's Guide -- Program Index
  217. .fo                                               Page Index-#
  218. .pn 1
  219.  
  220.                      User's Guide for ZCPR2
  221.       Index to ZCPR2 Utility Programs and Resident Commands
  222.  
  223. Program Name   Version   Built-In Help  References
  224.  
  225. CD               2.3          Yes       70, 96, 102
  226. COMPARE          1.4          Yes       74
  227. CONFIG           1.2          Yes       11
  228. CRC              2.0          Yes       74
  229.  
  230. DEVICE           1.3          Yes       6
  231. DIFF             1.6          Yes       74
  232. DIR*             ---          No        114
  233. DU2              1.0          Yes       24
  234.  
  235. ECHO             1.1          Yes       115
  236. ERA*             ---          No        115
  237. ERASE            4.0          Yes       118, 120
  238.  
  239. GO*              ---          No        116
  240. GENINS           2.2          No        6, 11, 19, 21, 70
  241. GET*             ---          No        116
  242.  
  243. HELP or HELP2    4.0          Yes(1)    129
  244.  
  245. IOLOADER         1.3          Yes       6
  246.  
  247. JUMP*            ---          No        117
  248.  
  249. LD               1.1          Yes       96, 101
  250. LDIRZ            2.0          Yes       47, 57
  251. LIST*            ---          No        115
  252. LRUNZ            1.0          Yes(2)    47, 55
  253. LU               1.10         No        47
  254.  
  255. MCHECK           1.1          Yes       71
  256. MCOPY            3.0          Yes       78
  257. MENU             1.4          No        59
  258. MKDIR            1.2          Yes       96
  259.  
  260. PAGE             1.0          Yes       118, 123
  261. PATH             1.0          Yes       118, 126
  262. PRINT or PRINT3  1.0          Yes       118, 124
  263. PROTECT          2.0          Yes       118, 125
  264. PWD              1.1          Yes       96, 101
  265.  
  266. RECORD           1.4          No        6, 9
  267. REN*             ---          No        115
  268. RENAME           2.0          Yes       118, 122
  269.  
  270. * Denotes a ZCPR2 Resident Command
  271. (1) HELP, HELP HELP, or HELP HELP2 invokes Help on HELP
  272. (2) LRUNZ without any arguments invokes a Help Message
  273.  
  274.  
  275.                      User's Guide for ZCPR2
  276.       Index to ZCPR2 Utility Programs and Resident Commands
  277.                       Continuation of Index
  278.  
  279. Program Name   Version   Built-In Help  References
  280.  
  281. SAVE*            ---          No        116
  282. ST or STARTUP    1.4          Yes       6, 70, 102
  283. SUB or SUB2      2.3          Yes       84, 85
  284. SYSIO            N/A          No        5
  285.  
  286. TINIT            2.0          Yes       11
  287. TYPE*            ---          No        115
  288.  
  289. WHEEL            1.1          Yes       118, 128
  290.  
  291. XDIR3            1.5          Yes       12, 118, 119
  292.  
  293. ZEX              1.3          Yes       84, 87
  294.  
  295. * Denotes a ZCPR2 Resident Command
  296.  
  297.  
  298. Other Notes:
  299.  
  300.      1«á  Thesσ arσ thσ versioε number≤ oµ thσ ZCPR▓ Utilitie≤ a⌠ ì
  301. distribution time.
  302.  
  303.      2«  B∙ Built-Iε Help¼ ╔ refe≥ t∩ thσ "standardó ╔ adopteΣ iε ì
  304. tha⌠á ßá commanΣ oµ thσ forφ "CMN─ //ó cause≤ ß hel≡á messagσá oε ì
  305. tha⌠ commanΣ t∩ bσ displayed«á  A≤ yo⌡ caε see¼á tha⌠á "standardó ì
  306. applie≤ iε man∙ cases¼ bu⌠ no⌠ al∞ cases.
  307.  
  308.      3«á  Documentatioεá oε thesσ ZCPR▓ command≤ caε bσ founΣá iε ì
  309. three places:
  310.           A.  The command itself (CMND // form)
  311.           B.  The User's Guide for ZCPR2
  312.           C«  Thσ Onlinσ Documentatioε Systeφ (HELP/HL╨ Files)
  313.  
  314.      4«á  Thσ example≤ iε thσ manual≤ werσ createΣ ove≥ ßá perioΣ ì
  315. oµá time¼á and¼á a≤á ß consequence¼á thσ versioε number≤á oµá thσ ì
  316. program≤á ma∙ no⌠ bσ thσ samσ a≤ thσ versioε number≤ oµ thσ file≤ ì
  317. iε thσ distribution«á  D∩ no⌠ bσ alarmeΣ a⌠ this«á  Thσá example≤ ì
  318. arσ stil∞ correc⌠ anΣ stil∞ ge⌠ thσ ideß acros≤ (╔ hope)¼ anΣ thσ ì
  319. versioεá number≤ referenceΣ iε thi≤ lis⌠ anΣ iε thσá distributioε ì
  320. files themselves are what count.
  321.  
  322. .he                  ZCPR2 User's Guide -- Foreword
  323. .fo                                               Page Foreword-#
  324. .pn 1
  325.  
  326.                             Foreword
  327.  
  328.      Welcomσá t∩ thσ worlΣ oµ ZCPR2«á  Thi≤ i≤ onσ oµ fou≥á ZCPR▓ ì
  329. manuals¼ namel∙ thσ User'≤ Guide«  It≤ purposσ i≤ t∩ tel∞ yo⌡ ho≈ ì
  330. t∩ usσ ZCPR▓ anΣ it≤ utilities¼á anΣ i⌠ i≤ mainl∙ ß tutoria∞á anΣ ì
  331. referencσá oεá thσ utilitie≤ distributeΣ a≤ ß par⌠ oµá thσá ZCPR▓ ì
  332. System«á  Therσá arσá threσá othe≥ manual≤ iεá thσá ZCPR▓á manua∞ ì
  333. series:
  334.  
  335.           o the Concepts Manual
  336.           o the Installation Manual
  337.           o the Rationale
  338.  
  339.      Thσá Concept≤ Manua∞ i≤ ß gooΣ manua∞ t∩ reaΣá first«á  Oncσ ì
  340. completed¼á thσá intermediatσ o≥ advanceΣ use≥ shoulΣ bσ read∙ t∩ ì
  341. instal∞ ZCPR▓ oε hi≤ microcomputer«  T∩ perforφ thσ installation¼ ì
  342. thσ Installatioε Manua∞ i≤ provided«á  Thi≤ i≤ ver∙ technica∞ anΣ ì
  343. assume≤á intimatσá knowledgσ oµ 808░ anΣá Z8░á assembl∙á languagσ ì
  344. programming«á  Fo≥á reader≤ withou⌠ sucΦ knowledge¼á ╔á recommenΣ ì
  345. tha⌠á yo⌡ finΣ you≥ neares⌠ compute≥ cluΓ (anΣ therσ arσ TON╙á oµ ì
  346. them⌐ anΣ seeδ help«á  Compute≥ Club≤ arσ ver∙ nicσ fo≥ tha⌠ sor⌠ ì
  347. oµ thing«á  ╔ myselµ aφ ß membe≥ oµ thσ Amateu≥ Compute≥ Grou≡ oµ ì
  348. Ne≈ Jerse∙ (ACG-NJ)¼á whicΦ i≤ ove≥ 110░ member≤ strong«  Gettinτ ì
  349. involveΣá iε ß compute≥ cluΓ caε reall∙ bσ lot≤ oµ fuε anΣ educaì
  350. tional¼ anΣ informatioε anΣ programs¼ likσ ZCPR2¼ caε bσ shared.
  351.  
  352.      Thσá purposσá oµ thσ Concept≤ Manua∞ i≤ t∩ introducσ yo⌡á t∩ ì
  353. thσ basic¼á underlyinτ principle≤ behinΣ ZCPR▓ anΣ t∩ givσ yo⌡á ß ì
  354. workinτ knowledgσ oµ thσ followinτ things:
  355.  
  356.           o What ZCPR2 Is
  357.           o What ZCPR2 is Capable of Doing
  358.           o How to Use ZCPR2
  359.           o How to Adapt ZCPR2 to Your Particular Desires
  360.  
  361.      Finally¼á thσ las⌠ manua∞ i≤ thσ Rationale«á  Thi≤ manua∞ i≤ ì
  362. aεá exposeº oµ wh∙ ╔ diΣ thing≤ likσ ╔ diΣ witΦ ZCPR2¼á wha⌠á thσ ì
  363. tradσá off≤ were¼á wha⌠ direction≤ werσ takeε iε thσá desigεá anΣ ì
  364. why¼á anΣá othe≥á sucΦ technica∞ ditties«á  Thi≤ manua∞ i≤á quitσ ì
  365. technica∞á anΣ i≤ provideΣ t∩ givσ thσ intermediatσ anΣá advanceΣ ì
  366. CP/═á use≥ ß bette≥ feelinτ anΣ understandinτ oµ ZCPR▓á internal≤ ì
  367. anΣ concepts.
  368.  
  369.      ╔á sincerel∙á hopσ yo⌡ enjo∙ usinτ ZCPR2«á  I⌠á ha≤á beeεá ß ì
  370. pleasurσ creatinτ it¼á anΣ i⌠ i≤ als∩ ß lo⌠ oµ fuε t∩ usσ it«  M∙ ì
  371. opinion¼ oµ course«  Takσ care¼ anΣ gooΣ luck.
  372.  
  373.                                         Richard Conn
  374.