home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!destroyer!ncar!uchinews!quads!pynq
- From: pynq@quads.uchicago.edu (George Jetson)
- Subject: Environment size hack in DOS 5?
- Message-ID: <1992Nov12.234502.22273@midway.uchicago.edu>
- Summary: Don't tell me about SHELL= in CONFIG.SYS!
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: pynq@midway.uchicago.edu
- Organization: D. J. Dougherty & Associates
- Date: Thu, 12 Nov 1992 23:45:02 GMT
- Lines: 35
-
- In versions of DOS prior to 4.0, there was a well known patch location
- in COMMAND.COM that allowed you to change the default environment size.
- The default was usually something like 160 bytes (0A paragraphs), which
- is ridculously low. However, it was a simple matter to use DEBUG to
- patch it to something reasonable (e.g., setting the byte to 30 would get
- you a 768 char [minimum] environment, in all your subshells.)
-
- The ability to do this is absolutely curitical to my use of DOS, and it
- is one of the main reasons I stick with a version of DOS 3.x. However,
- I a friend of mine insists on using DOS 5, and she is having environment
- size problems (I.e., programs which are run under Windoze or other menu
- programs get small environments)
-
- I have spent fruitless hours perusing the DOS 5 COMMAND.COM, and have
- not been able to solve this problem. (I did it originally on a version
- of DOS 3.3, long ago, in a couple of hours, so I know it should not be
- that hard). I have also spent time on DR DOS 6.0, with the same dismal
- results. I have also perused the usual gang of archive sites, and have
- not found anything. So, my question to the net is, "Does anyone know
- the magic patch locations for DOS 5.0?"
-
- BTW, patching COMMAND.COM *is* the only correct solution. CONFIG.SYS
- only affects the first loaded copy of COMMAND.COM. Further, there are
- various kludge solutions floating around, e.g., ENV.ARC (from 1988 [!]) in
- MSDOS.SYSUTL on Simtel, et al, but I am not interested in kludge solutions.
-
- Anyone know the magic formula?
-
- ************************************************************************
- I've been told to back off on the diode jokes, but I still don't
- like smileys ;-)
-
- - pynq@quads.uchicago.edu, who is still costing the net
- hundreds, if not thousands, of dollars, every time he posts -
- ************************************************************************
-