🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #6060

Re: msc 3.0

#6060
From: Don Kneller%Langridge
Date: Wed, 26 Mar 1986 07:01
37 lines
2420 bytes
In article <314@omen.UUCP> caf@omen.UUCP (Chuck Forsberg WA7KGX) writes:
>In article <670@wjvax.wjvax.UUCP> curl@wjvax.UUCP (Jim Curl) writes:
>>I recently implemented a patch to command.com in DOS 3.1 to enlarge the
>>environment space (the shell command method didn't work??).
>>
>>Upon implementing the change, I happily added paths to the INCLUDE environment
>>variable for MSC 3.00 only to discover that it caused the error
>>
>>          Command line error: argument list for `p0.exe' too big
>>
>>Apparently the INCLUDE variable is included in the total 128 characters allowed
>>as part of the command line.  I wasn't able to account for all 128, though.
>>
>>Has anyone else encountered this problem?  Is there an easy way around it?
>
>MSC 3.0 copies the environment into the program's data space at startup to
>allow getenv() to operate as it does on Unix.  A large environment will
>reduce the space available for the stack and heap.  The solution is to use
>an 80386 ("what the 286 SHOULD have been -Bill Gates) in 32 bit address mode,
>but that requires hardware and software changes.

?what?

I think what the original poster had in mind was that the include path is
passed in the argument list for p0.exe and if the path is too long cl.exe
can't exec p0.exe because the argument list is longer than DOS allows
(128 characters ?).  I have had the same problem when trying to use "many"
-Ddefines on the command line.  The argument list was short enough for
cl.exe to accept but the augmented list passed to p0.exe was too long.

As far as I know, there is no way around the 128 character argument list
limit.  It's intrinsic to DOS.  I wish they'd fix it.
-- 
	Don Kneller
UUCP:	...ucbvax!ucsfcgl!kneller
ARPA:	kneller@ucsf-cgl.ARPA
BITNET:	kneller@ucsfcgl.BITNET
Technical Details
Message-ID: <801@ucsfcgl.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!ucsfcgl!kneller
References: <670@wjvax.wjvax.UUCP> <314@omen.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ucsfcgl.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!ucbvax!ucsfcgl!kneller
From: kneller@ucsfcgl.UUCP (Don Kneller%Langridge)
Newsgroups: net.micro.pc
Subject: Re: msc 3.0
Message-ID: <801@ucsfcgl.UUCP>
Date: Wed, 26-Mar-86 02:01:50 EST
Article-I.D.: ucsfcgl.801
Posted: Wed Mar 26 02:01:50 1986
Date-Received: Fri, 28-Mar-86 05:40:35 EST
References: <670@wjvax.wjvax.UUCP> <314@omen.UUCP>
Reply-To: kneller@ucsfcgl.UUCP (Don Kneller)
Organization: UCSF Computer Graphics Lab
Lines: 37