[net.wanted] Please help me port Berkeley's `compact' to an AT&T 3b20

humbert@ihu1n.UUCP (jfs) (12/21/84)

I have just moved my main base of operations from a VAX (running UNIX System V
Release 2) to a 3B-20 (running UNIX System V Release 2).  On the VAX I was able
to `compact' and `uncompact' files using Colin McMaster's programs of the same
name.  On the 3b I have not got the programs to work; currently my compacted
files are unreadable.

I have changed the definition of `struct charac' in `compact.h' to be
	char hib, lob;
rather than
	char lob;
	char hib;
which it was originally, to account for the difference in byte ordering.  Also,
when `uncompact' reads the first 16-bit integer in the file, I have it look for
octal 0177437 as well as a 017777 (my compacted files now all begin with a byte-
reversed magic number -- 0177437 is a byte-reversed 017777).  The programs still
do not work.  To do more requires me to wade through McMaster's ill-documented
code, and this I will not do.

If you know what I can do to get these programs working on a 3b, please tell
me.  If you can suggest another newgroup to which to post this request, please
tell me that as well.  I post it initially only to net.wanted.

Please direct all correspondence to ...ihnp4!ihu1n!humbert; I do not read this
or any other newsgroup regularly.

I thank you all in advance.

					Jay F Shachter