home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apollo
- 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
- From: vtpham@mksol.dseg.ti.com (van t pham)
- Subject: Re: borrow mode screen lockers?
- Message-ID: <1992Nov10.203045.6854@mksol.dseg.ti.com>
- Keywords: lock
- Lines: 12
- Sender: vtpham@mksol (van t pham)
- Nntp-Posting-Host: localhost
- Organization: Texas Instruments
- Date: Tue, 10 Nov 1992 20:30:45 GMT
-
- If you use the lock.pas program I posted earlier (article
- 1992Nov10.185117.4220@mksol.dseg.ti.com), do the followings to
- fix some minor bugs :
-
- 1. Delete line 438 (writeln('Graphic......)
- 2. Add 'if (graphic) then ' before the word 'gpr_$set_color_map'
- on line 894.
-
- Run /com/cmf on lock.pas.bak and lock.pas, the output should look
- like this:
-
- A438 writeln('Graphic file (before) : ', gfile:glen);
- deleted before
- B438 { Get userid }
-
-
- A894 gpr_$set_color_map (0, 256, a_vector, status);
- changed to
- B893 if (graphic) then gpr_$set_color_map (0, 256, a_vector, status);
-
-
- The first fix is to delete a statement included for debugging but I forgot
- to remove. The second is to make sure that the color map only get restored if
- you use bitmap for background.
-
- Sorry for the inconvenience.
-
- ================================================================================
- Van T. Pham | .sig space for rent
- vtpham@mksol.dseg.ti.com | inquire left.
- ================================================================================
-