home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / zsys / simtel20 / zcpr3 / sysrcp.hlp < prev    next >
Encoding:
Text File  |  1994-07-13  |  6.0 KB  |  229 lines

  1. The Commands in SYSRCP
  2. CP        Copy a File
  3. DIR       Display Directory
  4. ECHO      Echo Command Tail
  5. ERA       Erase Files
  6. LIST/TYPE Display a File on Printer/CRT
  7. NOTE      Comment
  8. PEEK/POKE Display/Alter Memory
  9. PROT      Protect Files
  10. REG       ZCPR3 Register Display/Alter
  11. REN       Rename a File
  12. WHL       Set/Reset Wheel Byte
  13. :The Commands in SYSRCP
  14.  
  15.      Thσá standarΣá ZCPR│á Systeφ Residen⌠á CommanΣá Packagσ ì
  16. (RCP⌐ distributeΣ witΦ thσ ZCPR│ systeφ contain≤ ß numbe≥ oµ ì
  17. command≤á whicΦá ma∙á bσ enableΣ a⌠ thσá discretioεá oµá thσ ì
  18. installer.  These commands are described in the HELP file.
  19.  
  20.      Al∞á command≤ anΣ option≤á arσá installation-dependent«  ì
  21. Thσá SHO╫á commanΣ ma∙ bσ useΣ t∩ displa∙ thσ name≤á oµá thσ ì
  22. available commands in the currently-loaded RCP.
  23.  
  24. :CP Command
  25.     Transient Counterpart: MCOPY
  26.  
  27.     Thσá C╨á commanΣá copie≤ onσ filσá froφá onσá D╒á t∩ ì
  28. anothe≥á o≥á int∩ thσ samσ D╒ unde≥ ß differen⌠á name«á  Thσ ì
  29. synta° is:
  30.  
  31.         CP dir:ufn=dir:ufn
  32.  
  33.     Examples:
  34.         CP f1.txt=f2.txt
  35.         CP a15:=f1.txt
  36.         CP a15:f2.txt=c5:f1.txt
  37.  
  38. :DIR Command
  39.     Transient Counterpart: DIR, XD, XDIR
  40.  
  41.     Thσá DI╥ commanΣ display≤ thσ director∙ oµ file≤á iε ì
  42. alphabetica∞ orde≥ acros≤ thσ line≤ t∩ thσ user«  Thσ synta° ì
  43. is:
  44.  
  45.         DIR dir:afn o
  46.  
  47.         Options are:
  48.           S - Display System Files Only
  49.           A - Display Both Non-System and System Files
  50.  
  51.     Examples:
  52.         DIR b7:
  53.         DIR root:*.com
  54.  
  55. :ECHO Command
  56. è    Transient Counterpart: ECHO
  57.  
  58.     ECH╧á i≤á usefu∞ iε issuinτ botΦá message≤á (t∩á thσ ì
  59. user¼ sa∙ withiε ß commanΣ filσ durinτ execution⌐ anΣ escapσ ì
  60. sequences«á  ECH╧á caεá senΣ it≤ outpu⌠ t∩ thσá consolσá (b∙ ì
  61. default⌐ o≥ t∩ thσ printe≥ (iµ thσ firs⌠ non-blanδ characte≥ ì
  62. i≤á ßá dolla≥ sign)«á  I⌠ use≤ BIO╙ calls¼á s∩á al∞á contro∞ ì
  63. character≤áá arσá passeΣá exactly«áá  Hence¼áá console-leve∞ ì
  64. programminτ oµ sucΦ device≤ (CRT≤ anΣ Printers⌐ i≤ possible.
  65.  
  66.         Examples:
  67.  
  68.                ECHO $this is a test
  69.                     -- THIS IS A TEST is printed on printer
  70.  
  71.                ECHO this is a test
  72.                     -- THIS IS A TEST is printed on console
  73.  
  74. :ERA Command
  75.     Transient Counterpart: ERASE
  76.  
  77.     Thσ ER┴ commanΣ erase≤ files«  Thσ synta° is:
  78.  
  79.         ERA dir:afn
  80. or:
  81.         ERA dir:afn I    -- Inspect files first
  82.  
  83.     Examples:
  84.         ERA b7:*.bak
  85.         ERA text:*.tmp i
  86.  
  87. :LIST and TYPE Commands
  88.     Transient Counterpart: PRINT and PAGE
  89.  
  90.     Thσá TYP┼á commanΣ display≤ ß grou≡ oµ file≤ oεá thσ ì
  91. CR╘á whilσ thσ LIS╘ commanΣ print≤ ß grou≡ oµ file≤á oεá thσ ì
  92. Printer«  Thσ synta° is:
  93.  
  94.              TYPE dir:afn o  -or-  LIST dir:afn
  95.  
  96.         Option to TYPE:
  97.           P - Do NOT Page Output to CRT
  98.  
  99.     Examples:
  100.         TYPE b7:*.asm
  101.         LIST text:*.txt
  102.  
  103. :NOTE Command
  104.     Transient Counterpart: NOTE
  105.  
  106.     NOT┼ i≤ simpl∙ ß NO╨ (d∩ nothing⌐ commanΣ whicΦá caε ì
  107. bσ useΣ t∩ placσ comment≤ int∩ multiplσ commanΣ lines«á  Fo≥ ì
  108. instance¼ iε thσ followinτ line:
  109.  
  110.         dir *.comnote this is a dir displayera *.bak
  111. è
  112. thσá DI╥ anΣ ER┴ command≤ perforφ normally¼á anΣ NOT┼ simpl∙ ì
  113. doe≤ nothinτ ver∙ efficiently.
  114.  
  115. :PEEK and POKE Commands
  116.     Transient Counterpart: None (Subset of DDT)
  117.  
  118.     Thσá PEE╦ commanΣ allow≤ thσ use≥ t∩ examinσ ß chunδ ì
  119. oµá memory«á  Iµ thσ use≥ simpl∙ type≤ "Pó witΦ n∩á address¼ ì
  120. thσá nex⌠ 25╢ byte≤ oµ memor∙ arσ displayed«á  Iµá thσá use≥ ì
  121. type≤á "╨á address"¼á 25╢á byte≤ oµ memor∙ startinτá a⌠á thσ ì
  122. indicateΣ addres≤ arσ displayed«  Iµ thσ use≥ type≤ "╨ addr▒ ì
  123. addr2"¼á memor∙á iε thi≤ addres≤ rangσá i≤á displayed«á  Thσ ì
  124. syntax:
  125.  
  126.         P
  127. or:
  128.         P address
  129. or:
  130.         P addr1 addr2
  131.  
  132.  
  133.     Thσá POK┼á commanΣá allow≤ thσ use≥á t∩á changσá thσ ì
  134. conten⌠á oµá memory«á  Thσ use≥ mus⌠ specif∙ aεá addres≤á t∩ ì
  135. POKE¼ anΣ tw∩ basiπ form≤ arσ allowed:
  136.  
  137.         POKE address val1 val2 ... valn
  138. and:
  139.         POKE address "character string
  140.  
  141. Thσá tw∩á form≤ ma∙ bσ intermixeΣ witΦ leadinτ value≤ anΣá ß ì
  142. trailinτ characte≥ string:
  143.  
  144.         POKE address val1 val2 ... valn "character string
  145.  
  146.  
  147.     Examples:
  148.         P
  149.         P f400
  150.         P f400 f425
  151.         POKE f400 0 1 2
  152.         POKE f400 "this is a test
  153.         POKE f400 1 2 3 "hello, world
  154.  
  155. :PROT Command
  156.     Transient Counterpart: PROTECT
  157.  
  158.     Thσ PRO╘ commanΣ set≤ thσ filσ protectioε attribute≤ ì
  159. fo≥ ß grou≡ oµ files«á  Thσ R/╧ anΣ Systeφ attribute≤ ma∙ bσ ì
  160. se⌠ witΦ thσ ╥ anΣ ╙ options¼á resp¼á giveε iε an∙ orde≥á a≤ ì
  161. "RSó o≥ "SR"«á  Omissioε oµ onσ oµ thesσ option≤ toggle≤ thσ ì
  162. oppositσá (ie¼á omissioεá oµ ╥ make≤ thσá file≤á R/W)«á  Thσ ì
  163. syntax:
  164.  
  165.         PROT dir:afn
  166. or:
  167.         PROT dir:afn R
  168. or:
  169.         PROT dir:afn S
  170. or:
  171.         PROT dir:afn RS  -or-  PROT dir:afn SR
  172.  
  173.     Examples:
  174.         PROT b7:*.com rs
  175.         PROT text:*.txt
  176. :REG Command
  177.     Transient Counterpart: REG
  178.  
  179.      The REG command forms are:
  180.     REG D or REG    = display values of all registers
  181.     REG Mreg    = subtract 1 from register (Minus)
  182.     REG Preg    = add 1 to register (Plus)
  183.     REG Sreg value    = set value of indicated register
  184.  
  185.     ┴ registe≥ i≤ ß ZCPR│ registe≥ buffer¼á indicateΣ b∙ ì
  186. ß digi⌠ froφ ░ t∩ 9.
  187.  
  188.     Examples:
  189.         REG S0 4    -- reg 0 = 4
  190.         REG S5        -- reg 5 = 0
  191.         REG P        -- reg 0 = reg 0 + 1
  192.         REG P5        -- reg 5 = reg 5 + 1
  193.         REG M9        -- reg 9 = reg 9 - 1
  194.         REG D        -- show values
  195.         REG        -- show values
  196. :REN Command
  197.     Transient Counterpart: RENAME
  198.  
  199.     Thσá RE╬á commanΣá change≤ thσ namσ oµ onσá filσá t∩ ì
  200. another«  Thσ syntax:
  201. è
  202.         REN dir:ufn1=ufn2
  203.  
  204.     Examples:
  205.         REN newfile.txt=oldfile.txt
  206.         REN root:sys.rcp=sys1.rcp
  207.  
  208. :WHL Command
  209.     Transient Counterpart: WHEEL
  210.  
  211.     Thσá WH╠ commanΣ i≤ useΣ t∩ turε ofµ thσ Whee∞á Bytσ ì
  212. (makσ thσ use≥ non-priveleged⌐ o≥ t∩ turε oε thσ Whee∞á Bytσ ì
  213. (makσ thσ use≥ priveleged)«  Thσ synta° is:
  214.  
  215.         WHL        -- make user non-priveleged
  216. or:
  217.         WHL password    -- make user priveleged
  218.  
  219.     Also¼á thi≤á equatσ enable≤ thσ WHL╤ command¼á whicΦ ì
  220. display≤ thσ statσ oµ thσ Whee∞ Byte«  Thσ synta° is:
  221.  
  222.         WHLQ
  223.  
  224.         The Wheel password is built into the RCP.
  225.  
  226.  
  227.     Examples:
  228.         WHL
  229.         WHL mypass
  230.         WHLQ
  231.  
  232.