Article View: comp.os.os2.programmer
Article #1738Re: screen blanker?
From: David Charlap
Date: Thu, 05 Nov 1992 21:55
Date: Thu, 05 Nov 1992 21:55
30 lines
1848 bytes
1848 bytes
In article <1992Nov4.4882.6564@dosgate> "gord armstrong" <gord.armstrong@canrem.com> writes: > >- what's the best method to blank the screen? VioPopUp is only > good for text modes...I also seem to have problems when using > the DosMonRead/DosMonWrite functions? Well, you could make it a text app, and have it force its session to the foreground. But that may suspend some apps, especially DOS ones. I think there is a video IOCTL you can send which will just turn off the screen. Perhaps by setting all the palette registers to zero. This might work. >- I can't seem to pass arguments when using 'detach'. > ie. detach blanker 3 - (for 3 minutes) returns to the prompt, > no action is ever taken? Use start, not detach. Your screen blanker generaes output, and I don't think detach will work with such a program. If you app is a text-mode app, it will get a window, which can be hidden. If it's a PM app, it will not show any output until you create windows, so it can run hidden if you want. -- David Charlap |"there aren't 50,000 things for which it's worth writing dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough ----------------------+ programmers to create that much good software. Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
Technical Details
Message-ID:
<1992Nov5.215528.5799@njitgw.njit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340References:
<1992Nov4.4882.6564@dosgate>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340 From: dic5340@hertz.njit.edu (David Charlap) Newsgroups: comp.os.os2.programmer Subject: Re: screen blanker? Message-ID: <1992Nov5.215528.5799@njitgw.njit.edu> Date: 5 Nov 92 21:55:28 GMT References: <1992Nov4.4882.6564@dosgate> Sender: news@njit.edu Distribution: comp Organization: New Jersey Institute of Technology, Newark, N.J. Lines: 30 Nntp-Posting-Host: hertz.njit.edu