Automatic file compression?

Robert Barrell root at rdb1.UUCP
Wed Oct 10 21:27:40 AEST 1990


     Is there any way, or any library of routines, which would automatically
compress data when it is stored into a file, and uncompress it when it is
retrieved?  I'd like to be able to read and write compressed files directly
without having to run them through uncompress of zcat all the time, and still
have file positioning work relative to the uncompressed data. 
     Is such a thing possible?  It may be necessary to write a separate library
to handle it, such as Zopen(), Zclose(), Zprintf(), Zscanf(), Zread(), Zwrite(),
Zseek(), etc.  This may be a difficult or impossible task if one only uses the
existing library calls, and pipes to compress, but would someone with a thorough
knowledge of compression algorithms be able to do it?

-- 
Robert Barrell      |     rbarrell at rdb1.UUCP      | Phillips Consulting Group
Milo's Meadow BBS   | uunet!pcgbase!rdb1!rbarrell | 282 North Shore Drive
login: bbs or nuucp |     "... Pooh just IS."     | Ormond Beach, FL   32176
(904) 441-5028      |     -- The Tao of Pooh      | (904) 672 - 3856



More information about the Comp.unix.questions mailing list