Mail Archives: djgpp/2000/12/24/14:36:30
Eli Zaretskii wrote:
> > From: Kenneth Doyle <cyberpunk AT notmail DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Mon, 25 Dec 2000 02:23:28 +1100
> > >
> > > Anyway, problem solved. In case anyone has a problem like this again,
> > > the first thing they should do is check for excess amounts of
> > > environment variables. :-)
> > >
> > > Damon Casale, damon AT WRONG DOT redshift DOT com (remove the obvious)
> > > "What do you mean, the environment's not able to support life? It
> > > looks a little crowded to me."
> > >
> > > Sent via Deja.com
> > > http://www.deja.com/
> >
> > You can increase the space for environment variables by adding a line like
> > this in config.sys:
> > SHELL=C:\COMMAND.COM /E:<size> /P
> >
> > where <size> is the size of the environment space.
>
> This enlarges the available space for environment variables used by
> COMMAND.COM, but doesn't change the space which DJGPP programs use to
> store environment variables (which is allocated as the need arises) or
> to pass them to child programs (which is 16KB by default, but can be
> changed by running STUBEDIT).
Ah, interesting. I had just assumed that DJGPP used the DOS environment. But
hang on, if the variables are set in AUTOEXEC.BAT, wouldnt they also be in the
DOS environment? They certainly show up in a DOS box when I type "set". No,
but wait, if that was the problem, then the result would show up long before
running anything in DJGPP.... I need to investigate this further.
- Raw text -