delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/07/15:49:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sat, 7 Jan 2012 15:49:17 -0500
Message-ID: <CAAJ38WVH3UEqBOj9kBVh5PeMnXs9evWxJ5uSK77xJxOyd13XRg@mail.gmail.com>
Subject: Does Cygwin Terminal queue output to stdout?
From: inetjunkmail <inetjunkmail AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

First a quick aside to say thank you for Cygwin Terminal.  I can't
articulate how nice it is to be freed of cmd.exe!
-----------------------------------------------
I am running Cygwin in the following environment:
Windows 7 SP1 64-bit
Cygwin Setup 2.763; apps fully updated

I have installed windump (http://www.winpcap.org/windump/) and tshark
which is part of the WireShark package
(http://www.wireshark.org/download.html) both of which leverage
WinPCAP libraries (http://www.winpcap.org/).

When I run tshark or windump in a cmd.exe window (e.g. "tshark -i1
-n") I see immediate output of network traffic seen by my network
interface and continues to stream live network traffic information.

When I run either program in Cygwin Terminal, there is about a 20
second delay before I see any output.  At which time it immediately
dumps the previous 20 seconds of "queued up" output and hangs again
for 15-20 seconds, followed by another dump of "queued up" output,
etc...

Is there some way I can have Cygwin Terminal stream the data like cmd.exe does?

Thanks, Eric

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019