Unix Technical Forum

Environment Variable Length

This is a discussion on Environment Variable Length within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> What is the default env var length, how can I make it longer, what do I do if I ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 06:02 AM
aaronhirshberg@yahoo.com
 
Posts: n/a
Default Environment Variable Length

What is the default env var length, how can I make it longer, what do
I do if I can't make it longer?

Aaron Hirshberg
ahirshbe@us.ibm.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 06:02 AM
Rick Jones
 
Posts: n/a
Default Re: Environment Variable Length

aaronhirshberg@yahoo.com <aaronhirshberg@yahoo.com> wrote:
> What is the default env var length, how can I make it longer, what
> do I do if I can't make it longer?


I've no idea if it changes from one release to another, but it is
generally a good idea to state for which releases of the OS you seek
the information. Some google searching suggested that at least some
revisions of HP-UX had information relating to that in the "environ"
manpage. There may be related information in the sysconf and getconf
manpages.

As for what one does if you cannot make the environment variable data
longer (I presume you mean the data associated with the envvar and not
its name) that may depend - presumably one could start to use more
than one envvar, or have an envvar which pointed to a file which had
all the information in it.

rick jones
--
The computing industry isn't as much a game of "Follow The Leader" as
it is one of "Ring Around the Rosy" or perhaps "Duck Duck Goose."
- Rick Jones
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 06:02 AM
aaronhirshberg@yahoo.com
 
Posts: n/a
Default Re: Environment Variable Length

I found the solution in an old discussion thread from two years ago.
The question asker from two years ago? ME! Too bad I didn't write
down the answer at that time.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 06:02 AM
Ulrich Windl
 
Posts: n/a
Default Re: Environment Variable Length

"aaronhirshberg@yahoo.com" <aaronhirshberg@yahoo.com> writes:

> I found the solution in an old discussion thread from two years ago.
> The question asker from two years ago? ME! Too bad I didn't write
> down the answer at that time.


Glad you have an Internet-extended brain ;-)

Ulrich
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:08 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com