[comp.sys.zenith.z100] crc for unix

malpass@LL-VLSI.ARPA (Don Malpass) (06/17/88)

I've just fetched several simtel files and checked their crc's using an
antique program which anounces itself by starting out with "CRCK
program for Unix  ...  Version 2.0  ...  Unix file mode selected...."
I usually come up with crc's that are NOT the ones listed in the index
files, although if memory serves, the msdos crc program I then use usually
comes up with the correct crc.  Can somebody point me toward the source
of "THE" best/most-up-to-date/all-things-to-all-people/National-Bureau-of-
Standards/etc crck program to use in unix systems for checking msdos
binary and ascii files?  And for that matter, what's the MSDOS crc
checker most in use today?  I've been using mine for so long that I
don't know when or where I got it - may even be old converted cpm
code.
	don	[malpass@LL-vlsi.arpa]

W8SDZ@SIMTEL20.ARPA (Keith Petersen) (06/17/88)

Don, PD2:<UNIX-C.CPM>CRCK.C (version 2.0 as you mentioned) is the
latest version of the Unix version of my CP/M CRCK program.

PD1:<MSDOS.FILUTL>CRC67.ARC contains the latest MSDOS version.

Experiment with the -t (text) and -c (com) options on the Unix
version.  They take into account cr/lf end-of-lines in text files and
128-byte boundry zero padding in binary files, respectively.  The CRC
lists on SIMTEL20 assume 128-byte boundries even if the file isn't.
This was done because when it was written most modem programs did not
pass exact-length size information.

--Keith Petersen
Maintainer of the CP/M and MSDOS archives at SIMTEL20.ARPA [26.0.0.74]
Arpa: W8SDZ@SIMTEL20.ARPA
Uucp: {decwrl,harvard,lll-crg,ucbvax,uunet,uw-beaver}!simtel20.arpa!w8sdz