EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [epics-modules/lua] redirection in luash (#22)
From: Ben Franksen via Core-talk <core-talk at aps.anl.gov>
To: epics-modules/lua <reply+ACMMJFQPWAMBM4GSNJ7LOYN6KT3RPEVBNHHDCGYSWE at reply.github.com>
Cc: core-talk at aps.anl.gov
Date: Thu, 11 Mar 2021 10:39:22 +0100
Context: https://github.com/epics-modules/lua/issues/22

> The string replacement is weird because of how calls to the registered IOC shell functions are executed. I previously had added a function into base that allowed me to query the IOC's function registrar for the functions that had been registered. However, later on, one of the base developers decided that they didn't like the idea of having that access to outside code, so it was removed.

A very bad decision IMO. Can we please reopen discussion on that?

> Because that got removed, the way that calling IOC shell functions happens is by constructing a string and calling iocshCmd. iocshCmd is what is processing the string replacements and why it is only happening when calling epics functions.

You should not be forced to resort to such a horrible kludge.

Cheers
Ben
-- 
I would rather have questions that cannot be answered, than answers that
cannot be questioned.  -- Richard Feynman


Attachment: signature.asc
Description: OpenPGP digital signature


Replies:
Re: [epics-modules/lua] redirection in luash (#22) Michael Davidsaver via Core-talk

Navigate by Date:
Prev: [Bug 1918614] [NEW] epicsLoadTest fails when INSTALL_LOCATION is set Dirk Zimoch via Core-talk
Next: [Bug 1918617] [NEW] osiSockTest fails Dirk Zimoch via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: [Bug 1918614] Re: epicsLoadTest fails when INSTALL_LOCATION is set Andrew Johnson via Core-talk
Next: Re: [epics-modules/lua] redirection in luash (#22) Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 03 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·