www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/19/14:31:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT att DOT net>
To: <cygwin AT cygwin DOT com>
References: <494BE168 DOT 1020600 AT rettc DOT com>
Subject: RE: printf goes to serial port?
Date: Fri, 19 Dec 2008 13:30:45 -0600
Message-ID: <E464473DC145404FBD632475DDAF55C6@DFW5RB41>
MIME-Version: 1.0
In-Reply-To: <494BE168.1020600@rettc.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
Note-from-DJ: This may be spam

> From: Alex Martin
> 
> Hello,
> 
> I have a cygwin environment, running some software I am 
> writing to talk to some serial devices.
> 
> Somehow, trying to debug why I could not see printf output to 
> console, I ran a serial port sniffer and voila all of my 
> printf commands are writing on the serial port.
> 

I can't say that it would cross my mind to look for my missing printf output
on a serial port, even if I was using a serial port in other parts of the
program to talk to something.  Whatever it was that gave you the hunch to do
that is probably at the core of your problem.

> Any idea how to fix this?
> 

Well, no, not really, since you've given very few details to go on.  I'd
SWAG that you've somewhere, somehow, redirected stdout to the serial port
you're trying to talk to those devices on.

> Thanks,
> Alex Martin
> 

-- 
Gary R. Van Sickle


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

- Raw text -


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