Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Solaris limitation on command line

807567Feb 7 2008 — edited Sep 2 2008
Hi all,

I have small problem :

I try to invoke from script command longer than 256 charackters via sh - here appeared problem - shell accepts only 257 characters.

Do You now how "force" sh to increase their input buffer length ? Maybe any system parameter ?

on enviroment I have :

$ getconf -a | egrep "255|256|257"
MAX_CANON: 256
NAME_MAX: 255
NL_SETMAX: 255
OPEN_MAX: 256
POSIX2_RE_DUP_MAX: 255
RE_DUP_MAX: 255
STREAM_MAX: 256
UCHAR_MAX: 255
POSIXMAX_CANON: 255
POSIXMAX_INPUT: 255
POSIXPATH_MAX: 255

How do You think - which parameter from these should be increased to ensure that shell will be accepts more than 257 characters ??

I have

*
* Utsname Tunables
*
5.9 release (REL)
julia node name (NODE)
SunOS system name (SYS)
Generic_118558-17 version (VER)
*

Cheers,
Jacek
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2008
Added on Feb 7 2008
13 comments
2,864 views