Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>,
	<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <37CF9557.45E46C0F@ece.gatech.edu>
Date: Fri, 03 Sep 1999 05:31:03 -0400
From: "Charles S. Wilson" <cwilson@ece.gatech.edu>
X-Mailer: Mozilla 4.6 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jon M Mollison <x91mollison@wmich.edu>
CC: cygwin@sourceware.cygnus.com
Subject: Re: Help?  Problem with Cygwin on Win98
References: <37CF44EB.F7113A50@wmich.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jon M Mollison wrote:

> Greetings,
>
> I need a C++ compiler for a class I am taking and downloaded
> Cygwin B20 in order to use cgg.  Unfortunately, I can't seem
> to get Cygwin B20 to operate.  I got the message "Out of
> environment space" message and so attempted to increase the
> amount of environment space in my config.sys by right
> clicking on the Cygwin B20 icon and going to "Properties",
> "advanced" and adding the line `shell=C:\command.com /e:4096
> /p' (C: is your system drive letter.)
>
> Now, when I attempt to run the program, it shuts down
> Windows and restarts in MS-DOS mode.  My computer announces
> that it is running the program, then announces that the
> program cannot be run in DOS mode and reboots Windows...

You're editing the wrong thing - you need to edit your c:\config.sys
file and fix the shell= statement there. That way, it's valid for the
windows session. What you're doing is this:

1. okay, Windows can have a dinky 1k environment space
2. oh, no, the user clicked on a program whose pif specifies a 4k
environment space; I can't provide that. I'd better reboot to MSDOS mode
so the 4k environment can happen
3. <reboot>
4. Waitaminute - that program needs access to windows stuff. It can't
run under MSDOS mode. I'm outta here.
5. <reboot>

So, fix your c:\config.sys file, and get rid of the <Advanced> setting
on the pif file for cygwin.bat. And reboot before trying it out.

--Chuck



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

