ts@uwasa.fi (Timo Salmi) (03/22/91)
22. ***** Q: How can I restore the original screen when a program muddles it? A: Many (screen oriented) programs do not restore the original screen after having been run. They either leave their own last layout on the screen, or, in many cases some kind of a shareware advertisement, or something else what you'd rather not remain on your screen after you exit the program. If you normally use a 25*80 text mode, and you are running a program named, say foo, which does not restore the screen, make the following batch (I have ramdisk on f:) pushscr f:\tmpscr.$$$ /o foo %1 %2 %3 %4 %5 %6 %7 %8 %9 popscr f:\tmpscr.$$$ del f:\tmpscr.$$$ > nul The utilities pushscr.exe and popscr.exe are part of the /pc/ts/tsutld18.arc package (or whatever version number is the latest). If the foo program also changes the video mode, and doesn't change it back, you'll need reset.exe prior popscr. It is available in /pc/tsutil31.arc. The wares are available by anonymous ftp from garbo.uwasa.fi, Vaasa, Finland, 128.214.12.37, or by using our mail server (use the latter if, and only if you don't have anonymous ftp). If you are not familiar with anonymous ftp or mail servers, I am prepared to send prerecorded instructions on request. (If you don't get the instructions from me within a few days, it will mean that your email address cannot be reached by a simple email reply. Contact your system manager for devicing a proper mail path for you, because unless you do, you wouldn't be able to utilize the mail server anyway. If you are in North America first consider using an ftp site near you to spare the overseas load.) ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
gsttallet@zach.fit.edu (Joe Tallet) (03/26/91)
The dos tool 'mode' will also restore a flaky screen. For example 'mode co80' will return a screen to 80 character color mode. --------------------------------------------------------- Weave a circle round him thrice, \ / jot@sps.com And close your eyes with holy dread, \ / For he on honey-dew hath fed, \ / And drunk the milk of Paradise. \/ ---------------------------------------------------------