Ethereal-users: Re: [Ethereal-dev] Re: [Ethereal-users] Questions on using ethere al / tethereal

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 25 Jun 2003 01:34:58 -0700
On Mon, Jun 23, 2003 at 10:23:27AM +0200, Biot Olivier wrote:
> > although if we use 1,048,576-byte megabytes elsewhere, that might be
> > confusing.

It turns out we use 1,000-byte kilobytes elsewhere, e.g. in the "-a"
flag.

> Or we could use a specifier, e.g., -C5M for 5 MB (1024 * 1024) and -C5m for
> 5,000,000 bytes (1000 * 1000). Of course, allow K, k, M, m, G and g. Enabyte
> (EB) and petabyte (PB) will not be useful yet I think :)

I'd be inclined to use specifiers, have "-a" default to 1000-byte units
(for backwards compatibility), have "-C" default to 1000000-byte units
(for tcpdump compatibility), and have Ethereal, Tethereal, *and* tcpdump
allow specifiers to make the size explicit, and deprecate the defaults.