[Winpcap-users] Output to Cygwin Terminal (mintty) appears queued

inetjunkmail inetjunkmail at gmail.com
Mon Jan 9 08:03:07 PST 2012


Wow.  I can't believe I missed that.  Thanks.  Works like a champ.

On Mon, Jan 9, 2012 at 10:37 AM, Gerald Combs <gerald at wireshark.org> wrote:
> On 1/9/12 5:51 AM, inetjunkmail wrote:
>
>> "From the point of view of these programs, mintty is a pipe. When a
>> program thinks it's writing to a display (a tty), it typically flushes
>> the output after every line. But when a program thinks the user won't
>> see its output, a program typically flushes its buffers less often
>> because writing in larger chunks is more efficient. You need to
>> convince these non-Cygwin programs to not buffer their output."
>>
>> Are there any switches I can use when I run WinDump to alleviate this?
>>  If not, is there any other recommendation?
>
> You might try the "-l" flag:
>
>       -l     Make stdout line buffered. Useful if you want to see
>              the data while capturing it. E.g.,
>              ``tcpdump  -l | tee dat'' or
>              ``tcpdump  -l  > dat  &  tail  -f  dat''.
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users


More information about the Winpcap-users mailing list