EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: stdout/stderr buffering on Windows
From: Andrew Johnson <[email protected]>
To: "J. Lewis Muir" <[email protected]>, <[email protected]>
Date: Thu, 6 Feb 2014 15:37:42 -0600
Hi Lewis,

On 02/06/2014 03:15 PM, J. Lewis Muir wrote:
> On 2/5/14, 1:13 PM, Andrew Johnson wrote:
>> I do not see that buffering behaviour when running an IOC in a Cygwin
>> OpenSSH session either.
> 
> Hi, Andrew.
> 
> Was that a Windows IOC or a Cygwin IOC?

That IOC was built for the cygwin-x86 target architecture.

Hmm, trying it again on an IOC built using Microsoft VS10 shows the
behaviour that Freddie described: stdout is line-buffered (I have to
press return at the iocsh prompt for a background task's messages to
appear), and stderr messages don't appear until I exit the IOC.

Interesting, thanks for asking that.

Your "test -t" check says that FDs 0, 1 and 2 are all connected to a
terminal BTW.

- Andrew
-- 
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

Replies:
Re: stdout/stderr buffering on Windows J. Lewis Muir
References:
stdout/stderr buffering on Windows freddie.akeroyd
Re: stdout/stderr buffering on Windows Andrew Johnson
Re: stdout/stderr buffering on Windows J. Lewis Muir

Navigate by Date:
Prev: Re: stdout/stderr buffering on Windows J. Lewis Muir
Next: Re: stdout/stderr buffering on Windows J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: stdout/stderr buffering on Windows J. Lewis Muir
Next: Re: stdout/stderr buffering on Windows J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·