home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 138.lha / Blanker / readme < prev    next >
Internet Message Format  |  1986-11-20  |  3KB

  1. From: joe@vixen.uucp (Joe Hitchens)
  2.         Blanker2 -- by Joe Hitchens -- v1.27.88
  3.         A screen blanking program that turns the screen black after 90 seconds
  4.         of keyboard and mouse inactivity.
  5.         Adds a tiny event handler to the input.handler event stream and watches
  6.         the events go by.  If it doesn't see a mouse or keyboard event after 900        timer events (10 per second), it turns the screen black by turning off
  7.         DMA for rasters and the copper.
  8.         If run from the CLI, a message will be printed out saying how long
  9.         the blank time is set to.
  10.         If run from (my cool) icon, nothing will appear to happen, but 90
  11.         seconds later you will be able to tell if it installed itself ok.
  12.         This program cannot be removed once installed, so if you have a 
  13.         problem with it, all I can say is "Stop using it".
  14.         I realize that it would be a lot nicer to have a true task running
  15.         in the background and message ports between the handler and the task
  16.         so the handler could be programmed and removed from the outside,
  17.         but, I opted to not do this because as it is, Blanker2 will take up
  18.         less than 256 bytes of ram, and doesn't require any more when it 
  19.         attempts to blank the screen (via opening black screens, etc.).
  20.         It's tiny and it does the job.  I think that may be worth alot to
  21.         most users.
  22.         This program is PUBLIC DOMAIN.
  23.         Do me a favor though, and leave my name on it so I can get a little
  24.         recognition.  
  25.         Usage: blanker2 [n]
  26.                 n = number of seconds of inactivity after which blanking occurs.                if n is not given, a default of 90 is used.
  27.                 NOTE: blanker2 need not be 'run'.  It will install an event
  28.                       handler and leave it behind when exiting.
  29.                       Also, the CLI window it may have been run from can be 
  30.                       closed after installation.
  31.         Exit codes
  32.         0       Normal exit, everything went fine.
  33.         1       CreatePort() failed.
  34.         2       CreateStdIO() failed.
  35.         3       OpenDevice() on "input.device" failed.
  36.         4       Memory Allocation for Interrupt structure failed.
  37.         5       Memory Allocation for Blanker structure failed.
  38.         6       Memory Allocation for event handler code space failed.
  39.         Please report any bugs you may find to me, so that I can try to
  40.         fix them.
  41.         j.h.                                      joe@sally.utexas.edu  
  42.