🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3265

Re: Answer to how to make TSR name show on MAPMEM display.

#3265
From: Mark Lord
Date: Mon, 03 Dec 1990 14:57
23 lines
1666 bytes
In article <valley.660166653@gsbsun> valley@uchicago (Doug Dougherty) writes:
<I never thought deallocating the environment was such a hot idea anyway.
<What are we trying to do here, save a few hundred bytes?  What's the point?
<
<My testing with this sometime ago indicated that the name field
<in a MAPMEM display is the only thing you lose.  My advice is "Don't do it."

I disagree.  DO it.  Or make it an option for folks who like 
wasting 3-4K of memory on duplicated environments for their 5-15 TSRs,
none of which actually want the environment for anything.

My TSRs typically deallocate everything AFTER the name field, so that
MAPMEM and the like can still identify them.

Actually, another useful trick is to not define anything in autoexec.bat
until AFTER all TSRs have been loaded.  This includes setting COMSPEC and
PATH to null beforehand.  This reduces the size of the environment snapshot
for each TSR.
-- 
 ___Mark S. Lord__________________________________________
| ..uunet!bnrgate!mlord%bmerh724 | Climb Free Or Die (NH) |
| MLORD@BNR.CA   Ottawa, Ontario | Personal views only.   |
|________________________________|________________________|
Technical Details
Message-ID: <5014@bwdls58.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!bwdls61.bnr.ca!bwdls58!mlord
References: <5001@trantor.harris-atd.com> <valley.660166653@gsbsun>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!bwdls61.bnr.ca!bwdls58!mlord
From: mlord@bwdls58.bnr.ca (Mark Lord)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Answer to how to make TSR name show on MAPMEM display.
Message-ID: <5014@bwdls58.UUCP>
Date: 3 Dec 90 14:57:59 GMT
References: <5001@trantor.harris-atd.com> <valley.660166653@gsbsun>
Sender: mlord@bwdls58.UUCP
Reply-To: mlord@bwdls58.bnr.ca (Mark Lord)
Organization: Bell-Northern Research, Ottawa, Canada
Lines: 23