home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / p / sap40kp.lbr / SAP40.DZC / SAP40.DOC
Encoding:
Text File  |  1993-10-25  |  2.4 KB  |  58 lines

  1.  
  2. SAP v40 -- SORT AND PACK CP/M DISK DIRECTORY -- 09/17/84
  3.  
  4.      This CP/M utility reads the disk directory tracks, sorts the entries
  5. alphabetically and then rewrites them them back to the disk.  All unused
  6. or erased areas on the directory tracks are reformatted with continuous
  7. 'E5' characters.  This completely removes previous file names from the
  8. directory which have been deactivated.  All files of zero length are de-
  9. leted with the with the exception of files beginning with "-".  This
  10. supports labeling disks for the catalog program MCAT.)  The program works
  11. with CP/M 1.4 and CP/M 2.2 but does not work with CP/M 3.0 or M/PM.
  12.  
  13.  
  14.      Sorting the directory in this manner offers many advantages.
  15. Some of them are:
  16.  
  17.     1)  Allows 'DIR' to show an alphabetized listing.
  18.     2)  Eliminates potential problems with "UNERASE" programs by
  19.         removing programs with a similar name that have been
  20.         previously deactivated.
  21.     3)  Speeds up access via 'SD' and other special programs.
  22.     4)  Assists on working directly on the disk with 'DU', etc.
  23.     5)  Removes files from the disk directory that somebody else
  24.         could recover.  (The data is still out there somewhere).
  25.  
  26.      TO USE:
  27.  
  28.      A>SAP40 B:     B: in this case indicate the desired
  29.                disk to be sorted and repacked.  If
  30.                not included, the logged on drive
  31.                will be sorted.
  32.  
  33.  
  34. ========================================================================
  35.  
  36.  09/17/84  Added 'Previously sorted' statement that was included in v37
  37.    v40       but got dropped from v38 when the Shell-Metnzer sort was put
  38.        in.  It still rewrites the directory even if previously
  39.        sorted, to insure erased programs at end of directory are
  40.        properly cleared.        - Irv Hoff
  41.  
  42.  07/27/84  Corrected sorting of last directory entry.
  43.    v39
  44.  
  45.  10/16/83  Now using a Shell-Metzner sort which speeds the sorting time
  46.    v38     considerably, especially on large directories. (SFK)
  47.  
  48.  07/27/83  Shows an error flag for MP/M and CP/M+ both.  Rewrites the
  49.    v37       directory even if previously sorted, to insure erased pro-
  50.        grams at end of directory are properly cleared.
  51.                     - Irv Hoff
  52.  
  53.  1977    Written by L. E. Hughes.  Modified extensively since by Bruce
  54.     Ratoff, Keith Petersen, James Prest, Ron Fowler, Frank Gaude,
  55.     Sigi Kluger, Irv Hoff and likely others.
  56.  
  57. ========================================================================
  58.