home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / hardware / 23857 < prev    next >
Encoding:
Text File  |  1992-12-11  |  4.8 KB  |  103 lines

  1. Newsgroups: comp.sys.mac.hardware
  2. Path: sparky!uunet!wupost!gumby!destroyer!ncar!uchinews!ellis!chh9
  3. From: chh9@ellis.uchicago.edu (Conrad Halling)
  4. Subject: PowerBook 160 tip
  5. Message-ID: <1992Dec11.211938.1111@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: chh9@midway.uchicago.edu
  8. Organization: University of Chicago Computing Organizations
  9. Date: Fri, 11 Dec 1992 21:19:38 GMT
  10. Lines: 91
  11.  
  12. If you set the screen to 16 grays using the Monitors control panel, you'll
  13. notice that the scroll bars and grow region of a document window are drawn
  14. using grays but that the title bar, including the go away box and the zoom
  15. box, are drawn in black and white.  On any other Macintosh, if you set the
  16. monitor to 16 grays (16 colors doesn't work), the title bar of the window
  17. will be drawn using the grays.  Hmmm.  What's going on here?  Why is a
  18. regular feature of the Macintosh interface disabled on the PowerBook 160?
  19.  
  20. The drawing of windows is controlled by a 'WDEF' resource.  Apple wrote a
  21. special WDEF resource just for the PowerBook 160 that causes the title bar
  22. to be drawn in black on white on a PowerBook 160 screen.  This is because
  23. the "swimming pixel" illusion is plainly visible in a title bar that is drawn
  24. using the grays.  However, as PowerBook 160 owners know, the six horizontal
  25. black lines in the title bar of a window cause annoying shadows on the
  26. screen.  If you, like me, would prefer that your windows be drawn in the
  27. standard manner, this tip explains how to get rid of the windows with the
  28. black and white title bars.
  29.  
  30. The custom 'WDEF' resource is contained in the "System Enabler 111" file in
  31. the System folder of a PowerBook 160.  This 'WDEF' resource can be removed
  32. using ResEdit 2.1.1 (available from ftp.apple.com).  Once the custom 'WDEF'
  33. resource has been removed, the next time your computer is started, the
  34. system software will use the standard 'WDEF' resource that is in the
  35. System file itself.
  36.  
  37. Here's how to make the change:
  38.  
  39. 1)  Standard warning:  use ResEdit only with a _copy_ of a file, never with
  40.     the original.  It is easy to screw things up so bad that you'll have to
  41.     reinstall the system.  Disclaimer:  I have done this on my own PowerBook
  42.     160, but I am in no way responsible if you screw up and lose all your
  43.     files.  If you're not sure of what you're doing, at least back up all your
  44.     files before you start, and have your System 7.1 installation disks
  45.     handy.  It's very unlikely that you'll need them, but just in case....
  46.  
  47. 2)  Open the System folder.  Holding down the option key, drag the "System
  48.     Enabler 111" file to the desktop.  The Finder makes a copy of this file
  49.     on the desktop; the original remains in the System folder.  You will make
  50.     changes only to the copy on the desktop.
  51.  
  52. 3)  Use ResEdit to open the copy of "System Enabler 111" that is on the 
  53.     desktop.
  54.  
  55. 4)  Click on the 'WDEF' line (or icon, depending on how you have set up
  56.     the views of the resources).  From the Edit menu, choose "Cut" or "Clear".
  57.     The 'WDEF' resource will be deleted.
  58.  
  59. 5)  Save the file and close it (but don't quit ResEdit).
  60.  
  61. 6)  In the "File" menu, choose "Get File/Folder Info...".  Open the modified
  62.     copy of "System Enabler 111" that is on the desktop.
  63.  
  64. 7)  Click the check box that unlocks the file.  Then change the name of the
  65.     file to something like "System Enabler 111 (modified)".  Click the
  66.     check box that locks the file.
  67.  
  68. 8)  Save the file and quit ResEdit.
  69.  
  70. 9)  Create a new folder in the System folder named something like "Unmodified
  71.     System Enabler".
  72.  
  73. 10) Drag the original "System Enabler 111" file into the new folder.
  74.  
  75. 11) Drag the modified system enabler "System Enabler 111 (modified)" into
  76.     the System folder.  You have now replaced the original system enabler
  77.     with the modified one, and you have cleverly saved a copy of the original
  78.     system enabler where the system software can't see it.  However, no
  79.     changes will occur until you restart your computer (but WAIT! -- don't
  80.     do a restart just yet).
  81.  
  82. 12) If you haven't already done so, use the Monitors control panel to set
  83.     your screen to 16 grays or 16 colors.
  84.  
  85. 13) Find your Disk Tools disk that came with the System 7.1 disks.  You will
  86.     need this if anything goes wrong.
  87.  
  88. 14) Restart your PowerBook 160.  Open a window if one isn't already open.
  89.     The title bar should now be drawn in grays.
  90.  
  91. 15) If something has gone wrong (the PowerBook will not start if the
  92.     System Enabler file is missing or grossly damaged), restart your
  93.     PowerBook 160 using the Disk Tools disk (I told you to get it earlier,
  94.     didn't I?).  Drag the modified system enabler "System Enabler 111
  95.     (modified)" to the trash, and drag the unmodified "System Enabler 111"
  96.     from the "Unmodified System Enabler" folder into the "System" folder.
  97.     Restart your computer.
  98.  
  99. -- 
  100. Conrad Halling
  101. c-halling@uchicago.edu
  102.  
  103.