On Montag, 15. November 2010, Andrew Johnson wrote:
> On Monday 15 November 2010 13:22:39 Ben Franksen wrote:
> > On Montag, 15. November 2010, Ben Franksen wrote:
> > > On Montag, 15. November 2010, Andrew Johnson wrote:
> > > > While you're making sequencer changes, [...]
> >
> > ...would anyone be sad if I removed the -s switch for stand-alone
> > sequencer programs (i.e. those which which have been compiled
> > with 'snc -m' and thus contain a main function) and instead always
> > start them with an iocsh?
> >
> > The problem is that it is easy to forget the -s switch which leaves
> > you with a program that cannot be interrupted other than with a
> > kill -9 (SIG_TERM). This is just annoying and I don't see a
> > compelling use case.
> >
> > A compromise would be to just reverse the default, so you'd need an
> > extra switch to say 'no ioc shell'.
>
> That's what I did with the softIoc binary in Base; it used to need a
> -s option to enable the IOC shell, now it needs a -S switch to
> disable the IOC shell instead. A -s is still accepted, but does
> nothing.
Cool, so I'll copy this behaviour for the sequencer.
Thanks
Ben
--
"Never confuse what is natural with what is habitual."
-- attributed to Mahatma Gandhi
- References:
- Stand-alone sequencer programs Ben Franksen
- Re: Stand-alone sequencer programs Andrew Johnson
- Navigate by Date:
- Prev:
Re: Stand-alone sequencer programs Andrew Johnson
- Next:
Re: Last chance to save the sequencer's pv layer Ben Franksen
- 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: Stand-alone sequencer programs Andrew Johnson
- Next:
EPICS Base R3.14.12-rc1 now available Andrew Johnson
- 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
|