;
                                LREPAIR.COM                                   

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               2k (16)   8304  1.0        Bruce Morgen 5/91        Z3COM11

  1- Syntax  2- Usage  3- Examples of Use                                     


   LREPAIR is an LBR file integrity tester with limited  correction  capabili-
ties.   It reports the CRC of all or the  selected  member  files  to the CRT,
along with whether its  findings  agree with  the  values  stored in  the  LBR
directory.  If the stored CRC is 0000h and the member file isn't empty  (as is
the case for LBRs written to by LBRDISK or old  versions of  LU and NULU),  it
will fix the CRC, as well as strip any high bits in member filename entries.

   LREPAIR is loosely derived from LCRCK v1.10 by Sigi Kluger, 1/23/84.
:1
    Syntax    LREPAIR [dir:]lbrname[.LBR] [afn.typ]

   LREPAIR checks the CRC of all or selected member files in an LBR,  corrects
invalid 0000h CRC values, and strips high bits from member file names.
:2
 Usage 

   LREPAIR tests LBR file integrity by checking  member file CRCs  against LBR
directory data.  It corrects member CRCs when they are invalid 0000h values as
created by LBRDISK and early versions of LU and NULU, also fixes directory CRC
in such cases.   Uncorrected member CRC  errors  are  reported to the  Program
Error Flag  (a Program Error Flag value of 255 indicates the  LBR directory is
probably corrupted,  254 tells you that no members files were found).  LREPAIR
strips any high bits encountered in member  files' names,  another instance in
which it corrects the LBR directory  CRC.   LUDEF  probably  doesn't  prohibit
high bits,  but it's a good idea considering such things as PUBlic files, etc.
LBRDISK (and possibly some other programs?) allows the high bits in.

   LIMITATIONS:   Counters for corrected and uncorrected member CRC errors are
byte-wide; they are useless beyond 255,  as is the ZCPR3 Program Error Flag to
which the uncorrected  error  count is  poked for later use.   This should not
affect  repair  effectiveness,  and  the  per-member  display  will  still  be
accurate.   If more than 255 repairs were performed, a second LREPAIR run will
confirm such a huge LBR file's corrected condition.
:3
 Examples of Use 

   a. B0:WORK>lrepair multiprt

      LREPAIR, Version 1.0
      Checking B0:MULTIPRT.LBR
      CRC for PR      .ALI is 8392h  (OK)
      CRC for PRINT   .ZEX is DE66h  (OK)
      