home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / jsage / znode3 / z80dos / sdzd136.lbr / SDZD.DZC / SDZD.DOC
Encoding:
Text File  |  1993-06-08  |  10.6 KB  |  270 lines

  1.  
  2. SDZD136.DOC         Documentary help guide            20 Aug 88
  3.  
  4.             Super Directory program
  5.             -----------------------
  6.  
  7. INTRODUCTION:
  8. ------------
  9.  
  10. This is a help guide to operate the CP/M-80 Super Directory program.  It
  11. is often renamed to "DIR.COM" on RCP/M systems or on systems running CCP
  12. replacements that allow an external directory program.    It is one of the
  13. most useful and one of the most versatile programs available for CP/M-80
  14. computers.  It can direct its output the the CRT, to a printer or to a
  15. disk file for later reference.    It can alphabetize a directory either
  16. vertically or horizontally (selected when assembling the program but
  17. can be changed to the other mode at any time for the current display.)
  18. It shows how many files have been used on the current drive/user area,
  19. how much space this has taken and how much space remains.  Those and
  20. other useful features are mentioned below.  Spend at least a few moments
  21. looking at the quick-reference option list as you may find some things
  22. are now available that would be quite helpful when using your computer.
  23.  
  24. For all changes made to support Z80DOS date stamping, search this file
  25. for the string "Z80DOS".
  26.  
  27.     To get a HELP Summary of Options:
  28.  
  29.             B0>SD ?
  30.               or
  31.             B0>SD //    (if ZCPR33 equate YES)
  32.  
  33.     Example of Option Usage:
  34.  
  35.             B0>SD $ANDLV (...etc.)
  36.  
  37. (The "$"  denotes start of commands but "/" or "[" may also be used.)
  38.  
  39.  
  40. QUICK SUMMARY OF OPTIONS:
  41. -------------------------
  42.  
  43.      A -  all user areas allowed, (0-15), some systems (0-31)
  44.      C -  shows file sizes in records, rather than 'k'
  45.      D -  all  drives starting with first available (usually A:)
  46.      F -  file "DISK.DIR" created/appended to show disk contents
  47.      H -  shows all user areas from here to highest
  48.      L -  LBR/ARC/ARK list option (shows names of member files)
  49.      N -  defeats the page pause, permits non-stop display
  50.      O -  shows only $SYS files in directory
  51.      P -  copies output to printer
  52.      Q -  shows files that have NOT yet been archived
  53.      R -  resets  disk, if not already logged in
  54.      S -  include any $SYS files
  55.      T -  sorts files by type (extent)
  56.      V -  shows version number and date
  57.      X -  uses alternate listing format (horizontal/vertical)
  58.      1 -  files must have attribute 1 set
  59.      2 -  files must have attribute 2 set
  60.      3 -  files must have attribute 3 set
  61.      4 -  files must have attribute 4 set
  62.  
  63. "Z80DOS support"
  64.      = -  Show files whose date matches input date exactly
  65.      + -  Show files whose date is equal or after input date
  66.      - -  Show files whose date is before input date
  67.      ! -  Use creation date for matches
  68.      % -  Use alteration date for matches
  69.      @ -  Use last access date for matches
  70.      Z -  Do not display file dates
  71.  
  72.  
  73. COMMENTS:
  74. ---------
  75. Using the $D option automatically starts on the first available drive
  76. (usually A:) regardless of what drive you were on when you started.  It
  77. then checks all available drives.  Similarly, using the $A option will
  78. always start with User 0 and individually display each available user
  79. area.  If desired you can include a specified drive/user area on the
  80. command line.  Any of the following can be used:
  81.  
  82.  
  83. EXAMPLES OF USE:
  84. ---------------
  85.  
  86.         1)  B0>SD
  87.         2)  B0>SD *.*
  88.         3)  B0>SD *.COM
  89.         4)  B0>SD C4:
  90.         5)  B0>SD C4: *.COM
  91.         6)  B0>SD $AND
  92.         7)  B0>SD *.COM $AND
  93.         8)  B0>SD *.COM /AND
  94.         9)  B0>SD *.COM[AND
  95. "Z80DOS support"
  96.         10)  B0>SD *.* /= 7/2/88
  97.         11)  B0>SD /=@ 7/2/88
  98.         12)  B0>SD /+! 7/2/88
  99.         13)  B0>SD *.* / 7/2/88 8/15/88
  100.         14)  B0>SD / *-10 *-5
  101.         15)  B0>SD / 7/2/88+5 7/10/88-1
  102.  
  103.     1)    Shows all files on the current drive/user area
  104.     2)    Same as 1)
  105.     3)    All files with .COM extent on current drive/user area
  106.     4)    All files on C4: drive/user area
  107.     5)    All .COM files on C4:
  108.     6)    Shows files on all drives and all user areas, nonstop
  109.       (very useful for making a remote listing of all files)
  110.     7)    All .COM files on all drives and all user areas, nonstop
  111.     8)    Can use '/' UNIX-type command rather than $ if preferred
  112.     9)    Can use '[' CP/M+ type command, no space is permitted
  113. "Z80DOS support"
  114.    10)  Show files whose alteration date matches 7/2/88
  115.    11)  Show files whose last access date matches 7/2/88
  116.    12)  Show files whose creation date was on or after 7/2/88
  117.    13)    Show files whose alteration date is beteen 7/2/88 and 8/15/88
  118.    14)    Show files whose alteration date is between current date-5 days and
  119.                             current date-10 days
  120.    15)    Show files whose alteration date is between 7/7/88 and 7/9/88
  121. OPTIONAL COMMANDS:
  122. ----------------
  123.  
  124. "A" -    All users:  Causes SD to display the directories of all
  125.     the user areas starting at user 0 and continuing to the
  126.     maximum available.  Most systems have 16 user areas 0-15
  127.     but CP/M+ etc., can have 32 user areas 0-31.
  128.  
  129. "C" -    Shows file sizes in records: Gives individual cile sizes
  130.     in records instead of "k".  Sizes are followed by "r"
  131.     instead of the normal "k" to indicate this option in ef-
  132.     fect.  Totals and library summary lines are still given
  133.     in "k". Very nice on larger disk systems where 16k might
  134.     be anything from 97-128 records.
  135.  
  136. "D" -    All disk option: Allows SD to search all disk drives on-
  137.     line.      It starts with the disk drive specified or im-
  138.     plied with the command line filename.    Example:
  139.  
  140.         B0>SD $D       Shows all drives starting with A:
  141.         B0>SD C:$D     SHows all drives starting with C:
  142.  
  143. "F" -    File option: The directory output will be sent to a disk
  144.     file named "DISK.DIR" on the default drive. If this name
  145.     already is present on that drive then the directory out-
  146.     put will be appended to the end of the file.  "DISK.DIR"
  147.     will otherwise start as a new file.  The append feature
  148.     allows you to build up one massive file on the default
  149.     drive that contains the directories of all of your disks
  150.     without having to concatenate a lot of individual files.
  151.  
  152. "H" -    From here option:  Displays files on all user areas from
  153.     current to highest allowed (usually area 15 unless on a
  154.     RCPM system.)  It it handy to use on systems that have
  155.     MANY files on user 0 area, to see what remains on the
  156.     other user areas.  If on B5: for example, using $H would
  157.     show files on all user aread from B5: through B15: if
  158.     permitted to go that high.  (The $A option is ignored if
  159.     included, else the $H option would not be requested.)
  160.  
  161. "L" -    LBR list option:  Allows for listing of ".LBR", ".ARC"
  162.     or ".ARK" file members which are shown followed by their
  163.     length in 'k' (or 'r', if the 'C' option is used).  The
  164.     total length of the entire library is is also shown.
  165.     These are always alphabetized horizontally and may have
  166.     a little border (assembler option) at the left, showing
  167.     it is a library listing.
  168.  
  169. "N" -    No page option:  Shows the display without stopping each
  170.     when the screen is full.  Particularly useful for remote
  171.     users on an RCPM so they can display the entire director
  172.     non-stop for disk copy, etc. by using $AND, etc.
  173.  
  174. "O" -    Shows only $SYS files: Very useful on large system where
  175.     it is harder to notice an occasional $SYS file.
  176.  
  177. "P" -    Copy output to printer:  Highlighting characters are not
  178.     sent (for files that are archived or set as $SYS files)
  179.     and the "N" option is automatically selected to prevent
  180.     [more] pauses.  To insure the file names are similar in
  181.     appearance, only upper-case characters are sent to the
  182.     printer.
  183.  
  184. "Q" -    Shows unarchived files:  Show the files that do NOT have
  185.     the archive flag in a file's directory entry, set.  This
  186.     will show new files that have been recently added to the
  187.     disk. For example, to see a list of ALL new files in ALL
  188.     user areas of ALL drives:
  189.  
  190.         B0>SD $ADQ <ret>
  191.  
  192.     To see the new files in just the area that you are cur-
  193.     rently logged into, enter:
  194.  
  195.             B0>SD $Q <ret>
  196.  
  197.     (Note: This is worthless on systems that do not use any
  198.     archive backup system.)
  199.  
  200. "R" -    Reset disk system:  A disk system reset is done before
  201.     directory information is accumulated. Useful to show the
  202.     correct free space remaining when a new disk has been
  203.     inserted, etc.  (Without a reset, it will show the re-
  204.     maining space for whatever disk was last logged in.) Not
  205.     useful and a waste of time on a hard drive.)
  206.  
  207. "S" -    Include $SYS files:  Files with the $SYS attribute set
  208.     are normally not displayed.  This option includes them.
  209.     Also see the "O" which displays ONLY the $SYS files.
  210.  
  211. "T" -    Order files by type:  Alphabetizes files by type (exten-
  212.     sion).  This groups files of the same type together such
  213.     as .ASM, COM, LBR.)
  214.  
  215. "V" -    SD Version number, suffix, and date is displayed.
  216.  
  217. "X" -    Use alternate listing format - If vertical alphabetiza-
  218.     tion is in effect normally, using this option will cause
  219.     a horizontal listing to be shown.  If horizontal is the
  220.     default, then this option produces a vertical listing.
  221. "1" -
  222. "2" -
  223. "3" -
  224. "4" -    Show only files that meet all other criteria and also have
  225.     this file attribute set. These may occur alone or with each
  226.     other, or with any other criteria. IE:
  227.         SD /1
  228.         SD /23
  229.         SD /1234
  230.         SD /SQ12
  231.     Wheel controllable as is /S.
  232.  
  233. "Z80DOS support"
  234.  
  235. "=" -   The date on the command line will be used for exact matches
  236.     with the date of the file.
  237.  
  238. "+" -    The date on the command line will be used for matching the 
  239.     files whose date was on or after the files date.
  240.  
  241. "-" -    The date on the command line will be used for matching all
  242.     files whose date was before this date.
  243.  
  244. "!" -    The files creation date as known by Z80DOS will be used.
  245.  
  246. "%" -    The files alteration date as known by Z80DOS will be used.
  247.  
  248. "@" -    The files last access date as know by Z80DOS will be used.
  249.  
  250. "Z" -   Do not display file dates. Gives 4 across display on 80 col
  251.     screens (vs 2 with dates).
  252.  
  253. Z80DOS support notes:
  254.  
  255.     1: If no date spec such as ! or % or @ is given, the files
  256.        alteration date will be used.
  257.     2: If no matching spec such as = or + or - is given, the match
  258.        will be an exact one.
  259.     3: If an input line such as SD / 7/2/88 is given, the default
  260.        will be the files alteration date will be matched exactly.
  261.     4: Date math now allows a range of dates to be specified for
  262.        matching files. Note that the options =+- become don't cares
  263.        when specifying a range.
  264.     5: Date math allows relative modifiers to a date, such that you
  265.        can specify + or - 255 days from a given date. Note that
  266.        the date, the + -, and the relative are NOT seperated by spaces.
  267.     6: When * is used as the date, it means current system time.
  268.     7: If the alteration or access date is requested, (or default alter)
  269.        and that date is null(0) for the file, the program will revert
  270.        to the creation date for a comparisons/display.