Ethereal-users: Re: [Ethereal-users] tethereal -l switch

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 18 Feb 2001 01:41:27 -0800
On Fri, Feb 16, 2001 at 01:04:26AM -0800, Guy Harris wrote:
> The only fix, as far as I can tell, would be to set a flag if "-l" is
> specified, and have the Tethereal code do "fflush(stdout)" after every
> line if that flag is set.  This may happen eventually,

I've checked that change in (except that it flushes after every packet,
not after every line, so if "-V" is used, you get one flush per packet,
not one flush per protocol tree entry; this should not make a
difference, as the reason for per-line flushing is to let a program to
which the output is being piped see the output for a packet as soon as
Tethereal is finished dissecting the packet and producing that output;
there aren't any per-packet delays in the middle of printing the
protocol tree).

> but it's not necessarily going to happen soon,

It'll appear in the next release, which will probably be some time this
month; I don't know when.