www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/24/14:36:30

From: Kenneth Doyle <cyberpunk AT notmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: "Command line too long"
Date: Mon, 25 Dec 2000 05:42:00 +1100
Organization: CodeCutter
Lines: 36
Message-ID: <3A464377.A415CDD7@notmail.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001219134418 DOT 365O-100000 AT is> <91tnie$mq2$1 AT nnrp1 DOT deja DOT com> <3A4614EF DOT DCB38503 AT notmail DOT com> <9003-Sun24Dec2000194704+0200-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: p116-tnt1.syd.ihug.com.au
Mime-Version: 1.0
X-Trace: bugstomper.ihug.com.au 977685934 5658 203.173.128.116 (24 Dec 2000 19:25:34 GMT)
X-Mailer: Mozilla 4.75 [en] (Win95; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019