home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / misc / 39256 < prev    next >
Encoding:
Text File  |  1992-12-14  |  2.1 KB  |  45 lines

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