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  <20122013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: iocshCmd, redirection, and function pointers
From: Andrew Johnson <anj@aps.anl.gov>
To: Eric Norum <wenorum@lbl.gov>
Cc: tech-talk@aps.anl.gov
Date: Wed, 2 May 2012 12:46:33 -0500
Hi Eric,

On 2012-03-14 Eric Norum wrote:
> >> For I/O redirection to work a source file must include
> >> epicsStdioRedirect.h.
> 
> When this was originally implemented we felt it should be optional. 
> Perhaps now after 10 years in the field we should just add
>  #include <epicsStdioRedirect.h>
> in epicsStdio.h.

I'm trying this in the 3.15 tree; it's not quite as easy as you might think 
because of the way we build flex and antelope (and so the epicsGetSdtin() etc. 
routines aren't recursive), but it is possible and I have it working now.

Any last-minute objections to my committing these changes?

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

References:
iocshCmd, redirection, and function pointers Allison, Stephanie
Re: iocshCmd, redirection, and function pointers Dirk Zimoch
Re: iocshCmd, redirection, and function pointers Eric Norum

Navigate by Date:
Prev: Re: [Scopes] BMP image record?? Rod Nussbaumer
Next: Re: [Scopes] BMP image record?? Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: iocshCmd, redirection, and function pointers Ernest L. Williams Jr.
Next: Synchronising CA shut down michael.abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·