🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Restoring the screen after bad-behaving application

#5290
From: Timo Salmi
Date: Thu, 21 Mar 1991 18:28
38 lines
2449 bytes
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
Technical Details
Message-ID: <1991Mar21.182844.13003@uwasa.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ucbvax!bloom-beacon!eru!hagbard!sunic!news.funet.fi!uwasa.fi!uwasa.fi!ts

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ucbvax!bloom-beacon!eru!hagbard!sunic!news.funet.fi!uwasa.fi!uwasa.fi!ts
From: ts@uwasa.fi (Timo Salmi)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.apps
Subject: Restoring the screen after bad-behaving application
Message-ID: <1991Mar21.182844.13003@uwasa.fi>
Date: 21 Mar 91 18:28:44 GMT
Sender: ts@uwasa.fi (Timo Salmi)
Organization: University of Vaasa
Lines: 38