[ Pobierz całość w formacie PDF ]
.MacOS X soldiers on, unaffected, and all your Mac OS X programs remain safe, open, and running.5.2.3 Getting Out of ClassicThere's really no good reason to quit the Classic simulator, ever.Because Classic is a genuine Mac OS X program,it doesn't consume any memory or horsepower to speak of when it's in the background.You may as well leave itopen so that you won't have to wait for the startup process the next time you use a Mac OS 9 program.In fact, Classic doesn't even distract you by putting its icon on the Dock.Apple hoped to make the Classicexperience seamless by hiding its Dock icon once Classic is running.The idea was that you shouldn't really carewhether one program or another is running in Mac OS 9 or Mac OS X.All application icons whether in Classic ornot show up on the Dock, and clicking one switches to it, whether in Mac OS 9 or Mac OS X.(Of course, thistheory falls apart somewhat when you consider the changes in the menu, menu bar, window design, and soon.but let's not quibble.)There are a few situations when you might want to quit Classic manually, however.For example, you might wantto close it following a system crash or lockup within Classic; or you might want to restart Classic after makingchanges to its extensions, control panels, drivers, or other System Folder elements.You can exit Classic in any of several ways:In the System Preferences panel shown in Figure 5-3, click Stop or Restart.The Mac invites you to savethe changes to any open documents, if necessary.If your Classic environment has frozen or crashed, it may be too late for clicking the Stop button, savingyour unsaved changes, and so on.In that case, you may have to force quit your Classic program that is,shut it down with the subtlety of a sledgehammer.You lose any unsaved changes in any Classicprograms, but at least you escape the freeze or crash.You can force quit Classic just as you would any program, by pressing Option- -Esc and thenproceeding as described in Section 4.1.2.(In the list that appears, click Classic Environment and thenclick Force Quit.) And if you can't remember that keystroke, remember that you can always accomplishthe same thing by clicking Force Quit in the System Preferences window shown in Figure 5-3.TIPIn some cases, force quitting a frozen Classic isn't enough.You may also need to quitTruBlue-Environment, an invisible program that also runs when Classic does.TruBluedoesn't show up in the Force Quit dialog box.It does, however, show up in Process Viewer(Section 9.2.24).If you double-click its name there, you can force quit it (if, indeed, it's stillrunning).Dr.Jekyll and Mr.CarbonYou may recall from the previous chapter that Mac OS X-compatible programs come in two flavors:Cocoa (that is, written expressly for Mac OS X) and Carbon (adapted for Mac OS X from a previousversion).Carbonized programs generally offer a unique feature: the ability to run in either Mac OS 9or Mac OS X, unmodified.But you probably have both Mac OS 9 and Mac OS X installed on your Mac.Maybe you even haveClassic running, ready to open any Mac OS 9 program you happen to double-click.What happens,then, when you click the icon of a Carbonized program, such as Internet Explorer? Will it open in MacOS X or the Classic environment?The answer is: It's generally up to you.You can specify whether a particular Carbon program willopen in Mac OS 9 (Classic) or Mac OS X by highlighting its application icon and then choosingFile Get Info.In the Info window, you'll find the checkbox illustrated here: "Open in the Classicenvironment."If you turn that box on, double-clicking that program's icon opens it in Classic instead of Mac OS X.That's good to know for winning a bar bet or running an old AppleScript applet, perhaps.Otherwise,it's rarely useful, since almost every program runs better in Mac OS X than in Mac OS 9.5.2.4 Specifying a Classic System FolderClassic doesn't operate at all unless there's a Mac OS 9 System Folder somewhere on your Mac.(See Appendix Afor instructions on installing Mac OS 9 and Mac OS X.)On the other hand, it's perfectly legal, in the world of Mac OS X, to have more than one Mac OS 9 System Folderon board and many people do.You may want to designate one of them exclusively for use in Classic.(Youmight want to use a second one for dual booting, as described at the end of this chapter.) Note, however, thatfor Classic purposes, each Mac OS 9 System Folder must sit on a different disk or disk partition (see Appendix A).Preserving Bookmarks Across the SwitchIf you browse the Web using Internet Explorer in both Mac OS X and in Classic, you may havecursed the inconvenience of having to maintain two separate lists of favorite Web sites and ofhaving to lose your history trail every time you switch from one browser to the other.Fortunately,you don't have to.All you need to do is replace your Mac OS X Favorites and History files with aliases of your Mac OS 9Favorites and History files.That's the short version.Here's the full story.Open your Mac OS 9 System Folder (the one you've selected for use in the Classic mode see Figure5-3).Open its Preferences Explorer folder
[ Pobierz całość w formacie PDF ]