home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / JSAGE / ZSUS / LBR / LDIRB22.LBR / LDIRB22.HZS / LDIRB22.HIS
Text File  |  1991-09-10  |  10KB  |  178 lines

  1.  ************************************************************************
  2.  *                                                                      *
  3.  *                                 LDIR-B                               *
  4.  *                                                                      *
  5.  ************************************************************************
  6.  
  7.            Placed into the public domain by Steven G. Greenberg.
  8.  
  9.           Responsible updates encouraged, please document below.
  10.  
  11. ---------------------------------------------------------------------------
  12.                               Update History
  13. ---------------------------------------------------------------------------
  14. v2.20  September 10, 1991  Bruce Morgen
  15.      Repaired two minor display flaws.  When listing a library with an
  16.      internal modify date (but no internal create date) and a member
  17.      wildcard token, v2.10 and earlier left no space between the closing
  18.      parenthesis of the member wildcard display and the word "Modify"
  19.      (previously "Mod"); this is now fixed.  v2.2 also adds an single
  20.      one-byte instruction to assure that the initial LDIRB header does
  21.      not scroll off the screen when listing large libraries' contents.
  22.  
  23. ...........................................................................
  24.  
  25. v2.10  September 5, 1991  Gene Pizzetta
  26.      Added divider line before summary line (looks more like UNARC which 
  27.      was Steven's intent).  Summary consolidated to single line (was able 
  28.      to coax variable length numbers out of DECOUT with a little extra 
  29.      code).  Changed "Cre date" (What was that, again?) and "Mod date" to 
  30.      "Created" and "Modified".  Created new documentation file and moved 
  31.      history to separate file so there's some headroom.  Crunched the code 
  32.      some more and it's a few bytes shorter!
  33.  
  34.      Known bug:  Libraries with more than 999 members will likely cause the 
  35.      summary line to wrap, but he who does it, deserves it!
  36.  
  37. ...........................................................................
  38.  
  39. v2.00  August 20, 1991  Bruce Morgen
  40.      Two subtle tweaks suggested by Jay Sage: control character filter on 
  41.      all CRUNCH/LZH comment strings, summary line shown even if there are 
  42.      no matching files.  Also, LBR file name shown on summary line (a boon 
  43.      when listing big LBRs!).  One byte short of the 2K mark....
  44.  
  45. ...........................................................................
  46.  
  47. v1.90  August 15, 1991  Bruce Morgen (unreleased)
  48.      Introduced a summary of LBR directory statistics as suggested by Jay 
  49.      Sage.  Did some fairly severe code crunching to keep the program at 
  50.      the 2K mark, ran across and repaired a bug that had not surfaced 
  51.      previously because a referenced defined space is now above the COMfile 
  52.      image instead of in it.  The value at OFFSET is now written and read 
  53.      as a byte, not written as a byte and read as a word, which was a tince 
  54.      longer/slower anyway!  Fixed long standing cosmetic problem with 
  55.      internally dated LBRs combined with member wildcard specification at 
  56.      the command line.
  57.  
  58. ...........................................................................
  59.  
  60. v1.80  February 24, 1991  Gene Pizzetta
  61.      Oops!  v1.70 was not initializing MEMCTR so the GO command gave 
  62.      incorrect number of matching members.  Fixed it!
  63.  
  64. ...........................................................................
  65.  
  66. v1.70  February 17, 1991  Gene Pizzetta
  67.      CR23D does not reset high bits when crunching files and I got tired of 
  68.      seeing strange characters in the uncrunched member names shown by 
  69.      LDIRB.  Those high bits are now reset in the display.  While I was at 
  70.      it, I added the one feature I always missed.  A summary line is now 
  71.      printed giving the number of matching member files found.  A version 
  72.      (VERS) equate was added at the beginning of this file and the version 
  73.      date was removed from the usage screen to facilitate version updates.  
  74.      Blank lines were removed from the displays to make them more compact.  
  75.      The syntax line under ZCPR3 now shows "dir:" instead of "du:", which 
  76.      is correct.  Lastly, under ZCPR3 the program error flag is now set if 
  77.      no matching member files are found (FFh), if the library file is not 
  78.      found (10), or if the library is corrupt (4).
  79.  
  80. ...........................................................................
  81.  
  82. v1.60  July 1, 1990  Howard Goldstein
  83.      Fixed problems associated with zero-length member files.  The program 
  84.      was attempting to read the first record of each member file.  Not too 
  85.      cool if the member file is empty!  Modified to display original file 
  86.      name on squeezed as well as crunched files.  Corrected usage message.  
  87.      Removed all old commented-out code; shortened code in a few places.  
  88.      Modified the code that reads the LBR directory into memory to exclude 
  89.      each member's CRC.  This gets us down to 19 bytes per entry again.
  90.  
  91. ...........................................................................
  92.  
  93. v1.50  September 19, 1989  Sean N. Sullivan
  94.      Really simple fix to add capability to recognize files compressed by 
  95.      CRLZH.  Also if file is not compressed (i.e., neither squeezed, 
  96.      crunched, nor crlzhed), the LDIR listing says that it is "Stored".  A 
  97.      minor change to the help display so it looks a little more like a 
  98.      ZCPR3 help display.  Plus a minor change to the listing heading 
  99.      (HEDING:).
  100.  
  101. ...........................................................................
  102.  
  103. v1.40  July 1, 1988  Michal Carson
  104.      Added display of datestamps for the library itself.  Corrected one bug 
  105.      with interpretation of crunched-file datestamp headers; 0ffh was not 
  106.      being converted back into 00h.  This caused trash to be displayed in 
  107.      the guise of a datestamp, specifically "FF ore] FF".  Look familiar?  
  108.      No?  Oh, well.  Re-arranged pfname routine to downcase letters of a 
  109.      filename which have high bits set; these should not be appearing in 
  110.      libraries and if they do appear, we certainly want to be aware of 
  111.      them.  Extchr has been replace by crflag which will contain 0ffh if 
  112.      the file is crunched; this serves the same purpose as storing the 
  113.      middle letter of the file extension in extchr.  Changed method of 
  114.      determining a file's compression; the first sector of each file is now 
  115.      read and the first two bytes examined for crunched or squeezed 
  116.      headers.  This will add very little to the execution time given that 
  117.      crunching is very common now and we would read a sector of any 
  118.      crunched file anyway.  Uncommented code to exit with a warm boot if 
  119.      the byte at 111h is not zero (0ffh).
  120.  
  121. ...........................................................................
  122.  
  123. v1.30  May 28, 1988  Michal Carson
  124.      Added support for Modification date.  Changes to display--eliminated 
  125.      CRC to make room; my apologies to anyone for whom the CRC display held 
  126.      great significance.  LINLEN lost two more characters (now 19).  
  127.      Version 1.20 was not available; I have seen only a com file.
  128.  
  129. ...........................................................................
  130.  
  131. v1.10  November 5, 1987  Bruce Morgen
  132.      Added minimalist ZCPR3 support.  If the program is installed via Z3INS 
  133.      or Z-RIP (or auto-installed at run-time by ZCPR 3.3+ or by BGii 
  134.      1.13+), LDIR-B will get the wheel byte address and CRT length from the 
  135.      ZCPR3 environment and will log into the user area parsed into DFCB+13 
  136.      by the CPR.  This revision necessarily moves the configuration bytes 
  137.      up by eight bytes; it also uses the extra byte at "SPARE:" as the MSB 
  138.      of the wheel byte address and no longer assumes that the wheel byte is 
  139.      on page 0 (commercial ZCPR3 implementations tend to follow the 
  140.      "Echelon Standard" memory map, established by Joe Wright, which puts 
  141.      the wheel byte up at FDFFh).  LDIR-B now displays filesizes in records 
  142.      as well as kbytes.  The record count is more easily related to the 
  143.      file transfer progress displays of IMP and MEX, and with the DECOUT 
  144.      routine already available, why not?  Reduced "LINLEN" to 21 and 
  145.      revised "HEDING:" format to accomodate the record count inclusion.  
  146.      LDIR-B now accepts the second token on the incoming command line as an 
  147.      optional wildcard filespec for selecting the library member files to 
  148.      be shown.  If present, this selection is displayed following the 
  149.      library's name in the "( --> filename.typ)" format.  The rather silly 
  150.      1023-member restriction is also removed through the simple expedient 
  151.      of using a 16-bit value at "DIRLEN:" and adding a little extra code to 
  152.      handle the bigger numbers.  Fixed bug handling LBRs with no member 
  153.      files, same code handles a no-match situation with the user-supplied 
  154.      wildcard.
  155.  
  156. ...........................................................................
  157.  
  158. v1.00 (ver B)  18 Oct 87  Steven Greenberg
  159.      For additional system security, will ignore LBR files with SYS 
  160.      attribute set if wheel byte is zero.  The wheel byte location is 
  161.      defined by the byte at 105H and defaults to 3EH (prevents snooping 
  162.      around sys COM files on systems using a COMMAND.LBR).
  163.  
  164.      Checks for console characters - aborts on ^K,K,k ^X,X,x or ^C,C,c, 
  165.      pauses on ^S.  Added line counter which issues "[more]" prompt after 
  166.      22 lines (byte at 104H).  Typing a space at any time sets line counter 
  167.      to one for "line by line" advance.
  168.  
  169.      LUXX77A revised to LUX77B by Irv Hoff now includes and automatically 
  170.      supports this program.
  171.  
  172. ...........................................................................
  173.  
  174. v0.91 (ver A)  08 Oct 87  Steven Greenberg
  175.      Beta release.
  176.  
  177. ===========================================================================
  178.