Re: Word too long
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Mark L. <la...@mi...> - 2000-03-17 19:10:27
|
Just for clarification, the limit is not on the environment variable length (since env vars are shell independent). The limit is on the input command line of tcsh. If you append to PATH, setenv PATH ${PATH}:/blah/blah and path is already about 1000 characters, then this command will fail, since the whole line expands to more than 1024 characters. In tcsh (i've got 6.09.00), edit "config_f.h" and change it to read '#define BUFSIZE 0x10000.' and recompile. -Mark Mark Lakata MIPS Technologies 1225 Charleston Road Mountain View, CA 94043 phone 650-567-5170 fax 650-567-5002 email la...@mi... On Fri, 17 Mar 2000, Henrik Westrell wrote: > Hi > > How many characters can a env. variable contain in tcsh ? > > We have many tools in our ASIC design flow and designers > very often gets this " Word too long" problem. I tried using > "wrapper-scripts" instead of setting the PATH, but it's not > feasible to create and maintain a couple of hundred wrappers. > > Someone solved this problem ? > Is there a shell that does support "bigger" variable sizes. > > /Henrik Westrell > > +---------------------------------------------------------------+ > | Henrik Westrell Methods & Tools | > | | > | ERICSSON RADIO SYSTEMS AB hen...@er... | > | Torshamnsgatan 30A Telephone: +46 (0)8 40 45575 | > | SE-164 80 STOCKHOLM Fax: +46 (0)8 752 9793 | > | SWEDEN Cellular: +46 (0)70 590 8968 | > +---------------------------------------------------------------+ > > > |