On Tue, Aug 31, 1999 at 01:02:55AM -0500, Ashok Narayanan wrote:
>
>
>
> 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.
That's an interesting approach. How much slower is it? Now that
wiretap is writing the pcap file for captures, we could also have it
save a compressed file during capture, although that would slow
down the capture. Probably not a good thing to do.
> 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
> boun from left to right like in Netscape. Thoughts?
I believe the pan newsreader does that little sweeping progress
bar during one of it's NNTP transfers.
--gilbert