[comp.unix.xenix] 16-bit compress for 286 XENIX ?

sralston@sfc.Wichita.NCR.COM (sralston) (10/16/89)

I have a friend (really) who cannot uncompress files under XENIX/286
(version 2.2.1, I believe).  These file were compressed using 16-bit
compression under XENIX/386 (2.3.1).  He can uncompress files that were
compressed with 12-bit compression.  He can compile compress for 16-bits
using -DBITS=16, but whenever he tries to compress files the compression
percent comes out negative and compress leaves the original file alone.

Can anybody tell me why 16-bit compress does not work on XENIX/286?

Many thanks in advance.
---
-- 
Steve Ralston       NCR Corp, PPD - Wichita, 3718 N Rock Rd, Wichita, KS 67226
Advanced Product/Process Technologies (ms14)        Voice-Plus:  654-8058
Internet: S.Ralston@Wichita.NCR.COM                 Voice: (316) 636-8058
UUCP: uunet!ncrlnk!ncrwic!s.ralston                   FAX: (316) 636-8889

croes@imec.uucp (Kris Croes) (10/20/89)

In article <303@sfc.Wichita.NCR.COM> S.Ralston@Wichita.NCR.COM (Steve Ralston) writes:
>
>Can anybody tell me why 16-bit compress does not work on XENIX/286?
>
I know this question, it comes back over and over again in all kinds of newsgroups, 
but I never saw an answer.

DOES ANYONE HAVE A 16-BIT COMPRESS THAT WORKS ON XENIX/286?

Could that someoe please post (or mail me) the source 

Kris.
-- 
--------
K. CROES - IMEC - Leuven - Belgium   ..!prlb2!imec!croes

The Demon King bites in your leg and you feel weaker.

wbader@scarecrow.mse.lehigh.edu (William Bader) (10/24/89)

16-bit compress requires a hash table with 69000 entries, which is tricky
to set up on a machine with 64K segments.  I have a version that can
do 16 bit compression under Xenix-286 (and under MSDOS), but I can not
send to a UUCP address.

don@dksfr.UUCP (don kossman) (10/24/89)

In article <619@imec.UUCP> croes@imec.UUCP (Kris Croes) writes:
>DOES ANYONE HAVE A 16-BIT COMPRESS THAT WORKS ON XENIX/286?

the compress.c program in your netnews src directory,
if compiled WITHOUT "pcxt" defined and WITH "M_XENIX"
defined, will do 16-bit compression/decompression.
according to the header, it is compress 1.13, based on
compress.c v4.0.
works just fine on my xenix 286 system (which has a measly
1M of RAM) decompressing files which i exchange with an
ULTRIX VAX.

don
-- 
Don Kossman, SEI Information Technology, Los Angeles
mahendo.jpl.nasa.gov!jplgodo!seila!don OR sun!suntzu!seila!don