Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 exptools 1/6/84; site ihu1n.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!ihu1n!humbert
From: humbert@ihu1n.UUCP (jfs)
Newsgroups: net.wanted
Subject: Please help me port Berkeley's `compact' to an AT&T 3b20
Message-ID: <134@ihu1n.UUCP>
Date: Fri, 21-Dec-84 10:29:17 EST
Article-I.D.: ihu1n.134
Posted: Fri Dec 21 10:29:17 1984
Date-Received: Sat, 22-Dec-84 02:47:05 EST
Organization: AT&T Bell Labs, Naperville, IL
Lines: 28

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