home *** CD-ROM | disk | FTP | other *** search
- FWKCS(tm) Contents Signature, Ver. 1.02, 1990 Oct 30.
- Copyright 1988,89,90 by Frederick W. Kantor. All rights reserved.
-
- Your use of this program is at solely your own risk: PLEASE HAVE PROPER BACKUPS
- ........................ C A V E A T O P E R A T O R ........................
-
- The correct name for this zip file is FWKCS102.ZIP.
- In a true copy of this zip file, every file must test as OK -AV.
- For help, see FWKCSF /h,/a,/d,/e,/l ; FWKZCS /h,/t,/l ; FWKDG <enter> .
- Re "external" programs, see list at end of FWKCSF /a .
-
- (Copies of these help_screens are provided below.)
-
- ------------
- Note: This is a 'maintenance release', to protect against a particular
- form of damaged zipfile which was brought to my attention by Mark Rapp,
- for which I thank him.
- ------------
-
- This Author_Verified zipfile contains:
-
- FWKCSF.COM - which manipulates contents_signatures, calls other
- programs, does other support work, and also produces
- auxiliary .BAT files;
-
- FWKZCS.COM - which generates contents_signatures for zipfiles and
- non_zip files;
-
- FWKDG.COM - which gathers together a work_list for setting up the
- initial reference files;
-
- RAWSTART.BAT - for setting up an empty list_structure;
-
- LISTMAKR.BAT - for setting up an indexed system for referencing
- contents_signatures from zip_files on a system which
- has a hard_drive C: with suitable space; and
-
- FWKCS102.DOC - which you are now reading.
-
-
- Other programs to have on your system:
- --------------------------------------
- LIST Ver. 7.5e is copyright 1983-90 by Vernon D. Buerg.
- PCBoard v14.5 is copyright 1985-90 by Clark Development Company, Inc.
- PKZIP, PKUNZIP Reg.U.S.Pat. and Tm.Off., Copr.1989-1990 PKWARE Inc., Ver.1.10.
- QSORT Ver. 3.20 is copyright 1985,86,87,88 by Ben Baker.
-
- Overview:
- ---------
-
- These FWKCSF and FWKZCS programs make use of what I have named
- "contents_signature"s, for labelling files in a way which is independent of
- the name, date, and amount of compression. These "signatures" are made from a
- 32_bit CRC together with the uncompressed_file_length. The resulting signature
- for a file caries at least 32, and more typically roughly 40 or more, bits of
- significant information. This means that the probability of accidental match
- between the contents_signatures of two unrelated files is statistically less
- than one part in 4,000,000,000; and, noting that the file_length often can
- carry more than 8 bits of information, more typically less than one part per
- trillion.
-
-
- Speed:
- ------
-
- The lists contain contents_signatures for all the files contained within
- all the zipfiles, and/or all the "plain" files, scanned for this purpose on
- your system. For example, the master list serving the Invention Factory
- Bulletin Board System is currently (1990 Oct 30) about 9.5 Megabytes long.
- When a zipfile is uploaded onto the board, its contents are compared with the
- contents of the other zipfiles, a report is prepared, and the files are
- disposed of if they do not contain new material -- all in a few seconds
- total, including the file_integrity test run by calling PKUNZIP and the
- header_removal using PKZIP (see credits, above). This "catches" files which
- are duplicates of other zipfiles, and also catches files which are made up of
- pieces which can be found scattered in separate zip files. If you are using
- PCBoard Ver. 14.5 (see credits above), you can run the file, PCBTEST.BAT,
- which you can generate by typing FWKCSF /a5m <enter>. That's what's running
- on the IFBB. It calls FWKCSF; which calls FWKZCS, PKUNZIP, QSORT, and PKZIP
- (see credits above), deletes the rejects, and prepares PCBPASS.TXT or
- PCBFAIL.TXT accordingly (see credits above).
-
- Starting:
- ---------
-
- The first part is to make a work_list of what is to go into your
- master_list of contents_signatures. If your system does not have redundant
- volume_labels, then you can use FWKDG/L directly to gather the filenames and
- paths. If you have a hard_drive C: with enough space, then you may wish to
- run LISTMAKR.BAT to set up your working lists. It calls pipeline filter "FIND"
- to restrict the work to zipfiles; calls FWKZCS to generate
- contents_signatures; calls QSORT (see credits above and below) to sort the
- resulting file; and calls FWKCSF to generate the index and set up the shorter
- rapid_addition list. The result winds up in a new subdirectory, C:\CS. The
- four files are CSLIST.NDX, CSLIST.SRT, CSLIST1.NDX, and CSLIST1.SRT. The '1's
- are for rapid_update. These defaults can be modified (see FWKCSF/d). (You may
- want to filter out the names of any files which your operating system requires
- be kept open, so that the signature_generation doesn't get put off_track
- waiting for them.)
-
- You do not have to restrict the input to just zipfiles: FWKZCS can
- calculate the contents_signatures for other files (all three of these FWK
- programs are in assembly language).
-
- You can add files by using Y.BAT, which you can generate by typing
- FWKCSF /a2m <enter>. Then just type Y filename.ext <enter>. Wildcards * and ?
- are OK. If you have LIST (see credits above) on your path or in your default
- directory, then FWKCSF can call it to display the results of the search;
- otherwise the results can be displayed by scrolling (with pause(s)). New
- material is added to a (shorter) contents_signature list and indexed. Cross
- associations are carried using both the master_list and the shorter updated
- list, so that material scattered in pieces not all in one of the lists can
- still be recognized as redundant.
-
- When you want to revise the master list, just type FWKCSF /v , and the
- short list gets merged into the master list and restarted, with new indexes.
-
- If you wish to accession a set of files, and have their extensions changed
- to indicate that they were redundant, as appropriate, you can use
- ACCESION.BAT, which you can make by typing FWKCSF /a3m <enter>. With this on
- your path, you can then type (for example) ACCESION J:\newstuf\*.* <enter>,
- and let it work its way through a whole subdirectory of new files. It labels
- those that fail as ".RNZ" (redundant non_zip); ".RED" (redundant, possibly
- contained as part of a larger zipfile or spread among more than one zipfiles);
- or ".DUP" (duplicate, where the contents_signatures appear to match one_to_one
- those of each and every file in a single zipfile).
-
- If you are working with only zipfiles, and want them tested for integrity
- as part of the accessioning process, then you can use ACCESZIP.BAT, which you
- can make by typing FWKCSF /a4m <enter>. It calls PKUNZIP to test each file,
- and attaches ".FZT" (failed zipfile test) to those that fail on that test, and
- labels redundant ".RED" and duplicate ".DUP".
-
- Here are those help_screens:
- ----------------------------
-
-
- fwkcsf/h :
-
- FWKCSF(tm) Contents Signature Finder, Ver. 1.02, 1990 Oct 30. FWKCSF/h for help
- Copyright (C) 1990 by Frederick W. Kantor. All rights reserved.
- Your use of this program is at solely your own risk: PLEASE HAVE PROPER BACKUPS
- ........................ C A V E A T O P E R A T O R ........................
- Format 1: FWKCSF [CSLIST.NDX CSLIST.SRT] /option[nnnn.nn] [<in [>out]] <ENTER>
- where CSLIST.NDX is index for CSLIST.SRT sorted contents_signature_list
- Format 2: FWKCSF f1 f2 [f3] /m[nnnn.nn] <ENTER>
- Options: (upper or lower case OK) ; error messages logged to FWKCSF.ERR
- a Auxiliary functions: see FWKCSF /a for help.
- d Default filenames: see FWKCSF /d for help.
- e Errorlevels + messages.
- f Find if contents_signature(s) in CSLIST.SRT match the input, set errorlevel.
- g Get all contents_signature(s) in CSLIST.SRT matching input, set errorlevel.
- h Help (or FWKCSF <ENTER> sans option); see also /a , /d , /e .
- i make Index CSLIST.NDX for use with CSLIST.SRT, (i m u v may take a while).
- l License and dedication.
- m Merge unique full lines from sorted files: f1 into f2, or f1 f2 make f3.
- nnnn.nn decimal 0 - 9999.99 seconds of retry (networks); for opts f,g,i,m,u,v.
- r Redirect help a,d,e,h to "standard output"; e.g., FWKCSF/rd >filename.
- u Update FWKCSF [CSLIST1.NDX CSLIST1.SRT] /u < CSNEW.SRT , can create full [].
- v reVise all four default files, consolidate into masterlist, restart CSLIST1.
- If you find FWKZCS(tm) and FWKCSF(tm) quick and useful in private, personal
- use, your payment of 25$ by check or money order to Fred Kantor, 523 West 112
- Street, New York, NY 10025-1614, would be appreciated. Licensing available.
-
-
- fwkcsf/a :
-
- FWKCSF(tm) Contents Signature Finder, Ver. 1.02, 1990 Oct 30. FWKCSF/h for help
- Copyright (C) 1990 by Frederick W. Kantor. All rights reserved.
- Your use of this program is at solely your own risk: PLEASE HAVE PROPER BACKUPS
- ........................ C A V E A T O P E R A T O R ........................
- Auxiliary Functions, FWKCSF ... /an, where "n" is shown below:
- 1 format: FWKCSF filelist /a1 >nonmatch ; to find filenames not on system.
- this uses a local copy of DIRGUIDE.TXT(tm) (from FWKDG) and calls QSORT.
- 2 format: FWKCSF [d:][\path\]filename[.ext] /a2 ; * ? OK; to make contents_
- signature(s), get matching, add new signatures, make new index, make report;
- this uses default files (see FWKCSF /d); calls FWKZCS, LIST; may call QSORT.
- format: FWKCSF /a2m ; to make Y.BAT = " FWKCSF %1 /a2 " to call #2.
- 3 format: FWKCSF [d:][\path\]filename[.ext] /a3 ; * ? OK; for accessioning
- files into collection, renaming redundant ".RED"; redundant_non_zip ".RNZ";
- duplicate_zipfile_contents_signatures ".DUP".
- format: FWKCSF /a3m ; to make ACCESION.BAT = " FWKCSF %1 /a3 " to call #3.
- 4 format: FWKCSF [d:][\path\]filename[.ext] /a4 ; * ? OK; like #3, but for
- ZIPfiles only; calls PKUNZIP for testing zipfiles, failures renamed ".FZT".
- format: FWKCSF /a4m ; to make ACCESZIP.BAT = " FWKCSF %1 /a4 " to call #4.
- 5 format: FWKCSF [d:][\path\]filename[.ext] [UPLOAD] /a5 ; for automatic
- testing and accession of zipfiles, strips file_header and deletes rejects
- if "UPLOAD" , else only provides file integrity test; operates under
- PCBoard v14.5; calls FWKZCS, QSORT, PKZIP, PKUNZIP.
- format: FWKCSF /a5m ; to make PCBTEST.BAT = " FWKCSF %1 %2 /a5 " to call #5.
-
- FWKCSF(tm) is a utility for use with contents_signature files in format made
- by FWKZCS(tm); please see ZCS screens FWKZCS/h, /t, /l.
- FWKDG(tm) Ver. 1.08 is copyright 1988,89,90 by Frederick W. Kantor.
- FWKZCS(tm) Ver. 1.02 is copyright 1989,1990 by Frederick W. Kantor.
- LIST Ver. 7.5e is copyright 1983-90 by Vernon D. Buerg.
- PCBoard v14.5 is copyright 1985-90 by Clark Development Company, Inc.
- PKZIP, PKUNZIP Reg.U.S.Pat. and Tm.Off., Copr.1989-1990 PKWARE Inc., Ver.1.10.
- QSORT Ver. 3.20 is copyright 1985,86,87,88 by Ben Baker.
- -- please compensate properly.
-
-
-
- fwkcsf/d :
-
- FWKCSF(tm) Contents Signature Finder, Ver. 1.02, 1990 Oct 30. FWKCSF/h for help
- Copyright (C) 1990 by Frederick W. Kantor. All rights reserved.
- Your use of this program is at solely your own risk: PLEASE HAVE PROPER BACKUPS
- ........................ C A V E A T O P E R A T O R ........................
- Formats: