EPICS Controls 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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: shell command arguments limitation?
From: Andrew Johnson <[email protected]>
To: [email protected]
Cc: Eric Norum <[email protected]>
Date: Wed, 20 Apr 2011 12:17:33 -0500
On Wednesday 20 April 2011 12:02:31 Eric Norum wrote:
> The ioc shell doesn't call its registered functions with individual
>  arguments so the limit you're describing does not exist.  iocsh handler
>  functions are called with a single argument -- a pointer to an array of
>  argument unions.  The only limit that I can see is the amount of memory
>  available to hold this array.

There may be a limit to the length of the command line buffer which would 
restrict the number of arguments, but that probably depends on the underlying 
OS and what the EPICS_READLINE setting is.

Jim may have been remembering the arguments to the vxWorks taskSpawn() 
function, which is limited to 10 arguments.  I'm not aware of a limit in the 
vxWorks shell either, but there may be one that I haven't come across yet.

- Andrew
-- 
An error is only a mistake if you don't learn from it.
When you learn something from it, it becomes a lesson.

Replies:
RE: shell command arguments limitation? Jim Chen
References:
New sequencer bugfix release candidate Benjamin Franksen
RE: shell command arguments limitation? Hu, Yong
Re: shell command arguments limitation? Eric Norum

Navigate by Date:
Prev: Re: shell command arguments limitation? Eric Norum
Next: Re: status of Debian/Ubuntu packages/repositories Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: shell command arguments limitation? Eric Norum
Next: RE: shell command arguments limitation? Jim Chen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·