Ethereal-dev: [ethereal-dev] Support for reading compressed capture files

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ashok Narayanan <ashokn@xxxxxxxxx>
Date: Tue, 31 Aug 1999 02:00:11 -0400 (EDT)
I've written support for directly reading compressed (.gz) capture
files into Wiretap (and Ethereal). It uses the zLib library (so this
is now required). You can disable it with --disable-zlib, and in
addition if it detects that zlib is not available, it will
automatically disable itself in configure.

The downside of this is that we no longer have a progress bar during
loading. The reason is that we can't do an fstat() anymore to find out 
the length of the file, since we don't know the length of the file
until we decompress. I was thinking that we could use some other sort
of widget instead of a progress bar - maybe something like a block
bouncing from left to right like in Netscape. Thoughts?

-Ashok

-- 
--- Asok the Intern (well, not really...) ------------------
IOS Network Protocols, Cisco Systems
250 Apollo Drive, Chelmsford, MA 01824
Ph: 978-244-8387