[comp.sources.bugs] Need some help with uupc

bill@westpt.usma.edu (Bill Gunshannon) (09/08/87)

I need some help getting uupc to run on my PC.  I know it was posted
once before but not being one who works extensively with MSDOS I failed
to keep a copy around.
How do you increase the size of the environment in MSDOS 3.1??
I believe there are a set of patches that can be applied to enlarge it
but I don't know what they are.  Any help would be appreciated, and maybe
this information should be included with the uupc distribution.

Thanks in advance.

bill gunshannon


UUCP:      {philabs,phri}!westpt!bill        PHONE: WORK    (914)446-7747
US SNAIL:  Martin Marietta Data Systems      PHONE: HOME    (914)565-5256
           USMA, Bldg 600, Room 26           RADIO:         KB3YV
           West Point, NY  10996	     AX.25:         KB3YV @ K3RLI

wtm@neoucom.UUCP (Bill Mayhew) (09/10/87)

You can increase the environment size in dos 3.x by specifiying the
start-up shell in your CONFIG.SYS file.  Normally, you'd want
COMMAND.COM to be the shell.  I've seen a lot of errors in owner's
manuals regading the options for the SHELL= parameter.  Many
manuals say that enviornment size is specified in bytes; this is
only true for DOS 3.2 and 3.3.  3.0 and 3.1 measure the environment
size in 16 byte paragraphs.  Under 3.0 and 3.1, divide your desired
environment size by 16 to get the number to be used for the
parameter.

Use the following syntax for the CONFIG.SYS entry:

	SHELL = C:\COMMAND.COM /E:1024 /P

The /E: specifies the environment size. /P means "permanent", and
has to be present.  The /P indicates to COMMAND.COM that it is the
inital program, and it is OK to mess with the envrionment size; I
think it also means that this is the shell that will be reloaded
when a program dumps command.com to get extra space.

DOS 2.x requires patching to increase environment space.  That's a
good enough reson for me to suggest dropping 2.x, unless you have
an older program you need to run that gorks on 3.x.

Bill
(wtm ' daemon;
he g