home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / msdos / programm / 10603 < prev    next >
Encoding:
Internet Message Format  |  1992-11-14  |  1.7 KB

  1. Path: sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!destroyer!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!rrz.uni-koeln.de!news!a0045
  2. From: a0045@rrz.uni-koeln.de (Jochen Roderburg)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: Environment size hack in DOS 5?
  5. Date: 13 Nov 92 17:27:50
  6. Organization: Regional Computing Center, University of Cologne, F. R. Germany
  7. Lines: 22
  8. Message-ID: <A0045.92Nov13172750@berry.rrz.uni-koeln.de>
  9. References: <1992Nov12.234502.22273@midway.uchicago.edu>
  10. NNTP-Posting-Host: berry.rrz.uni-koeln.de
  11. In-reply-to: pynq@quads.uchicago.edu's message of Thu, 12 Nov 1992 23:45:02 GMT
  12.  
  13. In article <1992Nov12.234502.22273@midway.uchicago.edu> pynq@quads.uchicago.edu (George Jetson) writes:
  14.  
  15.    In versions of DOS prior to 4.0, there was a well known patch location
  16.    in COMMAND.COM that allowed you to change the default environment size.
  17.    The default was usually something like 160 bytes (0A paragraphs), which
  18.    is ridculously low.  However, it was a simple matter to use DEBUG to
  19.    patch it to something reasonable (e.g., setting the byte to 30 would get
  20.    you a 768 char [minimum] environment, in all your subshells.)
  21.  
  22. I can't tell you the exact location, only for the german version which 
  23. wouldn't help you very much, but I remember that the unexpected problem
  24. with this patch for DOS 5 was, that the default environemnt size is now
  25. 256 and not 160, so you have to search for something with hex 10 and
  26. not hex 0A to locate the patch point.
  27.  
  28. Jochen Roderburg
  29. Regional Computing Center
  30. University of Cologne
  31. Robert-Koch-Str. 10                    Tel.:   +49-221/470-4564
  32. D-5000 Koeln 41                        E-Mail: Ro @ RRZ.Uni-Koeln.DE
  33. Germany
  34.  
  35.