On 6/17/20 4:26 PM, Johnson, Andrew N. via Tech-talk wrote:
>> While we're at it I would like to propose a forth solution: How about
>> beefing up the IOC itself so it can listen on a socket for connections
>> to the IOC shell? This would come with a few advantages (some of them
>> might only apply to systems running systemd):
>>
>> ...
>>
>> Thoughts? Maybe a project for the upcoming online codeathon?
>
> I think that would be best implemented in an external module. You don’t have to use the iocsh to run your IOCs – you can write your own shell, or set up the stdin/stdout/stderr streams to point to something else before running iocsh() in the main() routine. You might want to disable readline if you do that though unless you are completely emulating a tty.
Something like this would be functionally similar to the RTEMS telnetd
created by Till Straumann. I quite liked that feature.
I think having the option of a more daemon-like IOC, while preserving
the feature set of IOC shell, would be an excellent project. While
it would probably be best to try this idea as an external module (if
possible). I see no reason why this sort of enhancement couldn't be
included in Base.
- Replies:
- Re: How to run IOC in docker containers properly Heinz Junkes via Tech-talk
- Re: How to run IOC in docker containers properly Ralph Lange via Tech-talk
- References:
- How to run IOC in docker containers properly xiao zhang via Tech-talk
- Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Re: How to run IOC in docker containers properly Ben Franksen via Tech-talk
- Re: How to run IOC in docker containers properly J. Lewis Muir via Tech-talk
- Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Re: How to run IOC in docker containers properly Konrad, Martin via Tech-talk
- Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
Re: EPICS across subnets Michael Davidsaver via Tech-talk
- Next:
Re: How to run IOC in docker containers properly Heinz Junkes via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: How to run IOC in docker containers properly Johnson, Andrew N. via Tech-talk
- Next:
Re: How to run IOC in docker containers properly Heinz Junkes via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
<2020>
2021
2022
2023
2024
|