Ethereal-users: [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: Mark Zvolanek <Mark.Zvolanek@xxxxxxxxxx>
Date: Fri, 16 Feb 2001 11:01:06 +1100
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, but it might be perl issue.
I am running the following perl code:
$cmd = 'tethereal -l -ta ether proto 0x4545';
$pid = open (OUTPUT, "$cmd|");
while (<OUTPUT>){
	print; next;
}
The output of the above perl code gets buffered, and prints out only when
the buffer gets flushed.
What am I doing wrong?
Regards
|__
| Mark Zvolánek
| +612 9227 0479