home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / compress / 3067 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.2 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!randvax!edhall
  2. From: edhall@rand.org (Ed Hall)
  3. Newsgroups: comp.compression
  4. Subject: Re: random access with .Z files
  5. Message-ID: <3734@randvax.rand.org>
  6. Date: 21 Aug 92 21:40:59 GMT
  7. References: <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp> <93_n36j.kemnitz@netcom.com>
  8. Sender: news@randvax.rand.org
  9. Distribution: comp
  10. Organization: RAND Corporation.
  11. Lines: 16
  12. Nntp-Posting-Host: ives.rand.org
  13.  
  14. In article <93_n36j.kemnitz@netcom.com> kemnitz@netcom.com (Greg Kemnitz) writes:
  15. >In article <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp> robert@n051.saskg.semicon.sony.co.jp (Robert Veltman) writes:
  16. >=
  17. >=Is it possible to read a compressed file (LZW I think in the case of
  18. >=UNIX compress) and extract the dictionary information in order to be
  19. >=able to do random fseeks in the compressed file and decode from that
  20. >=point on?  
  21. >
  22. >zcat something.Z | do anything you want here
  23.  
  24. You've GOT to be kidding!  You can't seek on a pipe.  Even if you could,
  25. you've effectively uncompressed the entire file before performing your
  26. first random access.  This would defeat the purpose of the original request.
  27.  
  28.         -Ed Hall
  29.         edhall@rand.org
  30.