ModeSwitch.v1.0.rhapsody-dr1.ppc.tar.gz

ModeSwitch.bundle  (PPC)
by
Scott Vail
svail@apple.com
10/22/1997
-----------------

ModeSwitch.bundle is a dynamically loadable bundle for Rhapsody-PPC DR1's
loginwindow application which allows a user to switch to any supported display
mode without first needing to reboot into MacOS.  

Once installed and loaded, the bundle will place a new "Display" button on the 
loginwindow.  Pressing the button will pop up a browser window in which the
user can select various display attributes, such as resolution, color-depth,
and refresh rate and then switch to that display mode based on those
parameters selected. 

I finished this bundle a little while ago and have been using it in-house for
about four months and it seems to be quite stable, at least on PPC platforms.
I'm making this available to PPC users mainly because there is no painless way
to switch modes on that platform from within Rhapsody.

On a side note, this bundle does not modify the NVRAM, so rebooting will revert
the video mode back to it's previous NVRAM setting (however the bundle will
still be there so it's easy to switch back).

How to install:
1. Log in as root user.
2. Unarchive the ModeSwitch.tar.gz file (gnutar xfvz ModeSwitch.tar.gz).
3. Enter the ModeSwitch-ppc directory, you'll find an 'install_msb' script, 
   run it (type "./install_msb").
4. Log out.
5. Type 'exit' in the username field of the loginwindow and press the
   <return> key.
6. The loginwindow should roll up and after a few seconds it should reappear
   with a little button labeled 'Display'.

How to remove:
1. Log in as root user.
2. Type "defaults remove loginwindow LoginUIBundle"
3. Type "rm -r /usr/lib/NextStep/loginwindow.app/ModeSwitch.bundle"
4. Log out.
5. Type 'exit' in the username field of the loginwindow and press the
   <return> key.
6. The loginwindow should roll up and after a few seconds it should reappear
   without the little "Display" button.

----
Disclaimer:  This is not an Apple product therefore Apple accepts no liability
for its use, duh.  Since I wrote it and am releasing it for general consumption,
my terms and conditions of use are:

  1. You use at your own risk (I haven't had any problems, and neither have the
     200 or so other people who are using this bundle on a daily basis, but it
     is technically an alpha quality product running on an alpha quality OS).
  2. This is an unsupported product so don't use this bundle unless you are very
     curious and know how to get yourself out of trouble if things go awry
     (however if you send me email about bugs I'll probably fix them at my
     convenience, but I have a very busy schedule so don't expect too much).
  3. If you need a secure loginwindow, then don't use this bundle (I don't think
     this bundle will actually compromise the security of the loginwindow, but
     if it does, it's not my problem).
