home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.emacs:3889 gnu.emacs.help:5213 comp.editors:3135
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!kuhub.cc.ukans.edu!spssig.spss.com!uchinews!quads!ab2r
- Newsgroups: comp.emacs,gnu.emacs.help,comp.editors
- Subject: Re: Does DEMACS work reliably for anyone?
- Message-ID: <1992Dec31.174001.5262@midway.uchicago.edu>
- From: ab2r@quads.uchicago.edu (Marshall Abrams)
- Date: Thu, 31 Dec 1992 17:40:01 GMT
- Reply-To: ab2r@midway.uchicago.edu
- Sender: news@uchinews.uchicago.edu (News System)
- References: <1992Dec20.173946.20445@super.org> <kfBUGNy00WB3MB7GYk@andrew.cmu.edu>
- Organization: University of Chicago
- Lines: 41
-
- In article <kfBUGNy00WB3MB7GYk@andrew.cmu.edu> strong+@CMU.EDU (Thomas W. Strong, Jr.) writes:
- >I've been using it [Demacs] for a couple weeks now, and I haven't had too many
- >problems with it. I have learned not to try o shell to DOS then print a
- >file... it will hang when I try to exit the shell.
-
- I've never used Demacs, but I suspect that this is a problem that
- I've dealt with in other contexts. The first time you use the
- DOS PRINT command, it loads a TSR program or a driver or
- something into memory. Generally, when you shell out of a
- program like an editor, you set up a secondary environment on top
- of the program you're shelling out of. When you run PRINT in
- this environment, you load the PRINT TSR on top of the program
- you shelled out of. Then when you try to go back to your
- original program, it can't reclaim the memory above it, because
- the PRINT TSR is stuck there. (In DOS 5.0, the MEM/C command
- will show you where things are loaded in memory.)
-
- What I do is load PRINT in my AUTOEXEC.BAT before I go into
- my editor. That way it's already loaded when I shell out of the
- editor. Since it's already loaded, running PRINT again doesn't
- load another copy of PRINT up above the editor. Then I can print
- my document and exit back to the editor.
-
- If you want to load PRINT into memory without actually printing a
- document, use the /d:<device> switch--e.g.'s:
-
- PRINT /D:PRN:
-
- or
-
- PRINT /D:LPT2:
-
- (The first example is perfect for most systems.)
-
- (If you don't like PRINT taking up memory, note that there are
- switches that will make it smaller, or you can load it into upper
- memory or something like that if your system supports it.)
-
-
-
- Marshall Abrams
-