Received: (from major@localhost)
	by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id QAA20659
	for pups-liszt; Wed, 25 Mar 1998 16:48:07 +1100 (EST)
X-Authentication-Warning: minnie.cs.adfa.oz.au: major set sender to owner-pups@minnie.cs.adfa.oz.au using -f
Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134])
	by minnie.cs.adfa.oz.au (8.8.5/8.8.5) with ESMTP id QAA20654
	for <pups@minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 16:48:00 +1100 (EST)
Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137])
	by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id QAA21467
	for <pups@minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 16:17:55 +1030 (CST)
Received: (from grog@localhost)
          by freebie.lemis.com (8.8.8/8.8.7) id QAA23181;
          Wed, 25 Mar 1998 16:17:55 +1030 (CST)
          (envelope-from grog)
Message-ID: <19980325161754.63486@freebie.lemis.com>
Date: Wed, 25 Mar 1998 16:17:54 +1030
From: Greg Lehey <grog@lemis.com>
To: PDP UNIX Preservation Society <pups@minnie.cs.adfa.oz.au>
Subject: gzip on PDP-11: not so simple
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
WWW-Home-Page: http://www.lemis.com/~grog
Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia
Phone: +61-8-8388-8286
Fax: +61-8-8388-8725
Mobile: +61-41-739-7062
Sender: owner-pups@minnie.cs.adfa.oz.au
Precedence: bulk

OK, I've found the problems with gzip, and they're not encouraging.
It would appear that the undefined references are undefined because
they refer to data which is too large.  Here's the preprocessor
output:

  uch  inbuf[   0x8000   + 64     ];
  uch  outbuf[  16384  +2048   ];
  ush  d_buf[  0x8000 ];
  uch  window[ 2*0x8000     ];
# 194 "gzip.c"

      ush  prev[ 1<<(16-1)];
      ush  tab_prefix1[ 1<<(16-1)];

uch and ush are uchar and ushort respectively.  Obviously there's no
way of fitting this into a 64 kB address space.  Possibly there's a
way of shortening the buffers, but it would take more time than I have
right now.  Sorry for raising your hopes.

There are other zip-compatible programs out there, such as unzip.
Maybe somebody should look into them.

Greg

