Received: (from major@localhost)
	by minnie.cs.adfa.oz.au (8.8.5/8.8.5) id PAA20401
	for pups-liszt; Wed, 25 Mar 1998 15:31:45 +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 PAA20396
	for <pups@minnie.cs.adfa.oz.au>; Wed, 25 Mar 1998 15:31:39 +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 PAA21400;
	Wed, 25 Mar 1998 15:01:36 +1030 (CST)
Received: (from grog@localhost)
          by freebie.lemis.com (8.8.8/8.8.7) id PAA22891;
          Wed, 25 Mar 1998 15:01:34 +1030 (CST)
          (envelope-from grog)
Message-ID: <19980325150133.00427@freebie.lemis.com>
Date: Wed, 25 Mar 1998 15:01:34 +1030
From: Greg Lehey <grog@lemis.com>
To: wkt@cs.adfa.oz.au
Cc: PDP Unix Preservation <pups@minnie.cs.adfa.oz.au>
Subject: Re: More on Disk Images -> Disk
References: <m0yHgvc-000FlVC@bookworm.softway.com.au> <199803250336.OAA02126@henry.cs.adfa.oz.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.89i
In-Reply-To: <199803250336.OAA02126@henry.cs.adfa.oz.au>; from Warren Toomey on Wed, Mar 25, 1998 at 02:36:28PM +1100
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

On Wed, 25 March 1998 at 14:36:28 +1100, Warren Toomey wrote:
> In article by Peter Chubb:
>>
>> In the Linux kernel, linux/lib/inflate.c and
>> arch/i386/boot/compressed/misc.c there's a set of gunzip routines that
>> could probably be adapted -- it runs in 16 bit mode (or ought
>> to). inflate.c is K&R C, so it should compile under V7; misc.c is
>> ANSI, but is small (just wrappers around gunzip) and in any case would
>> bneed changing to make a proper gunzip.
>>
>> I'll see what I can do.
>> Peter C.
>
> I think Steven described the main thing: will it run in 64K? I've popped
> some mail off to Jean-loup, who was involved with writing gzip.

I've done a little bit of playing around with gzip 1.2.4.  It works on
16 bit MS-DOS platforms with a bit of  tweaking, and I got all modules
to compile under 2.11BSD.  Unfortunately, I ended up  with a couple of
undefined references on linking, and I haven't had time  to look at it
in more detail.  On the whole, though, it looks as if it could be made
to work, maybe with a little tweaking.

> If we can get gunzip running in 64K on V7, I can then move it to a
> standalone program with minimal effort: the V7 standalone library
> provides open, close, read, write, printf, exit.

Should be doable.

Greg

