ESIX compress(1) broken (was: Re: Using Interactive TPWB...)

D'Arcy J.M. Cain darcy at druid.uucp
Thu Jan 17 10:33:54 AEST 1991


In article <1991Jan10.082959.18602 at hawkmoon.MN.ORG> Derek E. Terveer writes:
>>didn't work.  It turns out that "compress -d", which is used by news
>>software to uncompress batches, does not work with the ESIX-supplied
>>compress.
>
>Yes, this is true.  I had to use a public domain compress to get news
>unbatching to work in Cnews.  Very strange; one would have thought that it
>would have been tested...?

Both C News and and Esix' compress work.  The problem is in the way they
work together.  C News pipes the output of "compress -d" into a shell
variable and tests that variable for zero length.  It assumes that compress
like all good Unix programs, keeps quiet when everything is OK.  This
is usually true but the Esix version prints a message telling the user that
it was successful.  It is this success message that C News chokes on.  In
C News, no news is good news and any news is bad news and news of success
is news to C News.

Since I paid for Esix and C News was free I argue with Everex that their
code is wrong, not Henry's.  However I have suggested to Henry that a
change from "compress -d" to "uncompress" (which does work, even though
it uses the same binary) is a cheap fix to a nagging problem but I
understand his reluctance to fix the OS in his application.  It just
ain't the right way to do it.

-- 
D'Arcy J.M. Cain (darcy at druid)     |
D'Arcy Cain Consulting             |   There's no government
West Hill, Ontario, Canada         |   like no government!
+1 416 281 6094                    |



More information about the Comp.unix.sysv386 mailing list