home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / apollo / 3921 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.6 KB  |  44 lines

  1. Newsgroups: comp.sys.apollo
  2. Path: sparky!uunet!news.tek.com!psgrain!charnel!rat!usc!zaphod.mps.ohio-state.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mksol!vtpham
  3. From: vtpham@mksol.dseg.ti.com (van t pham)
  4. Subject: Re: borrow mode screen lockers?         
  5. Message-ID: <1992Nov10.203045.6854@mksol.dseg.ti.com>
  6. Keywords: lock
  7. Lines: 12
  8. Sender: vtpham@mksol (van t pham)
  9. Nntp-Posting-Host: localhost
  10. Organization: Texas Instruments
  11. Date: Tue, 10 Nov 1992 20:30:45 GMT
  12.  
  13.    If you use the lock.pas program I posted earlier (article
  14. 1992Nov10.185117.4220@mksol.dseg.ti.com), do the followings to
  15. fix some minor bugs :
  16.  
  17.    1. Delete line 438 (writeln('Graphic......)
  18.    2. Add 'if (graphic) then ' before the word 'gpr_$set_color_map'
  19.       on line 894.
  20.  
  21.    Run /com/cmf on lock.pas.bak and lock.pas, the output should look
  22. like this:
  23.  
  24. A438                             writeln('Graphic file (before) : ', gfile:glen);
  25. deleted before
  26. B438                                      { Get userid }
  27.  
  28.  
  29. A894         gpr_$set_color_map (0, 256, a_vector, status);
  30. changed to
  31. B893         if (graphic) then gpr_$set_color_map (0, 256, a_vector, status);
  32.  
  33.  
  34.    The first fix is to delete a statement included for debugging but I forgot
  35. to remove. The second is to make sure that the color map only get restored if
  36. you use bitmap for background.
  37.  
  38.    Sorry for the inconvenience. 
  39.  
  40. ================================================================================
  41. Van T. Pham                |    .sig space for rent
  42. vtpham@mksol.dseg.ti.com   |    inquire left.
  43. ================================================================================
  44.