home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / s / sd138b.lbr / SD.DZC / SD.DOC
Encoding:
Text File  |  1992-07-23  |  11.0 KB  |  280 lines

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