ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] stdin capture

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

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Sat, 27 Sep 2003 19:03:04 +0200
Using tethereal build from yesterdays snapshot to capture from stdin
produces weird results. Like:
  tethereal -nr- | more

produces 948-950 lines of garbage each time. I assume the stdin buffer
is that big on MingW/Windows. 

Looking at wtap_open_offline() it doesn't look like it tests for "-" and 
sets raw-mode for stdin. But stat() on "-" seems to succeed !?

I'm using Win-XP Home, WinPcap 3.0

--gv