Path: utzoo!attcan!uunet!pcgbase!rdb1!root From: root@rdb1.UUCP (Robert Barrell) Newsgroups: comp.unix.questions Subject: Automatic file compression? Message-ID: <5@rdb1.UUCP> Date: 10 Oct 90 11:27:40 GMT Organization: Phillips Consulting Group, Inc. Lines: 17 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@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