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 <guy@xxxxxxxxxx>
Date: Thu, 15 Feb 2001 17:11:41 -0800 (PST)
> Hello ethereal-users,
> In NT4, command line switch '-l' (l for letter) is suppose to set STDOUT to
> be line buffered.
> This does not appear to work,

It doesn't seem to work if you pipe it to "more", either.  (I'm assuming
here that the NT shell (cmd.exe) really sets up a Win32 pipe for a
command-line pipe, which it might not do.)

It may just be that the standard C interface that Tethereal uses to
implement "-l" ("setvbuf()" - by "standard C interface", I mean
"interface specified by the ANSI C standard") doesn't actually work with
the MSVC++ C libraries.  I'll have to experiment with a small program.