[net.unix-wizards] Pack/Unpack under 4.2 BSD?

rother@seismo.UUCP (Robert Rother) (03/11/84)

[Obligatory Non-blank first line]

I have some files that have been compressed with the older (?) 
UNIX (tm) command pack.  Unfortunatly these files are residing on a
4.2 BSD Vax that doesn't have the utility to unpack these.  Are the
sources for these commands propietary?  If not could someone please
mail me a pointer to where I can get them.

Thanks,
Robert Rother 	
ARPA: (ROTHER@SEISMO)
UUCP: seismo!rother

dan@rna.UUCP (03/11/84)

Hi,
	re: old pack/unpack on 4.2BSD

	Unfortunately there are about a half dozen "old pack"'s. I have managed
to decode a few and can send you a pcat that can regenerate packed files of a
few of these formats. For starters, what is the leading 16bit word of the
packed files (the magic number) and what is the ending suffix (.p or .z) ?
	Let me know what you're interested in.

					Cheers,

					Dan Ts'o
					...cmcl2!rna!dan

johnl@haddock.UUCP (03/16/84)

#R:seismo:-67300:haddock:16800009:000:445
haddock!johnl    Mar 15 14:32:00 1984

The System III version of unpack and pcat has code for unpacking old
packed files lurking within, surrounded with "#ifdef pdp11" or the like.
For it to work on a 32 bit machine, some ints in the old unpacking code
have to be changed to shorts, but it's no big deal.

You have to rename the old packed files from *.p to *.z, but unpack is
smart enough to figure out what kind of packed file it is and unpack it
correctly.

John Levine, ima!johnl