← Mac OS X Unleashed 2002

Mac OS X Unleashed 2002

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

Image 1

Mac OS X UNLEASHED

John Ray William C. Ray Mac® OS X UNLEASHED SAMS

A book cover with a red-orange swirling abstract image, author names in white at top right, large white 'Mac® OS X' title, black 'UNLEASHED' text with a horizontal line, and the SAMS logo at bottom left.

Reading notes: The SAMS logo at bottom left is partially cropped at the edge and rendered as 'SAMS' in stylized form.

Printed product names
Mac OS X
Languages
English
PDF page 1

Mac® OS X UNLEASHED

John Ray William C. Ray Mac® OS X UNLEASHED SAMS

A red-orange swirling abstract image with glowing white highlights and dark shapes, with author names at top right, the large white title 'Mac OS X' in the middle-lower area, a black underlined 'UNLEASHED' below it, and the SAMS logo at bottom left.

Reading notes: The SAMS logo at bottom left is partially cropped at the edge and is read as 'SAMS'; the first letter is cut off.

Printed product names
Mac OS X
Languages
English
PDF page 2

Mac OS X Unleashed John Ray William Ray SAMS

Book cover with large bold dark gray title 'Mac OS X' across the top, white 'Unleashed' lettering on a dark gray oval at the bottom, author names in italic at right, and the SAMS logo beneath them, with faint ghosted background text visible behind the title.

Reading notes: Faint background text behind the title (table of contents or sidebar fragments) is too washed out to transcribe and was omitted. Reading order of the main title, subtitle and author block is inferred from layout.

Printed product names
Mac OS X
Languages
English
PDF page 3

Mac OS X Unleashed

Mac OS X Unleashed Copyright © 2002 by Sams All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photo- copying, recording, or otherwise, without written permission from the publish- er. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained here in. International Standard Book Number: 0672322293 Library of Congress Catalog Card Number: 200 1089383 Printed in the United States of America First Printing: November 2001 04 03 02 OJ 4 3 2 Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Warning and Disclaimer Every effort has been made to make thi s book as complete and as accurate as possible, but no warranty or fi tness is implied. The information provided is on an "as is" basis. The author(s) and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages aris- ing from the information contained in this book. EXECUTIVE EDITOR Jeff Schultz ACQUISITIONS EDITOR Jeff Schultz DEVELOPMENT EDITOR Susan Hobbs MANAGING EDITOR Charloue Clapp PROJECT EDITOR Heather McNeil/ PRODUCTION EDITOR Michael Henry INDEXER Larry Sweazy PROOFREADER Bob laRoche TECHNICAL EDITOR A1111e Gmves TEAM COORDINATOR Amy Patton INTERIOR DESIGNER Gary Adair COVER DESIGNER Are11 Howell PAGE LAYOUT Aya1111a Lacey

Reading notes: Library of Congress number reads '200 1089383' with a possible spacing or OCR error Some names in the credits list show damaged characters such as 'Charloue Clapp' and 'Are11 Howell'

Printed product names
Mac OS X
Printed dates
2002 · November 2001
Languages
English
PDF page 4

Contents at a Glance

Contents at a Glance Introduction 1 Part I Introduction to Mac OS X 5 Mac OS X Component Architecture 7 2 Installing Mac OS X 35 3 Mac OS X Basics 79 4 The Finder: Working with Files and Applications 119 5 Runni ng Classic Mac OS Applications 167 Part II Inside Mac OS X 191 6 Native Utilities and Applications 193 7 Internet Communications 261 8 Installing Third-Party Applications 347 Part Ill User-Level OS X Configuration 369 9 Network Setup 371 10 Printer and Font Management 401 11 Additional System Components 429 Part IV Introduction to BSD Applications 477 12 Introducing the BSD Subsystem 479 13 Common Unix Shell Commands: File Operations 519 Part V Advanced Command-Line Concepts 571 14 Advanced Shell Concepts and Commands 573 15 Command-Line Applications and Application Suites 607 16 Command-Line Software Installation 685 17 Troubleshooting Software Installs, and Compi ling and Debugging by Hand 711 18 Advanced Unix Shell Use: Configuration and Programming (She ll Scripting) 745 Part VI Server/Network Administration 779 19 X Window System Applications 781 20 Command-Line Configuration and Administration 813

Reading notes: Some OCR spacing irregularities in table of contents entries, e.g. 'Runni ng' and 'Ill' in Part III heading

Printed product names
Mac OS X
Languages
English
PDF page 5

21 AppleScript 845 22 Perl Scripting and SQL Connectivity 865 23 File and Resource Sharing with Netlnfo 903 24 User Management and Machine C lustering 949 25 fTP Serving 969 26 Re mote Access and Admini stration 999 27 Web Serving 1049 Part VII Server Health 1089 28 Web Programming 1091 29 Creating a Mail Server 1137 30 Accessing and Serving a Windows Network 1157 3 1 Server Security and Advanced Network Configuration 1197 32 System Maintenance 1247 Appendixes A Command-Line Reference 1283 B Admini stration Reference 1419 Index 1425

Reading notes: Table of contents listing with chapter numbers and page numbers; no headline or advertised products present. Some characters in the Netlnfo entry appear to be a misread of NetInfo, uncertain as printed.

Languages
English
PDF page 6

Contents Introduction 1 PART 1 Introduction to Mac OS X 5 1 Mac OS X Component Architecture 7 Mac OS X O verview .......................................... .................................... 8 Darwin .................................................................................................... 10 Mach Kernel .................................................................................... 10 T he BSD Subsystem ........................................................................ 12 Darwin's Open Source Innards ........................................................ 19 QuickTime ............................................................................................ 20 O penG L: Open Graphics Language ...................................................... 22 Quartz .................................................................................................... 23 C lassic .................................................................................................... 25 C arbon ............. ....................................................................................... 26 Cocoa .................................................................................................... 28 Java 2 .................................................................................................... 29 Aqua ..................................................................................................... .30 Migration Issues .................................................................................... 3 1 Summary ................................................................................................ 33 2 Installing Mac OS X 35 Pre- Installation Considerations and Tips .............................................. 36 Evaluating Your Hardware ................................................................ 36 Evaluating Your Needs ..................... .................................................... .40 OS X Features on Mac OS 9 ............................................................ 4 1 Preparing Your Drive fo r Mac OS X .................................................... 47 S imple Upgrade from Mac OS 9.x .................................................. 47 Performing a C lean Installatio n....................................................... .49 Partitioning Your Drive .................................................................... 49 Installing Mac OS 9.x ............................................................................ 56 Finishing Up the 9.x Install ............................................................. .57 Installing Mac OS X ..............................................................................59 Choosing a Language ...................................................................... 60 Welcome, Read Me, License ............................................................ 60 Select a Destination ..........................................................................6 1 Installation Type ..... .........................................................................62 The Mac OS X Setup Assistant ............................................................63 Country ............................................................................................64 Keyboard Layout ..... .........................................................................64

Reading notes: Table of contents entries contain irregular character spacing from extraction, e.g. 'O penG L' and 'Mac OS X O verview'.

Printed product names
Mac OS X · Mac OS 9 · Mac OS X Setup Assistant · Darwin · QuickTime · Quartz · Cocoa · Java 2 · Aqua
Languages
English
PDF page 7

vi Mac OS X UNLEASHED Registration Information ..................................................................65 Create Your Account ............................................... ......................... 66 Internet Setup .................................................................................... 68 iTools Setup ......................................................................................73 E-mail Setup ........................................ ............................................75 Selecting a Time Zone ......................................................................76 Setting Date and Time ......................................................................77 Wrap Up ................................................................................................78 Summary ................................................................................................ 78 3 Mac OS X Basics 79 Welcome to Mac OS X .......................................................................... 80 The File System-Where Did Everything Go? .................................... 81 The "Computer Level" of the File System Hierarchy ...................... 82 The Top-Level Mac OS X File System ............................................ 83 Library .............................................................................................. 84 System .............................................................................................. 87 Users ................................................................................................ 87 The Apple Menu .................................................................................... 9 1 What's Changed? .............................................................................. 93 Windows .................................. .............................................................. 94 Close/M inimize/Maximize .............................................................. 94 Hide/Show Toolbar .......................................................................... 95 Window Movi ng and Resizing ............................ .......... .... .............. 96 Window Widgets .............................................................................. 97 Sheet Windows and Window Trays .................................................. 99 The Application Menu ........................... .................. ........................... 10 I Menu Extras ........................................................................................ 102 The Finder ......................................................... ................ ................... I 03 Missing Features .............................. .............................................. 103 Modes of Operation ........................................................................ I 04 Delayed Reaction............................................................................ I 07 The Dock....................... .................. ......................................... ............ 107 Docked Windows, Files, and Folders ............................................ 108 Docked Applications ...................................................................... 109 Docklings .......................... .......................................... .................... 110 Dock Miscellany ............................................................................ 111 Other OS Components ........................................................................ 1 I I Open/Save Dialog Boxes ......... ....................................................... 112 Color Picker .................................................................................... 114 Font Panel ...................................................................................... 116 Volume and Brightness .................................................................. 117 Summary .............................................................................................. 11 8

Reading notes: Table-of-contents page numbers include OCR-style spacing artifacts (e.g., 'I 03', 'I 04') that may be misread. Some tokens such as 'Docklings' and 'Wrap Up' are spaced irregularly and may not match original spelling exactly.

Printed product names
Mac OS X · iTools
Languages
English
PDF page 8

CONTENTS vii 4 The Finder: Working with Files and Applications 119 Using the Finder .................................................................................. 120 Finder Views and Navigation ........................................................ 120 Icon View ............................................................... ......................... 120 List View .................................... ... .............. .......... ......................... 127 Column View ......................................... ......................... ................ 130 The Go Men u.................................................................................. 133 Finder Status Bar ....................................................................... ......... 136 Finder Toolbar.. ....... ........... ......................... .................. ........ ...... ......... 136 Predefi ned Shortcuts ...................................................................... 137 User-Defined Shortcuts .................................................................. 139 Finder File Operations ........................................................................ 140 Movi ng Files and Folders .............. ................................................ 140 Copying Files and Folders .............................................................. 14 1 Deleting Files and Folders...................................................... ........ 142 Creating Aliases ............................................ .......... ........................ 143 Launching Applications/Documents ..... ......................................... 144 Renaming Files .............................................................................. 145 The Edit Menu ........................................................ ........................ 145 Getting File Information ............................................ .......................... 146 General In formation .............................................................. ........ 147 Name & Extension ........................................................................ 148 Open wi th Application .................................................................... 149 Languages ............................................................... ................ ....... 150 Privileges ...................................... .................................................. 15 1 Preview .......................................................................................... 152 The Desktop and Finder Preferences .................................................. 153 Desktop: System Preference Panel ....................... .......... ............... 154 Finder Preferences ................................................. ......................... 155 Burni ng CDs ................................................................. ........ ............... 156 Usi ng the Dock .................. ........................................ .................. ........ 158 Application Switcher and Launcher .............................................. 158 Interacting with Running Appl ications .......................................... 158 File and Folder Shortcuts ...................................................... ........ 159 Docklings ..................... .. ....... ....... .......... .................. ............... ........ 160 The Trash Can ................................................................................ 160 Ejecting Media................................................................................ 160 Windows ............................................................... ......................... 16 1 Customi zing the Dock ........................................................................ 16 1 Instant Resizing .............................................................................. 161 Dock: System Preferences Panel .................................................... 162 Process Manager: Force Quilling Applications .................................. 164 Summary .... ...... ................................. .......... ......... ...... ........... ............... 165

Reading notes: Several words are split or garbled by OCR, such as 'Men u', 'Usi ng', 'Forc e Quilling' and 'Applications/Documents'. Page numbers in the table of contents are not mapped to any headline, so the primary heading is uncertain.

Printed product names
Finder · Dock · Trash Can · Desktop · Finder Toolbar
Languages
English
PDF page 9

viii Mac OS X UNLEASHED 5 Running Classic Mac OS Applications 167 The Classic Environment .................................................................... 168 Launchi ng Classic .................. .............................................................. 169 Memory Settings ............................................................................ 170 Forcing Carbon Apps into Classic .................................................. 170 Manually Starting and Configuring Classic .................................. 17 1 The Boot Process ................................................................................ 172 Resolving Conflicts ........................................................................ 173 Running Classic Applications .................................................... .......... 176 Messing Up Classic ........................................................................ 177 Usability Issues and Anomalies ...................................................... 179 Workarounds ...................................................... .................. ........ .. 180 Classic Options .................................................................................... 186 Direct Booting Mac OS 9.x ................................................................ 187 Booting into OS X .......................................................................... 188 Summary .............................................................................................. 188 PART II Inside Mac OS x 191 6 Native Utilities and Applications 193 Desk Accessories ................................................................................ 194 Calculator ........................................................................................ 194 Clock .............................................................................................. 195 Key Caps .......................................... .............................................. 197 Stickies............................................................................................ 198 Disk Utilities ........................................................................................ 203 Disk Copy ...................................................................................... 203 Disk Utility .................................................................................... 209 Apple System Profi ler .................................................................... 215 Console .......................................................................................... 222 Menus ..................... .......................................................................225 CPU Monitor ..................................................................................226 Process Viewer ...................................................................... ..........229 Graphic Utilities .................................................................................. 232 DigitalColor Meter ........................................................................233 Grab .................. ..............................................................................234 Image Capture .................................. ........................................... ...236 Preview ..........................................................................................24 1 Other Applications ..............................................................................244 Applet Launcher ............................................................................244 TextEdit .......................................................................................... 245 Chess ..... ..................................................... ....................................25 1 DVD Player ..... ................. ..............................................................254

Reading notes: Table of contents layout; section numbering and page references may not map to a clear reading order Some words are split across lines in the source (e.g., 'Launchi ng', 'Profi ler'), reproduced as printed

Printed product names
Mac OS X · Classic Mac OS Applications · Mac OS 9.x · Carbon Apps · Calculator · Clock · Key Caps · Stickies · Disk Copy · Disk Utility · Console · Menus · CPU Monitor · Process Viewer · DigitalColor Meter · Grab · Image Capture · Preview · Applet Launcher · TextEdit · Chess · DVD Player
Languages
English
PDF page 10

IX CONTENTS '--- --' Help Center ..........................................................................................257 Summary .............................................................................................. 259 7 Internet Communications 261 Internet Software .................................................................................. 262 Mail ....................... ............................................................................... 263 Setup .............................................................................................. 263 The Mail Interface .......................................................................... 270 Reading and Filing ........................................................................ 27 1 Composing Messages ........................ ....... ..................................... 274 Preferences ...................................................................................... 277 Menus ....................................................... ....... ..............................282 Address Book ................................................. ..................................... 286 LDAP ........................................................................................... ...288 Using Address Book ...................................................................... 288 Searching for Contacts ..................................................................293 Preferences ...................................................................................... 293 Menus ............................................................................................294 Sherlock .......................................................................... ....................295 Sherlock Interface .......................................................................... 296 Performing File and Content Searches .......................................... 297 Performing Internet Searches ................................................... ..... 300 Configuration .................................................................................. 304 Menus ............................................................................................ 305 QuickTime 5 .............. .......................................................................... 307 Setting Up QuickTime ................................................................... .308 Browser Plug-in ..............................................................................3 12 The Qu ickTime Player ..................................................................3 13 QuickTime Preferences ..................................................................3 19 Menus ............................................................................................ 320 QuiekTime Pro Features ................................................................ 32 1 iTunes ..................................................................................................32 1 First Run Setup ................................................................ ..............322 The iTunes Interface ......................................................................323 Encoding MP3s ..............................................................................325 Add ing MP3s to iTunes ................................................................. .328 Creating and Working with Playlists .............................................. 328 Internet Radio ................................................................................329 Playing Audio ............................................................................... .33 1 iTunes Pre ferences ......................................... .......................... ...... .334 Menus ............................................................................................336 Keychain Access ..................................................................................338 Automated Access ........ ................................................................. .339 Manual Access ................................................................................ 340

Reading notes: Primary heading is not clearly identifiable; the copy begins with a table of contents. Some OCR spacing artifacts appear in words such as 'Qu ickTime' and 'QuiekTime'.

Printed product names
iTunes · QuickTime 5 · Sherlock · Keychain Access · Address Book
Languages
English
PDF page 11

Mac OS X UNLEASHED

x Mac OS X UNLEASHED Managing Keychains ......................................................................343 Keychain Settings .......................................................................... 344 Menus ............................................................................................ 345 Third-Party Utilities ............................................................................ 345 Summary ................................ ........................... ................ ................. ..346 8 Installing Third-Party Applications 347 Software Sources and Fonnats ............................................................ 348 Distribution Formats ...................................................................... 349 Archive Formats ............................................................................ 349 Using Stuftlt Expander ........................................................................ 350 Prefere nces ...................................................................................... 35 1 Installing Software .............................................................................. 355 Disk Images .................................................................................... 355 Apple's installer (.mp kg I. pkg Files) .............................................. 356 Other Distribution Methods ............................................................ 356 Internet Software .................................................................................. 356 OmniWeb ................. ....................................................................... 357 Fire .................................................................................................. 357 RBrowser ........................................................................................ 358 MP3 Rage ................................................................................... ... 359 Applications and Utilities .................................................................... 360 Amadeus Il .................................................................................... 360 REALbasic ...................... ... ....... ...................................................... 36 1 Pepper ............................................................................................ 362 StoneStudio .................................................................................... 362 Tiffany ............................................................................................ 363 OmniGraffle ....................................................................................364 DesktopCalendar ............................................................................ 365 Screen savers ................. ......... ............... .......................... .....................366 Dock Additions .................................................................................... 367 Summary .............................................................................................. 367 PART Ill User-Level OS X Configuration 369 9 Network Setup 371 TCP/IP ...... .......... ................................................................................ 372 The Network Control Pane .................................................................. 374 The Advanced Subpane .................................................................. 374 Modem ............................................................................................ 375 Ethernet .......................................................................................... 380 Air Port ............................................................................................ 382

Reading notes: Table of contents text contains OCR spacing and character errors such as 'Fonnats', 'Stuftlt', 'Il' and 'kg I.' Page numbers and some heading spellings in the extracted text are uncertain

Printed product names
Mac OS X · OmniWeb · Fire · RBrowser · MP3 Rage · REALbasic · Pepper · StoneStudio · Tiffany · OmniGraffle · DesktopCalendar
Languages
English