home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6232 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.8 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Re: screen blanker?
  5. Message-ID: <1992Nov5.215528.5799@njitgw.njit.edu>
  6. Date: 5 Nov 92 21:55:28 GMT
  7. References: <1992Nov4.4882.6564@dosgate>
  8. Sender: news@njit.edu
  9. Distribution: comp
  10. Organization: New Jersey Institute of Technology, Newark, N.J.
  11. Lines: 30
  12. Nntp-Posting-Host: hertz.njit.edu
  13.  
  14. In article <1992Nov4.4882.6564@dosgate> "gord armstrong" <gord.armstrong@canrem.com> writes:
  15. >
  16. >- what's the best method to blank the screen? VioPopUp is only
  17. >  good for text modes...I also seem to have problems when using
  18. >  the DosMonRead/DosMonWrite functions?
  19.  
  20. Well, you could make it a text app, and have it force its session to
  21. the foreground.  But that may suspend some apps, especially DOS ones.
  22.  
  23. I think there is a video IOCTL you can send which will just turn off
  24. the screen.  Perhaps by setting all the palette registers to zero.
  25. This might work.
  26.  
  27. >- I can't seem to pass arguments when using 'detach'.
  28. >  ie. detach blanker 3 - (for 3 minutes) returns to the prompt,
  29. >                         no action is ever taken?
  30.  
  31. Use start, not detach.  Your screen blanker generaes output, and I
  32. don't think detach will work with such a program.  If you app is a
  33. text-mode app, it will get a window, which can be hidden.  If it's a
  34. PM app, it will not show any output until you create windows, so it
  35. can run hidden if you want.
  36.  
  37.  
  38.  
  39. -- 
  40. David Charlap         |"there aren't 50,000 things for which it's worth writing
  41. dic5340@hertz.njit.edu| software; and the computer industry doesn't have enough
  42. ----------------------+ programmers to create that much good software.
  43. Therefore, most of it must be worthless" -- Boris Beizer "The Frozen Keyboard"
  44.