On Sat, 24 Feb 2001 12:19:46 -0800, Clarence Verge wrote:
> Gentlemen;
> Those of you using "shells" should be aware of the fact that the info
> that you see in the environment depends on which shell level you were
> at when you put the info IN (shelled or unshelled) and which level you
> are at when you LOOK.
> If you put the unfo IN unshelled, you will ALWAYS see it.
> If you put the info in SHELLED, you won't see it when you return to
> the DOS prompt. In fact, it will be GONE for good.
> Shell to DOS.
> Type SET TEST=HELLO.
> Type SET. OK ? It's there.
> Exit to Arachne.
> Shell to DOS. Type SET.
> Once you have typed EXIT, it's gone for good.
> Another important point regarding ENVIRONMENT space while shelled:
> It doesn't matter HOW much environment you specify in config.sys if
> you are going to run in a shell, or even just shell temporarily.
> The operation of loading another copy of command.com (shelling), will
> make a COPY of the contents of your current environment and set your
> SHELLED environment space to the default for your DOS (256 ?) *OR* one
> byte more than you already NEED, whichever is greater. :(
Ummm..
Not so when we Alt+E out of Arachne to a DOS prompt.
--- \arachne\system\dgi\dosshell.bat ---
@echo off
set oldpmt=%prompt%
set prompt=Type EXIT to return to Arachne$_$p$g
if exist ppp.log set prompt=You are still online$_Type EXIT to return to Arachne$_$p$g
if (%COMSPEC%)==() goto nocomspec
%COMSPEC% /E:512
goto end
:nocomspec
COMMAND.COM /E:512
:end
set prompt=%oldpmt%
set oldpmt=
%1
cd %1system
cd ..
________________________________________
And if any particular user finds that 512 is not enough... <vbg>
--
Glenn
http://arachne.cz/
http://freedos-32.sourceforge.net/
http://www.delorie.com/listserv/mime/
http://www.angelfire.com/id/glenndoom/download.htm