home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!samiam
- From: samiam@netcom.com (Scott Moore)
- Subject: Re: Question about OS/2 emulated DOS, how it works???
- Message-ID: <1992Dec14.074127.16842@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <28468@oasys.dt.navy.mil>
- Date: Mon, 14 Dec 1992 07:41:27 GMT
- Lines: 34
-
- jwhite@oasys.dt.navy.mil (Joseph White) writes:
-
- >I have a question about how OS/2's emulated DOS handles TSR's. Under
- >MS-DOS, if you loaded a TSR after shelling to DOS from a program (ie,
- >under a secondary shell) you end up leaving a 'hole' in memory.
- >
- >How does OS/2 handle the same situation? I ask this because I am
- >trying to run NCSA Telnet with a packet driver under OS/2. Until late
- >Friday, I thought that I had it working, but then as I was leaving
- >work for the weekend, I decided to check my e-mail, and got messages
- >about the DOS program not having enough memory to run, would I like to
- >change the DOS settings? The end result of this experience is that I
- >am reinstalling first thing on Monday 8-(.
-
- >I was under the impression that when you exited from an OS/2 emulated
- >DOS shell, that OS/2 cleared up the memory that was used, and made it
- >available for an other use. Is that right?
-
- As long as the VDM (virtual dos machine) runs, it will behave just as real dos
- will, ie, you will get the hole effect from runnning a TSR. But once the VDM
- closes (as in the dos screen or window colapses and no longer shows up on the
- task list), it is truly gone, including any tsrs.
- To my knowledge, having a tsr loaded will not prevent the VDM from exitting,
- and so the script you showed would simply install the tsr, then immediately
- dump out of the VDM (or were you shelling out from another program in that
- VDM ?).
-
- [sam]
- --
- Scott A. Moore [SAM] | "Cash is more
- samiam@netcom.com | important than your
- Santa Cruz, CA USA | mother"
- 408-423-1624 | Allan Shugart - CEO Segate Corp.
- ------------------------------------------------------------------------
-