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.
- Andrew
--
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it. If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence. -- Bertrand Russell
- Replies:
- Re: Stand-alone sequencer programs Ben Franksen
- References:
- Stand-alone sequencer programs Ben Franksen
- Navigate by Date:
- Prev:
Stand-alone sequencer programs Ben Franksen
- Next:
Re: Stand-alone sequencer programs 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:
Stand-alone sequencer programs Ben Franksen
- Next:
Re: Stand-alone sequencer programs 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
|