home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20922 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  5.8 KB

  1. Xref: sparky comp.sys.mac.programmer:20922 comp.sys.mac.comm:12721 comp.sys.mac.hardware:25473
  2. Newsgroups: comp.sys.mac.programmer,comp.sys.mac.comm,comp.sys.mac.hardware
  3. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!quads!chh9
  4. From: chh9@quads.uchicago.edu (Conrad Halling)
  5. Subject: Re: Making the PB Duo Display 'Color' Window Title Bars
  6. Message-ID: <1993Jan7.185820.8669@midway.uchicago.edu>
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Reply-To: chh9@midway.uchicago.edu
  9. Organization: University of Chicago
  10. References: <01050133.mu0js1@distant.uucp>
  11. Date: Thu, 7 Jan 1993 18:58:20 GMT
  12. Lines: 109
  13.  
  14. In article <01050133.mu0js1@distant.uucp> edw@distant.uucp writes:
  15.  
  16. >Someone detailed what was required to get a PB Duo (or a PB 160/180, I imagine)
  17. >to show System 7-esque title bars by removing something in the System Enabler
  18. >201 file. Unfortunately, I expired that/those article(s). Does anyone remember
  19. >what can/should be removed to achieve the desired effect?
  20. >
  21. >P.S. This seems like something that *every* PB owner would want to know --
  22. >is there somewhere it could be stuck in a FAQ? Perhaps there should be a PB
  23. >FAQ -- if there's any interest, I'd be willing to 'administer' it.
  24.  
  25. Here is a copy of my original posting.  I sent this to a person who is
  26. compiling a PowerBook tips sheet, but I haven't seen anything since.
  27.  
  28. ----
  29.  
  30. How to restore "Color" window frames on PowerBook 160 and Duo 210 and 230:
  31.  
  32. If you set the screen to 16 grays using the Monitors control panel, you'll
  33. notice that the scroll bars and grow region of a document window are drawn
  34. using grays but that the title bar, including the go away box and the zoom
  35. box, are drawn in black and white.  On any other Macintosh, if you set the
  36. monitor to 16 grays (16 colors doesn't work), the title bar of the window
  37. will be drawn using the grays.  Hmmm.  What's going on here?  Why is a
  38. regular feature of the Macintosh interface disabled on the PowerBook 160?
  39.  
  40. The drawing of windows is controlled by a 'WDEF' resource.  Apple wrote a
  41. special WDEF resource just for the PowerBook 160 that causes the title bar
  42. to be drawn in black on white on a PowerBook 160 screen.  This is because
  43. the "swimming pixel" illusion is plainly visible in a title bar that is drawn
  44. using the grays.  However, as PowerBook 160 owners know, the six horizontal
  45. black lines in the title bar of a window cause annoying shadows on the
  46. screen.  If you, like me, would prefer that your windows be drawn in the
  47. standard manner, this tip explains how to get rid of the windows with the
  48. black and white title bars.
  49.  
  50. The custom 'WDEF' resource is contained in the "System Enabler 111" file in
  51. the System folder of a PowerBook 160.  This 'WDEF' resource can be removed
  52. using ResEdit 2.1.1 (available from ftp.apple.com).  Once the custom 'WDEF'
  53. resource has been removed, the next time your computer is started, the
  54. system software will use the standard 'WDEF' resource that is in the
  55. System file itself.
  56.  
  57. Here's how to make the change:
  58.  
  59. 1)  Standard warning:  use ResEdit only with a _copy_ of a file, never with
  60.     the original.  It is easy to screw things up so bad that you'll have to
  61.     reinstall the system.  Disclaimer:  I have done this on my own PowerBook
  62.     160, but I am in no way responsible if you screw up and lose all your
  63.     files.  If you're not sure of what you're doing, at least back up all your
  64.     files before you start, and have your System 7.1 installation disks
  65.     handy.  It's very unlikely that you'll need them, but just in case....
  66.  
  67. 2)  Open the System folder.  Holding down the option key, drag the "System
  68.     Enabler 111" file to the desktop.  The Finder makes a copy of this file
  69.     on the desktop; the original remains in the System folder.  You will make
  70.     changes only to the copy on the desktop.
  71.  
  72. 3)  Use ResEdit to open the copy of "System Enabler 111" that is on the 
  73.     desktop.
  74.  
  75. 4)  Click on the 'WDEF' line (or icon, depending on how you have set up
  76.     the views of the resources).  From the Edit menu, choose "Cut" or "Clear".
  77.     The 'WDEF' resource will be deleted.
  78.  
  79. 5)  Save the file and close it (but don't quit ResEdit).
  80.  
  81. 6)  In the "File" menu, choose "Get File/Folder Info...".  Open the modified
  82.     copy of "System Enabler 111" that is on the desktop.
  83.  
  84. 7)  Click the check box that unlocks the file.  Then change the name of the
  85.     file to something like "System Enabler 111 (modified)".  Click the
  86.     check box that locks the file.
  87.  
  88. 8)  Save the file and quit ResEdit.
  89.  
  90. 9)  Create a new folder in the System folder named something like "Unmodified
  91.     System Enabler".
  92.  
  93. 10) Drag the original "System Enabler 111" file into the new folder.
  94.  
  95. 11) Drag the modified system enabler "System Enabler 111 (modified)" into
  96.     the System folder.  You have now replaced the original system enabler
  97.     with the modified one, and you have cleverly saved a copy of the original
  98.     system enabler where the system software can't see it.  However, no
  99.     changes will occur until you restart your computer (but WAIT! -- don't
  100.     do a restart just yet).
  101.  
  102. 12) If you haven't already done so, use the Monitors control panel to set
  103.     your screen to 16 grays or 16 colors.
  104.  
  105. 13) Find your Disk Tools disk that came with the System 7.1 disks.  You will
  106.     need this if anything goes wrong.
  107.  
  108. 14) Restart your PowerBook 160.  Open a window if one isn't already open.
  109.     The title bar should now be drawn in grays.
  110.  
  111. 15) If something has gone wrong (the PowerBook will not start if the
  112.     System Enabler file is missing or grossly damaged), restart your
  113.     PowerBook 160 using the Disk Tools disk (I told you to get it earlier,
  114.     didn't I?).  Drag the modified system enabler "System Enabler 111
  115.     (modified)" to the trash, and drag the unmodified "System Enabler 111"
  116.     from the "Unmodified System Enabler" folder into the "System" folder.
  117.     Restart your computer.
  118.  
  119. -- 
  120. Conrad Halling
  121. c-halling@uchicago.edu
  122.  
  123.