Third Edition Juni 2005
ISBN 978-0-596-00912-0
Weitere Informationen zu diesem Buch
Inhaltsverzeichnis |
Index |
Probekapitel |
Rezensionen |
Index
[ Symbols ], [ Numbers ], [ A ], [ B ], [ C ], [ D ], [ E ], [ F ], [ G ], [ H ], [ I ], [ J ], [ K ], [ L ], [ M ], [ N ], [ O ], [ P ], [ Q ], [ R ], [ S ], [ T ], [ U ], [ V ], [ W ], [ X ], [ Y ], [ Z ],
Symbols[ Top ]
&& (and) operator, 26
^[ (ASCII ESC character), 11
* (asterisk)
passwords set to, 79
quoting or escaping in passwd entries, 80
\ (backslash)
escaping spaces and special characters on command line, 13
line continuation escape symbol, 213
$, bash shell prompt, xv
" (quotation marks)
around file paths, 13
around filenames containing spaces, 13
#, root user prompt for bash shell, xv
Numbers[ Top ]
3D graphics package (Blender), 135
64-bit computing, 203-205
A[ Top ]
Accelerate framework, 237
Active Directory plug-in (Directory Access), 71
ADC (Apple Developer Connection), 188
Xcode Tools, xiii
AddModule and LoadModule directives (httpd.conf), 295, 296
administrative privileges, granting, 80
Advanced Package Tool (APT), 241
AFP (Apple Filing Protocol), 36
AFP (AppleTalk Filing Protocol), 294
agents
SSH, 145
Xgrid, configuring in Tiger, 210
agvtool, 356
AirPort Base Station, configuring to send traffic to Mac server, 291-294
AirPort Extreme (Linux on Mac hardware), 163
alloc.h header file, 217
AltiVec Velocity Engine (Motorola), 203
and (&&) operator, 26
animation, 135
ANSI
escape sequences, 11
trigraph preprocessing, 214
Apache server, 294, 295-302
bonjour_module, 301
hfs_apple_module, 301
optional modules, 295
perl_module, 296
php4_module (mod_php4), 300
source code, web site for, 296
ssl_module (mod_ssl), 297
WebDAV module (dav_module), 296
Apache::Registry module, 296
.app file extension, 5, 270
Apple
C compiler, 189
command-line developer tools, 356-358
debugger, 188
Open Firmware page, 330
Apple Developer Connection (ADC), 188
Xcode Tools, xiii
Apple Double format, 32, 35
problems using multiple file transfer solutions, 37-39
Apple Events, invoking from Perl, 345
Apple File Sharing, launching at startup, 52
AppleScript, 187
commands, customizing Terminal with, 12
R package, using with, 155
running from command line, 7
Script Editor service (Terminal), 15
support by iTeXMac, 151
support by TeXShop, 149
AppleScript Studio, 187
AppleTalk Filing Protocol, 294
AppleTalk protocol, 71
appletviewer tool, 359
AppleVNCServer, enabling, 125
application bundles, 195
Application menu
connecting to other X Windows Systems, 117
Hide option, 137
Show All option, 138
X11, 107
customizing, 114
applications
contents of, 270
opening with shell open command, 21
packaging for distribution, 277-280
starting automatically, 59
X11-based, 111
Applications folder, disk images and, 270
application-specific frameworks, 197
including, 198
/Applications/Utilities directory
Directory Access and, 71
NetInfo Manager, 74
Terminal, 5
X11 in, 107
Appscript, 347
apropos command, 365
APT (Advanced Package Tool), 241
apt-get tool, 241, 246
Aqua
desktop real estate-saving features, 137
interactions with X11-based applications, 115
launching applications with Finder, 20
native port of LyX (LyX/Mac), 152
open source video viewing applications, 132
OSXvnc server, support by, 120
R with Aqua GUI, 155-157
terminal applications, 4
TeX Live-teTeX interfaces, 147
TKAqua, 116
version of Qt for Mac OS X, 115
VNC client, 122
VNC viewers, 122
X11 full screen and rootless modes, 108
Aqua-native terminal applications (iTerm), 17-19
AquaTerm, 208
archiving files and directories
file compression and storage, 363
.pax archive file, 262
arithmetic
expr command, 360
math library (libm), 218
assembler and PowerPC machine language, 206
ATI Radeon graphics adapter, 4
audio/video players, 132
authentication
BSD flat files, using, 71
Directory Access Authentication tab, 73
Linux-PAM, using, 69
NetInfo database and, 67
PostgreSQL and, 341
relying solely upon flat files, 74
autoconf facility, 191
awk tool, 359
B[ Top ]
backups of NetInfo database, 84
bash shell, 3, 360
# prompt for root user, xv
$ user prompt, xv
commands to customize iTerm titlebar, 17
DISPLAY variable, enabling X11 forwarding, 116
escape sequences used with, 11
iTerm, using, 17
--posix command-line option, 3
BBEdit, forcing file to be opened with, 22
beeps (system alert), for X11, 114
Berkeley-compatible command-line interface, 95
bi-endian ordering, 205
big-endian ordering, 205
bill of materials (.bom) file, 261
listing contents of, 358
binaries
installing with DarwinPorts, 257
installing with Fink dselect, 246-248
BIND (Berkeley Internet Name Domain), 309
/bin/sh directory, 3
bison command, 355
Blender 3D graphics package, 135
bless tool, 358
Bluetooth
Linux on Mac hardware, 163
sending files to Bluetooth device, 15
Bonjour, 16, 71
bonjour_module, 301
Howl implementation for Linux, Unix, and Windows, 36
Xgrid, use with, 209
bookmarks (iTerm), 17-19
BootCacheControl, launching, 54
booting
into Linux on Mac hardware, 165
QEMU emulator on Mac hardware, 174
booting Mac OS X, 50
BootX loader, 51
/etc/rc shell script, 52
initialization, 51
from installation DVD, 54
launchd, 57
Login Window, 59
Mach bootstrap services, 55
Open Firmware variables controlling behavior of, 330
restoring Directory Services database, 84
in single-user mode, 51
startup items, adding, 59-63
login preferences, 60
SystemStarter, 58
in verbose mode, 50
bootloader (Linux), 165
bootpd, 308
bootstrap.sh script, 243
BootX loader, 50, 51
Bourne-Again shell (see bash shell)
browser testing on virtual machines, 161
BSD flat files, 71
enabling, 74
relying solely on, 74
(see also flat files)
BSD operating system, 50
initialization of supporting data structures, 51
bsdmake command, 355
build type, 192
BuildStrings tool, 356
-bundle option (cc), 220
bundles, 195, 219
created with PackageMaker, 261
loading, 220
loading dynamically, 223
bunzip2 command, 363
burnable folders, 130
bytes, endian order of, 205
bzcat command, 363
bzip2 command, 363
bzip2recover command, 363
C[ Top ]
C and C++
ANSI C predefined macros, 214
C compiler, 187
Apple vs. GNU versions, 189
C library, gethostent( ), 67
C pointers, size of, 203
C preprocessor #include directive, 213
compilers, 187
extern keyword (C), 220
Hello, World program in C, 262
C and C++ (continued)
improvements in GCC 4.0, 191
libc (standard C library), 218
libstdc++, 219
Mac OS X C macros, 193
CA (Certificate Authority), 297
certificate signed by trusted CA, getting, 300
creating untrusted CA, 297
caching
BootCache control, launching, 54
flushing cached credentials with sudo lookupd -flushcache, 80
invalid credentials, by Directory Services, 74
Calculator, 353
Carbon
accessing from Python, 346
Mac OS X version of OpenOffice, 157
Mac::Carbon module, 344
Carnegie Mellon University, Mach microkernel, 50
case insensitivity, HFS+ filesystem, 301
cat command, 361
cc compiler, 190, 356
creating precompiled header files, 214
flags for shared libraries or bundles, 219
linking particular library version, 226
supported languages, 194
-trigraphs switch, 214
cd command, 5, 361
CDs, burning, 129-132
certificates, server
signed by trusted CA, information about, 300
signing your certificate, 299
chflags command, 362
Chicken of the VNC (Aqua VNC client), 122
ChineseTextConverter service (Terminal), 14
chmod command, 297, 362
chown command, recursively setting home directory ownership, 80
chsh, chfn, and chpass commands, 81
CinePaint, 135
Classic application, launching, 13
clear command, 365
click to position cursor option, 11
clipboard, Terminal and, 4
clustering software (Xgrid), 208-211
cmp command, 362
Cocktail application, 333
Cocoa
access from Python, 347
framework for manipulating DarwinPorts, 249
frameworks, 196
online information for Cocoa programmers, xiv
CodeTek, VirtualDesktop shareware, 139
color
configuring for X11, 113
Terminal support for, 9
X11 on Virtual PC, 172
comm command, 362
.command files, 7
command line
Apple developer tools, 356-358
creating a disk image, 275-276
creating disk images from, 275
launching customized Terminal window, 6
System V- and Berkeley-compatible interfaces, provided by CUPS, 95
command prompt, 4
command-line switches, Terminal customization and, 4
comments, preprocessing, 213
Common Unix Printing System (see CUPS)
comparisons, expr command, 360
Compiler Release Notes (Mac OS X), 190
Compiler Tools, 188
compilers, 187
jikes, 359
compiling source code, 187-211
architectural issues, 202-206
64-bit computing, 203-205
endian-ness, 205
inline assembly, 206
vectorization, 203
GCC compiler differences, 189-191
gnumake/make commands, 356
MySQL from source, 336
PostgreSQL, 338
Unix code, 191-202
frameworks, 195-199
host type, 192-194
Mac OS X GCC compiler flags, 199-202
preprocessing, 195
supported languages, 194
tarball files, 192
X11-based, 206-208
Xgrid, using, 208-211
Comprehensive R Network (CRAN), 155
compress tool, 364
compression
file compressions and storage tools, 363
UDZO format, 276
Concurrent Versioning System (see CVS)
config.* files (older), problems with, 193
configd, connecting to, 327
configuration files, Unix applications and services, 41
configuration tools (system), 327-333
defaults, 329
nvram, 330-333
scutil, 327-329
configure scripts, 191-193
host type, difficulties with, 192
makefile generation for X11 applications, 207
Connectix Virtual PC (see Virtual PC)
console messages, displaying during startup, 50
contact information, searching Directory Services for, 74
Contents/ directory, 195
contextual menus
iTerm, 19
Terminal, 8
xterm windows vs. Terminal, 109
Control-clicking in an xterm window, 109
copying and pasting
between X11 and Mac OS X applications, 116
controlling with osx2x, 119
CoreFoundation's String services, 217
cp command, 362
resource forks and, 33
cpio tool, 364
CpMac tool, 356
CPU usage, top utility statistics, 315
CRAN (Comprehensive R Network), 155
creator code for files, changing, 32
cron jobs, 63
daily, backups of NetInfo database, 84
crontab -e command, 63
crontab file, 64
crontab -l command, 63
csh shell, 360
DISPLAY variable, enabling X11 forwarding, 117
CUPS (Common Unix Printing System), 52, 94-102
lp, lpstat, and cancel shell commands, 90
online source code and documentation, 95
printing from remote systems, 95-102
GNOME, 97
KDE, 97-101
Linux, 102
manual printer configuration, 101
curl utility, 13
downloading DarwinPorts tarball, 281
Fink tarball, downloading, 277
curses screen library, 218
cursor, click to position option, 11
cut tool, 359
CVS (Concurrent Versioning System)
installing DarwinPorts from, 252
building and installing, 252
downloading, 252
installing Fink from, 243
cvs tool, 355
cvs-unwrap tool, 356
cvs-wrap tool, 356
cvswrappers tool, 357
Cyberduck, 144
D[ Top ]
daemons
default Mac OS X launch daemons, 57
DirectoryService, 67
launch daemons replacing crontab, 64
LPD (Line Printer Daemon), 88
starting at boot time, 60
starting up, 55
starting with Mach bootstrap services, 55
daily cron jobs
backups of NetInfo database, 84
changing time for, 84
Darwin kernel
host/build type, 192
online resources for information, xiii
paths to linked dynamic shared libraries, 225
PIC flags and, 219
Darwin Project, xiii
DarwinPorts, 249-259
creating and installing packages in .pkg format, 255
creating and installing packages in RPM format, 255
creating your own packages, 280-284
building and installing a port, 283-284
Portfile file, 281-283
tarball, 281
DPGUI, 257
g77 (GNU FORTRAN '77 compiler), 189
installing, 250
installing binaries, 257
installing from CVS, 252
building and installing, 252
downloading, 252
installing X11-based applications, 115
maintaining, 256
using, 253
web site, 112
DarwinPorts project, xiv
Dashboard, 353
creating your own widgets, 354
data fork, 31, 265
data store for NetInfo and LDAP, 72
database routines (libdbm), 218
databases
free, 334-343
MySQL, 335-338
PHP and Perl, support by, 343
PostgreSQL, 338-342
SQLite, 334
network configuration (dynamic store), 327
dav_module (mod_dav), 296
DBD::mysql module, 343
DBD::Pg module, 343
DBI module, 343
dc command, 365
ddb utility, 321
.deb file extension, 241
Debian GNU/Linux, 163
APT (Advanced Package Tool), 241
debugger, Apple, 188
debugging
a running kernel with ddb, 321
repairing disk volumes with Disk Utility, 51
defaults command, 329
examples of use, 330
delete command (dscl), 78, 81
DeRez tool, 357
Desktop
mounted volumes, 352
printer icon, creating, 92
desktop environments, 111
available from Fink, 112
controlling all X11- and Mac OS X-based desktops, 118
Exposé, in Mac OS X Panther, 138
LaTeX and its frontends, 145
real estate-saving features of Aqua, 137
virtual desktop applications for Mac OS X, 139
web sites for download and instructions, 111
desktop, Mac OS X, 351
/dev directory, 48
Developer Tools
documentation, 187
developer tools, 188, 355-365
Apple command-line, 356-358
file compression and storage, 363
files and directories, working with, 361-363
Java, 359
Macintosh, 358
miscellaneous, 365
scripting and shell programming, 360
searching and sorting, 364
text editing and processing, 359
Unix, standard, 355
/Developer/Tools directory, 356
df command, 271
DHCP, configuration in Directory Services, 308
diagnostic utilities, 314-321
fs_usage, 316
latency, 316
sc_usage, 318
top, 314-316
vm_stat, 319-321
dictionary attacks against password files, 68
dictionary (key/value pairs), displaying for configuration database, 328
diff/diff3 commands, 362
directories
caution with for packages, 269
/etc directory, contents of, 41
exporting with NFS, 82
home directory for user, creating, 80
Mac OS X filesystem, 39-49
/dev, 48
/Library, 46
/System/Library, 45-46
/var, 47
opening in Finder, 20
root directory, files and directories in, 40
tools for comparing, copying, and examining, 361-363
Directory Access application, 67
Authentication tab, 73
caching of invalid credentials, 74
Contact tab, 74
directory service plug-ins, 71
directory names, working with, 12-14
Directory Services, 66-85
configuring, 71-74
authentication, 73
contacts, 74
plug-ins supported by Directory Access, 71
exporting directories with NFS, 82
flat file counterparts, 83
groups, managing, 76-78
adding users, 77
creating groups with dscl, 77
creating groups with niload, 77
deleting groups, 78
listing all GIDs, 76
listing with nidump, 78
hostnames and IP addresses, managing, 81
NetInfo Manager, 74
Open Directory, 67
overview, 66
programming with, 67-71
passwords, 68-71
restoring the database, 84
users and passwords, managing, 78-81
adding users, 78
creating a user with dscl, 79
creating a user with niload, 79
creating user's home directory, 80
deleting users, 81
granting administrative privileges, 80
listing users, 78, 81
modifying a user, 81
utilities, 74
DirectoryService daemon, 67
disk images, 270-277
creating from command line, 275-276
creating using Disk Utility, 272-274
distributing, 276
Internet-enabled, 276
dual fork, 271
installing Fink from, 242
mounted volume associated with, 270
single fork, 271
disk utilities, Macintosh, 358
Disk Utility, 15, 261
burning disk image to a CD, 130
creating a disk image, 272-274
disk image, making, 129
repairing problem disk volume, 51
diskutil tool, 358
DISPLAY variable, enabling X11 forwarding in Terminal, 116
distcc command, 356
distributed computing, 209
ditto command, 358
with --rsrc flag, 80
dlfcn.h header file, 217
.dmg files, 271
Internet-enabled disk images, 276
DNS, 288
dynamic, 289
lookup against your IP address, 305
Multicast DNS feature (Howl), 36
MX (Mail Exchange) record, 306
named, 309
DNSUpdate utility, 289
Dock, 353
changing location with defaults command, 330
minimization of X11 windows to, 108
Terminal, using from, 5
X11, 107
customizing Applications menu, 114
Document Type Definition (DTD), 62
DOSBox, 162
double-clickable executables, 7
DP-COCOA project, 249
DPGUI, 257
download site, 258
dpkg tool, 241
commands, 246
dports directory, 253
drivers, 51
drivers for printers
from Gimp-Print, 103
HP Inkjet Project, 104
dscl utility
adding users, 78
adding users to group with merge command, 77
creating groups, 77
creating users, 79
delete command, 81
deleting groups, 78
modifying user with -create command, 81
dselect program, 246-248
DTD (Document Type Definition), 62
DTEs (see desktop environments)
dual fork disk images, 271
DVD, booting from, 54
DVI files, viewing with ITeXMac, 151
dyld (dynamic linker), 219
checking library versions, 225
dynamically loading libraries, 223
loading bundles, 220
prebinding, prior to Tiger, 228
dynamic DNS, 289
dynamic IP address, 288
dynamic loader library (libdl), 218
Dynamic Network Services, 289
dynamic store (network configuration database), 327
-dynamiclib option (cc), 220
dynamic_pager daemon, 54
E[ Top ]
echo command, 360
editors
dyld (dynamic links), 219
editing XML property lists, 7
forcing file to be opened with TextEdit, 22
image, 133
nedit, 115
pico, 7
Property List Editor, 7, 62, 330
shell escape sequences, typing, 11
TeXShop, 149
vim, 9
egrep tool, 364
ELF (Executable and Linking Format), 219
emacs tool, 359
email, 305-306
configuring Postfix to receive, 306
configuring Postfix to send, 305
embarrassingly parallel applications, 209
emulating the Mac, 177-182
emulators on Mac OS X, 166-176
QEMU, 172-176
Virtual PC, 167-172
encrypted passwords, retrieving, 68
BSD flat files used for authentication, 74
endian order, 205
environment variables
in hostconfig file, 62
TERM, possible values for, 9
EPS files
converting to PDF, 358
viewing with iTeXMac, 151
Equation Editor (LaTeX), 153
Equation Service (LaTeX), 152
escape sequences, shell, 11
escaping spaces and special characters on command line, 13
/etc directory
BSD flat files, 71
contents of, 41
/etc/exports file, 82
/etc/group file
dumping /groups directory in file format, 77
enabling use with Directory Services, 74
/groups directory vs., 76
/etc/hostconfig file, 52
/etc/hosts file, 81, 82
/etc/init.d directory, 59
/etc/master.passwd file, 78
/etc/pam.d directory, 71
/etc/passwd file, 78
enabling use with Directory Services, 74
/etc/periodic directory, 64
/etc/rc shell script, 52
/etc/rc.common script, 52, 62
/etc/rc.local script, 59
/etc/shells directory, 3
/etc/sshd_config file, 118
/etc/ttys file, 59
eterm, replacement for xterm, 109
Ethernet (built-in, on Mac OS X), proxy settings for, 328
ex tool, 360
Executable and Linking Format (ELF), 219
executables, making double-clickable, 7
execution strings, 7
@execution_path, used with -install_name flag, 222
exporting
directories with NFS, 82
web site as a filesystem, 296
Exposé (desktop environment), 138
expr command, 360
extensions, kernel
status of currently loaded (kextstat), 321
tutorials on, 321
extern keyword, 220
F[ Top ]
F12 key, Mac OS X and Blender application, 136
FAT32 filesystem, 35
fgrep tool, 364
file and print services over IP, 73
file command, 362
file sharing (Windows files), 295
file type, changing, 32
filenames, working with, 12-14
files
deleting remotely with Fugu, 143
downloading from the command line, 13
GetFileInfo tool, 357
inspecting metadata for, 27-29
Macintosh tools for, 358
opening multiple, 22
sending to Bluetooth device, 15
sorting and searching, tools for, 364
tools for comparing, copying, and examining, 361-363
filesystems
check of (fsck), 54
/etc directory, contents of, 41
exporting web site as filesystem, 296
HFS+, 35-49
local, mounting, 54, 59
Mac OS X
files and directories, 39-49
working with foreign filesystems, 35-39
monitoring filesystem operations with fs_usage, 316
mounting, coordination of, 56
NFS, exporting directories with, 82
root, initialization, 51
Film GIMP, 135
find command, 23, 364
Finder, 352
archiving files in .zip format, 261
choosing application to open executable, 7
Empty Trash option, 353
Finder (continued)
in the Services menu, 15
integration with X11, 107
monitoring with sc_usage application, 318
open command, 20
using with Terminal to launch Classic application, 13
fink commands, 244
fink list command, 244
Fink package manager, xiii, 241-248
creating your own Fink packages, 277-280
.info file, 278
installing the package, 279
tarball, 277
downloading and installing binaries with dselect, 246-248
GIMP build for Mac OS X, 133
GNU FORTRAN compilers, 189
installing from a disk image, 242
installing from CVS, 243
installing from source, 242
mixing binary and source installations, 248
MySQL and PostgreSQL, 334
PureFTPd, installing via, 302
setup, post-installation, 243
/sw directory, 113
teTeX installed by, 148, 152
TightVNC, installing, 121
using, 244
video viewers, 132
VNC, installing on Mac OS X, 120
web site, 112
window managers and desktops for X11, 112
X11-based applications and libraries, installing via, 115
Fink Packaging Manual, 278
FinkCommander application, 245
fink.conf file, MirrorOrder entry, 280
firewall, 306-313
configuring advanced options, 310-311
blocking UDP traffic, 311
logging, 311
stealth mode, 311
Internet Sharing, 307-309
packet filter rules, adding your own, 312
rules for shared services, 310
rules to keep traffic out, 309
serving from behind, 289
flat files, 66
BSD flat file and NIS, 71
Directory Services counterparts, 83
in /etc, unification under Open Directory, 67
format used by /etc/hosts, 82
group, /groups directory vs., 77
loading contents into Directory Services, 76
under Directory Access, 74
(see also BSD flat files)
-flat_namespace linker flag, 224
flex/flex++ tools, 356
flushing cached credentials, 80
fmt tool, 360
-fno-common compiler flag, 220
folders
burnable, 130
startup item, 60
Font Book Service (Terminal), 15
FORTRAN, 189
forwarding
X11, 116
framework bundles, 195
frameworks, 195-199
creating, 227
including header file in Objective-C, 213
including in your application, 198
structure of, 196-198
FreeBSD firewall (ipfw2), 306
FreeBSD Handbook, 309
FreeBSD ports system, xiv, 249
freezing and thawing OS on emulator, 161
FreshMeat (Mac OS X section), xiv
fsck command
check of filesystem at startup, 54
failure of, causing infinite loop, 54
single-user mode and, 51
FTP Access, 302-304
ftp command, resource forks and, 34
ftp connections via Cyberduck, 144
Fugu (OpenSSH GUI), 142-144
deleting files remotely, 143
sftp connection with, 143
full-screen and rootless modes, X11, 108, 111
toggling full-screen X11 and Aqua, 114
function keys, activating Exposé with, 138
G[ Top ]
^G (ASCII BEL character), terminating escape sequences, 11
g77 (GNU FORTRAN '77 compiler), 189
games
creation and playback, 135
vintage, running on Mac using emulator, 161, 166
X11-based, downloading and building, 207
GCC (GNU Compiler Collection), 187
compiler differences, 189-191
compiling 64-bit code, 205
libstdc++, 219
Mac OS X compiler flags, 199-202
programming languages supported, 194
gdb (GNU debugger), 356
GeekTool, 333
Gentoo Linux, 163
GetFileInfo tool, 31, 357
gethostent( ), 67
getpw* functions, passwords and, 68
getty, 59
gftp (SSH GUI), 142
GIDs (group IDs), listing with nireport, 76
GIMP (GNU Image Manipulation Program), 115, 133, 206
CinePaint version for film professionals, 135
using as iPhoto's default image editor, 133
Gimp-Print, 103
HP InkJet Project (HPIJS), 104
glib (SSH GUI), 142
gluemac utility, 346
GNOME desktop environment, xiii, 111
connecting to Mac OS X printer, 97
installing from Fink, 112
Mac OS X desktop displayed and controlled on Solaris machine, 125
Solaris machine connected to Mac OS X via VNC, 121
tabbed terminal sessions, 17
GNU autoconf, 191
GNU Compiler Collection (see GCC)
GNU FORTRAN compilers, 189
GNU Image Manipulation Program (see GIMP)
GNU tar, 269
GNU utilities for Unix, ix
GNU-Darwin, xiv
web site, 112
gnumake tool, 356
gnuplot data plotting program, 208
gnutar tool, 260, 269, 364
Google, Terminal Search with Google service, 15
graphical environments for Mac OS X, 106
graphical user interfaces (see GUIs)
graphics adapters, 4
graphics package, 3D (Blender), 135
grep tool, 364
groff tool, 360
groups, 76-78
adding user to admin group, 80
adding users with dscl merge command, 77
creating with dscl utility, 77
creating with niload, 77, 79
deleting for deleted users, 81
deleting with dscl's delete command, 78
listing all group IDs (GIDs) with nireport, 76
listing with nidump utility, 78
/groups directory, 76
GTK+
on Fink web site, 112
GUI for SSH (gftp), 142
GUIs (graphical user interfaces), 106
Aqua, with R package, 155-157
Aqua-X11 interactions, 115
Cocktail, for system administrative tasks, 333
DPGUI for DarwinPorts, 257
editor for Cocoa and Carbon applications, 188
Mac OS X GUI primer, 351-354
SSH, 142-145
Cyberduck, 144
Fugu, 142-144
X Window System (see X11)
gunzip tool, 364
gzcat tool, 364
gzip tool, 260, 269, 364
H[ Top ]
.h file extension, 212, 214
hard drive (Mac), partitioning for Linux, 164
hardware acceleration support, X11, 107
hardware virtualizer (Mac-on-Linux), 166
hdiutil, 132, 358
create command, 275
Internet-enable command, 277
unmount command, 275
head command, 362
Header Doc 8, 188
header files, 212-217
alloc.h, 217
dlfcn.h, 217
framework, 213
functions of, 212
generating for JNI programming, 359
iconv.h and wchar.h, 217
#include directive, 213
lcrypt.h, 217
limits.h, 217
malloc.h, 216
poll.h, 216
precompiled, 214-216
documentation, 216
rules for, 215
preprocessing, 213
types of, 212
unistd.h, 217
values.h, 217
header.h file, 215
here documents
group creation, using in, 77
user creation, using in, 79
Hewlett-Packard InkJet Server Project (HPIJS), 104
HFS+ filesystem, 35-49
metadata, resource forks and, 31-34
working with foreign filesystems, 35-39
.h.gch file extension, 212, 214
hiding an application, 137
hints (Mac OS X Hints), xiv
home directory
creating, 80
sharing with connected machine, 295
host type, 192-194
hostconfig file, 52
AppleTalk Filing Profile (AFP) service, 295
default entries from, 52
MySQL, enabling, 62
WEBSERVER entry, 295
hostnames
configuring to use Postfix on standalone server, 305
managing with Directory Services, 81
hosts
adding to the system, 66
creating with niload, 82
hosts file, 81
Howl, 36
HP Jet Direct - Socket printers, 88
HP OfficeJet D135, finding queue name, 96
HPIJS (Hewlett-Packard InkJet Server Project), 104
httpd.conf file (Apache), 295
AddModule and LoadModule directives, 295, 296
enabling mod_ssl in, 297
enabling WebDAV for web server root, 296
installing new certificate, 300
mod_bonjour settings, 301
Perl scripts, setting up virtual directory for, 296
HTTPS protocol, 297
I[ Top ]
Iceberg (alternative to PackageMaker), 269
ICMP echo requests, denying, 311
icons
changing for executables, 8
desktop printer icon, creating, 92
iconv.h header file, 217
ifconfig, 307
i-Installer application, 146
image editing, 133-135
image manipulation program (see GIMP)
ImageMagick, 115, 206
imake utility, 207
.img file extension, 271
#import directive, 213
importers (metadata) installed on your system, listing, 30
#include directive, 213
inet_interfaces setting (Postfix main.cf file), 306
information files (.info), 261
creating for Fink packages, 278
initialization, 51
inline assembly code, 206
input preferences, X11, 113
Inspector (Terminal), 10
setting Terminal attributes, 6
INSTALL file, 192
installer tool, 358
-install_name flag, 222
instant messenger program, starting up automatically, 60
Interface Builder, 188
Internet Printing Protocol (IPP), 88
CUPS, 94
port 631, 93
Internet Sharing, 307
bootpd, 308
ifconfig, 307
named, 309
Internet Software Consortium, Inc. (ISC), xiii
Internet-enabled disk images, 276
I/O Kit, initialization of, 51
I/O, redirecting output with GeekTool, 333
IP addresses
dynamic, 288
inet_interfaces setting for Postfix main.cf file, 306
managing with Directory Services, 81
public (WAN), 293
reverse DNS lookup against, 305
static, for Mac server, 291
static, provision by ISPs, 306
updating for dynamic DNS, 289
IP printer, adding, 87-92
model-specific installable options, 91
Print & Fax System Preferences, 92
selecting printer protocol, 88
ipfw utility
adding your own firewall rules, 312
rules, 306
ipfw2 (IP firewall, version 2), 306
ipfw/natd, 307
iPhoto, 133
IPP (see Internet Printing Protocol)
ISC (Internet Software Consortium, Inc.), xiii
ISO image, installing operating system from, 167
ISPs
provision of static IP address and support of hostnames, 306
terms of service, running servers and, 290
iTerm, 4, 17-19
bookmarks, 17-19
contextual menu, 19
interesting features, 17
iTeXMac, 146, 150
TeXShop vs., 152
J[ Top ]
jar tool, 359
Java
applications, turning into disk images, 271
browsing documentation for class name, 16
development tools for, 359
Mac OS X command-line Java tools, 189
NeoOffice/J, 157
java tool, 359
javac tool, 359
javadoc tool, 359
javah tool, 359
javap tool, 359
jdb tool, 359
jikes tool, 359
join tool, 360
K[ Top ]
KDE desktop environment, xiii, 111
connecting to Mac printer, 97-101
installing from Fink, 112
Konqueror and Koffice on Mac OS X, 115
Konqueror rendering engine (KHTML), 161
Konsole terminal emulator, 17
kernel extensions
loading with BootX, 51
starting kextd daemon, 54
tutorials on, 321
kernel utilities, 321-327
ddb, 321
kernel modules, manipulating, 321
ktrace, 321
sysctl, 322-327
kernel virtual memory library (libkvm), 218
kernels
allocation of virtual memory, 54
initialization of data structures, 51
tuning variables at startup, 54
xnukernel, 50
kextd daemon, 54
kextload/kextunload utilities, 321
kextstat utility, 321
information displayed by, 322
key equivalents under X11, 113
keyboard layout (X11), customizing, 113
keyboard shortcuts, xvi
keys, for startup parameters property list, 63
key/value pairs
changing in configuration database, 328
displaying for configuration database, 328
Konqueror (KDE web browser), 161
ported to Mac OS X, 115
ksh (Korn) shell, 3, 360
ktrace utility, 321
L[ Top ]
language for the system, setting, 55
latency utility, 316
output from (example), 317
LaTeX, 145
graphical frontends to, 146
help, downloading, 150
iTeXMac, 150
macros, use by TeXShop editor, 149
performance, TeXShop vs. iTeXMac editors, 152
services, 152-154
Equation Editor, 153
Equation Service, 152
TeX Live-teTeX, 146-148
TeXShop, 148
latex command, 147
launch daemons, replacing crontab file, 64
launchctl utility, 57
launchd, 52, 57
starting up, 55
lcrypt.h header file, 217
-lcurses routine, 218
LDAPv3 plug-in, Directory Access, 72
leaks tool, 357
less command, 362
lex tool, 356
libraries, 217-238
curses screen library, 218
important, included with Mac OS X, 232
libstdc++, 219
not included with Mac OS X, 234-237
numerical, 237
shared, 219-224
building, 220-222
loadable modules vs., 219
loading dynamically, 223
packaging as frameworks, 227
two-level namespaces, 224
static, creating and linking, 226
system library (libSystem), 217-219
symbolic links, 218
version numbering, 225
X11-based, installing, 115
/Library directory, 45, 46
/Library/StartupItems directory, 58
limits.h header file, 217
line command, 361
line continuation escape symbol (\), 213
Line Printer Daemon (LPD), 88
linking errors, -lcurses routine and, 218
linking static libraries, 227
Linux
GNOME and KDE desktops, connecting to Mac printer, 97-101
LyX WYSIWYM document processor, 152
manually configuring Mac OS X printer on, 101
MPlayer, audio/video player, 132
PAM, using to authenticate a user, 69
printing to Mac printer from Ubuntu Linux, 105
running Mac OS X, 177-182
running on Mac hardware, 162-166
booting into Linux, 165
compatibility details, 163
Mac-on-Linux, 166
partitioning for Linux, 164
picking a Linux distribution, 163
QEMU, using, 172-176
Virtual PC, using, 167-172
sharing printer on Mac OS X, 94
standard Unix development tools, 355
TeX for (teTeX), 145
(see also Unix)
Linux/mac68k Project, 162
little-endian ordering, 205
ln command, 362
loadable bundles, 195
loadable modules
shared libraries vs., 219
(see also bundles)
LoadModule and AddModule directives (httpd.conf), 295, 296
local directory
browsing/modifying with NetInfo Manager, 74
Directory Services database, restoring, 84
displaying contents with nidump and nireport, 76
modifying with nicl utility, 76
local.nidump file, 84
locate command, 23, 364
lockfile command, 361
locking files
configuration database, 328
specifying lockfile for mod_dav, 296
logging
advanced firewall options, 311
redirecting output of system logs, 333
login preferences, adding to startup, 60
Login Window, launching, 59
logins (user), loading of daemons, 55
look and feel (X11), 113
lookupd daemon, 67
-flushcache command, 74
LPD printers, 88
ls command, 5, 362
-G option, color output, 9
lsbom tool, 358
LyX (X11-based WYSIWYM document processor), 152
LyX/Mac, 152
M[ Top ]
Mac hardware, emulating, 177-182
Mac OS X
architectural issues and, 202
Compiler Release Notes, 190
default startup items, 58
development environment, 187
Directory Services architecture, 67
emulation of right-mouse clicks, 111
emulators on, 166-176
predefined macros, 193
running on other operating systems, 160, 177-182
shells, 3
startup sequence for, 50
Unix utilities, ix
Mac OS X Hints, xiv
Mac OS X Server, 287
Mac::Carbon module, 344
Mac::Glue module, 345
Mach bootstrap services, 55
Mach kernel, 50
initialization of supporting data structures, 51
launching with rc script, 55
virtual memory regions in use, top utility statistics, 315
/machines file, 81
Mach-O shared libraries, 219
-install_name flag, 222
minor version checking, 226
prebinding and, 228
Macintosh Programmer's Workshop (MPW), 356
Macintosh tools, 358
MacJanitor application, 333
Mac-on-Linux, 166
MacPerl, 189, 344
macros, 193
preprocessing, 214
troff typesetting, rendering to other formats, 360
Mac-TeX web site, 145
MacUpdate web site, xiv
Mail application, 15
Equation Services, using to typeset LaTeX within, 153
Mail Exchange (MX) record, 306
mailing lists (Apple-hosted, for Darwin), xiii
main.c application, 215
main.cf file (Postfix)
configuring inet_interfaces to listen on port 25, 306
configuring Postfix for use on standalone server, 305
relayhost entry, 305
Make New Sticky Note service, 15
make tool, 191, 356
missing header files and, 216
makefiles
bsdmake command, 355
creating and testing shared library, 221
for X11 applications, 207
malloc.h header file, 216
-maltivec compiler flag, 203
man command, 365
manpages, flat file formats and, 83
math library (libm), 218
mathematical publications, 145
MD5 passwords for PostgreSQL, 341
mdfind command, 24-26
mdimport command, 30
mdls utility, 27
mdutil command, 30
memory
searching process for memory leaks, 357
statistics displayed by top, 314-316
virtual memory allocation by the kernel, 54
virtual memory statistics (vm_stat), 319-321
menu symbols for keyboard shortcuts, xvi
merge command (dscl), 77
MergePef tool, 357
metacharacters (shell), escape sequences for, 11
metadata
HFS+ filesystem, 31-34
preserving, 33
Spotlight, 23-29
common metadata attributes, 28
metapackages, 261
MH_BUNDLE file type, 219
MH_DYLIB file type, 219
microkernel operating system, 50
Microsoft
Office, OpenOffice alternatives to, 157
Remote Desktop Client (RDC), 126
Virtual PC (see Virtual PC)
middle mouse button, simulation with Option-click, 111
MirrorOrder entry (fink.conf), 280
miscellaneous tools, 365
mkdir command, 362
mod_dav (dav_mod), 296
modeling, 3D, 135
mod_ssl, configuring for Mac OS X, 300
modules
Apache server, 295
Perl, for database support, 343
monthly cron jobs, 64
more command, 253, 362
Motif window manager (mwm), 115, 206
Motorola AltiVec Velocity Engine, 203
mounted volumes
associated with disk images, 270
on the Desktop, 352
mouse buttons
emulation of three-button mouse in X11, 113
three-button mouse for Blender, emulating, 135
xterm vs. Terminal windows, 109
MPlayerOSX (audio/video player), 132
MPW (Macintosh Programmer's Workshop), 356
MS-DOS emulation (DOSBox), 162
Multicast DNS feature (Howl), 36
multimedia, 129
3D modeling, 135
burning CDs, 129-132
disk image, creating with Disk Utility, 130
image editing, 133-135
open source players, 132
video, 132
mv command, 362
resource forks and, 33
MvMac tool, 357
mwm (Motif window manager), 115, 206
MX (Mail Exchange) record, 306
myhostname setting (Postfix main.cf file), 305
myorigin setting (Postfix main.cf file), 305, 306
MySQL, 335-338
binary package from MySQL AB, 334
built-in support in PHP, 343
compiling from source, 336
configuring, 336
installing, 336
PHP and Perl support of, 343
setting up as startup item, 60-63
startup parameters property list, 62
startup script, 60
source distribution, downloading, 335
working with, 337
N[ Top ]
namespaces, 224
nano editor, 360
natd (Network Address Translation Daemon), 307
ncurses library, 218
nedit text editor, 115, 206
NeoOffice/J, 157
Netatalk, 36
problems using with other solutions, 38
NetInfo
backing up database, 76
in Directory Services architecture, 66
library (libinfo), 218
plug-in supported by Directory Access, 72
restoring/backing up database, 84
starting with Mach bootstrapping services, 55
utilities, listed, 75
NetInfo Manager, 66
browsing/modifying local directory, 74
enabling root user, 5
network adapter, finding (Linux on emulator), 168
Network Address Translation Daemon (natd), 307
network services, discovering, 71
network settings (Virtual PC), 171
networking
Bonjour, 16
PearPC, configuring, 179-183
QEMU, 176
transferring files over the network, 36-39
Virtual PC, 168-172
networking protocols
AppleTalk, 71
Windows, 94
NeXT format, property list files, 62
NFS
exporting directories with, 82
options supported by Mac OS X, 82
nice command, 365
nicl utility, 76
nidump utility, 76
backups for Directory Services database, 84
dumping groups directory in /etc/group file format, 77
groups, listing, 78
listing users, 74, 81
niload utility, 76
adding users, 78
creating a host, 82
creating groups, 77
creating users, 79
nireport utility, 76, 78
listing all GIDs and group names, 76
listing all users, 78
NIS, flat files and, 71
niutil utility, 76
nohup command, 365
nohup vncserver command, 120
notes (sticky notes service), 60
NSAddressOfSymbol function, 223
NSLookupSymbolInModule function, 223
NSString
creating and displaying, 345
creating and printing, 347
numerical computing libraries, 237
NVidia GeForce AGP graphics adapter, 4
nvram utility, 330-333
boot-args option, 50
incorrect use of, 331
O[ Top ]
Objective-C
PerlObjCBridge.pm module, 345
Python bridge to (PyObjC), 347
Office (Microsoft), OpenOffice alternatives to, 157
open command, 20-22, 358
-a option, 13
-e option, 22
wildcards, using with, 22
-x11 option, 22
Open Darwin project, xiii
Open Directory, 66, 67
Open Firmware variables, modification with nvram, 330
open source applications
MPlayer, 132
Server Logistics as source for, 334
VLC, 132
Open URL service, 15
opendiff tool, 357
OpenGL, use by Blender application, 135
OpenLDAP, 72
OpenOffice, 157
OpenSSH, 142, 294
configuring server, 302
operating systems
64-bit, 203
alternative, running on Mac hardware, 159
emulators on Mac OS X, 166-176
Linux, 162-166
reasons for, 160
endian-ness, 206
installing on QEMU emulator, 173
running Mac OS X on others, 160, 177-182
VNC connections between different, 119
optimization, 228
Option-click, simulating middle-mouse button, 111
OroborOSX (web site), 112
osascript commands, 7
setting title for Terminal window, 12
osx2x application, 118
OSXvnc application, 120
configuration options, 124
configuring as startup item, 125
starting on Mac OS X machine with VNC server, 123
support for multiple monitors, 125
otool, 222, 357
output preferences (X11), 113
P[ Top ]
package managers (see DarwinPorts; Fink package manager)
PackageMaker
creating the package, 264-269
Configuration tab, 266
Contents tab, 264
Installer Interface tab, 264
PackageVersion tab, 268
Scripts tab, 267
types of projects, 264
setting up package directory, 262-263
PackageMaker tool, 260
packagemaker tool, 357
packages, 5, 277-280
basic components of, 261
creating using GNU tar, 269
creating with PackageMaker, 264-269
DarwinPorts, creating, 280-284
building and installing a port, 283-284
Portfile file, 281-283
tarball, 281
default Mac OS X packaging options, 260
directory structure, 262-263
disadvantages of tarballs for distributing, 270
disk images, 270-277
creating from command line, 275-276
creating with Disk Utility, 272-274
distributing the image, 276
Fink, creating your own, 277-280
.info file, 278
installing the package, 279
tarball, 277
using PackageMaker for, 261-269
/usr/local directory for, 269
packet filter rules, 306
adding your own, 312
page faults
sc_usage utility, display by, 318
system calls, filesystem-related, 316
pager (VirtualDesktop), 140
parallel job, running, 208-211
partitioning
for Linux on Mac hardware, 164
virtual drive image on PearPC, 178
passwords, 68-71
authenticating user with Linux-PAM, 69
changing, passwd command, 365
encrypted, retrieving with getspnam( ), 68
groups, setting for, 77
managing with Directory Services, 78
PostgreSQL, 341
PureFTPd file, 303
root user, MySQL, 337
setting with passwd command, 79
user created with dscl, 80
paste tool, 360
pasteboard, 4
patch command, 362
pathnames, typing using tab completion, 14
paths for applications, 21
.pax archive file, 262
pbcopy command, 358
pbhelpindexer tool, 357
pbpaste command, 358
pbprojectdump tool, 357
PC hardware, running Mac OS X on, 160
PDF
pstopdf command, 358
viewing and outputting with iTeXMac, 151
pdflatex utility, 152
pdftex and pdflatex utilities, 149
PearPC, 160
networking, configuring, 179-183
running Mac OS X under, 177-182
creating virtual drive image, 177
installing Mac OS X, 178
partitioning virtual drive image, 178
periodic jobs
MacJanitor application, 333
scheduling, 64
Tinker Tool System, 333
Perl, 189
customization of, limiting, 344
database support, modules for, 343
for Mac OS X geeks, 344-346
Mac::Carbon module, 344
Mac::Glue module, 345
PerlObjCBridge.pm, 345
MacPerl, 189, 344
perl_module, Apache server, 296
perl command, 361
Perl scripts, Header Doc, 188
Persistent Front End (PFE) precompilation, 216
Personal Web Sharing, 295-302
Persson, Per, 208
PGPLOT graph-drawing package, 208
php command, 361
PHP, support for MySQL, 343
physical memory utilization, 315
PIC flags, 219
pico editor, 7, 360
PID files, 47
PIDs (process IDs)
initialization, BSD init and mach_init, 52
top utility information on, 316
.pkg format
creating and installing packages in, 255
pre-built binary packages, 257
plists (see property lists)
plug-ins (directory service), supported by Directory Access, 71
.pmproj document, 269
poll library (libpoll), 218
poll.h header file, 216
port command, 253, 283-284
clean option, 255
destroot option, 283
installed option, 255
listing of uses, 255
package option, 255
rpmpackage option, 255
updating, 257
port description files (DarwinPorts), 252
Port Images, 254
port list command, 253
port mapping with AirPort Base Station, 291-294
portability, alternative OSs on Mac, 160
PortBase and PortView applications, 258
Portfiles, 280
creating, 281-283
items included in, 282
updating, 257
PORT/PORTING file, 192
ports
blocking by ISPs, 291
IPP and LPD, for printers, 93
non-standard, running Mac OS X services on, 291
setting inet_interfaces in /etc/postfix/main.cf, 306
VNC and ssh, 122
position-independent code (PIC) flags, 219
POSIX support in Tiger bash shell, 3
POSIX threads library (libpthread), 218
POSIX.4 compliance, 212
Postfix, 305-306
configuring to receive email, 306
configuring to send email, 305
postfix-watch command, 305
PostgreSQL, 334, 338-342
compiling, 338
configuring, 341
downloading source distribution, 338
information on building and using, 342
installing, 339
PHP and Perl support of, 343
startup script, 339
working with, 342
post-production, 135
power management, Linux on Mac hardware, 163
PowerPC
bi-endian ordering, 205
operating systems running on Apple hardware, 159
PPCExplain tool, 357
prebinding, 228
precompilation, Persistent Front End (PFE), 216
precompiled header files, 212, 214-216
documentation, 216
rules for, 215
Preferences, 330
Preferences menu (X11), 113
preprocessing header files or preprocessor directives, 213
Print Center, 87
printer drivers
from Gimp-Print, 103
HP Inkjet Project, 104
printer model and manufacturer, 87
Printer Setup Utility, 86-94
adding a printer automatically, 87
adding an IP printer, 87-92
creating desktop icon for a printer, 92
printer sharing, 93
queue name of a printer, finding, 96
printf command, 361
printing, 86
adding new printer in Mac OS X, 86
CUPS (Common Unix Printing System), 94-102
launching at startup, 52
modifying printer settings, 92
SLP and SMB protocols, 73
(see also CUPS)
priority levels, ipfw rule, 306
private frameworks, 196, 222
processes
information displayed by top, 314-316
kernel tracing on (ktrace), 321
number running, top utility display of, 315
statistics on, top utility, 316
Terminal vs. xterm, 4
.profile file, 242
programming languages
GCC support for, 194
tools for, 357
Project Builder (see Xcode Tools)
Property List Editor, 7, 62, 330
property lists (plists), 7, 329
keys for startup parameters list, 63
for periodic jobs, 64
startup parameters list, keys used in, 63
StartupParameters.plist, 60
XML or NeXT format, 62
proto.term, 6
proxy settings, 328
PS files, viewing with iTeXMac, 151
pseudo-devices, 48
psql command, 341
pstopdf command, 358
public frameworks, 197
public (WAN) IP Address, 293
PureFTPd, 302
pwd command, 363
Python
customization of, limiting, 344
for Mac OS X geeks, 346-348
Appscript, 347
Carbon, 346
PyObjC, 347
python command, 361
Q[ Top ]
QEMU, 172-176
booting, 174
installing operating system, 173
networking, 176
suspending and resuming virtual machine, 175
Virtual PC vs., 176
Qt libraries (X11-based), 115
Quartz Extreme acceleration, 4
rendering, use by Exposé, 138
Quartz window manager, 106, 107, 111
queue name of a printer, 96
QuickTime Player, 133
R[ Top ]
R (statistical computing package), 155-157
AppleScript, interaction with, 155
binary distribution for Mac OS X, 155
RandR (Resize and Rotate) extension, 107
ranlib command, 226
rc scripts, 52
rcp command, 363
rcs command, 356
readline program, 338
README file, 192
real-time interactive 3D, 135
reboot command, 85
RegisterUserSite directive, 302
relay host, configuring Postfix to use, 305
Remote Desktop Client (RDC), Microsoft, 126
Remote Login, 302
remote systems, printing from, 95-102
GNOME, 97
KDE, 97-101
Linux, 102
manual printer configuration, 101
rendering, 135
Quartz Extreme, use by Exposé, 138
Rendezvous
printers enabled for, 87
(see also Bonjour)
Resize and Rotate (RandR) extension, 107
ResMerger tool, 357
resource forks, 265
displaying contents with DeRez, 357
HFS+ metadata and, 31-34
preserving metadata, 33
preserved with CpMac tool, 356
preserved with MvMac tool, 357
preserving for user home directory, 80
SplitForks command, 358
Resources/ directory, 196
resources used in package installation, 262
RestartService( ), 60
resuming virtual machine with QEMU, 175
Rez tool, 357
RezWack tool, 357
right-mouse clicks, 111
rm command, 34
rm/rmdir commands, 363
root directory
files and directories in, 40
local directory hierarchy, 74
root filesystem
initialization, 51
mounting as read/write, 84
root user
bash shell, # prompt, xv
enabling, 5
MySQL, password for, 337
rootless and full-screen modes, X11, 107, 108
router, SOHO, 289
RPC services library (librpcsvc), 218
RPM format, creating and installing packages in, 255
rsync command
Fink, using with, 244
resource forks and, 33
ruby command, 361
RunService( ), 61
rxvt, replacement for xterm, 109
S[ Top ]
Safari browser, 161
Samba, 36, 53, 294, 295
restarting Samba networking, 295
scheduling tasks, 63
scientific publications (LaTeX), 145
scp command, 363
resource forks and, 34
screencapture tool, 359
screens
curses screen library, 218
third-party applications and tools, 137
Virtual Screens application, 139, 141
script command, 365
Script Editor service (Terminal), 15
sc_usage utility, 318
information displayed by, 318
monitoring the Finder, 318
scutil, 327-329
configuration database entry, changing, 328
default proxy settings for built-in Ethernet, 328
listing contents of configuration database, 328
sdiff command, 363
sdp tool, 357
Search with Google service, 15
searching, 23-34
configuring for Directory Access Authentication tab, 73
locate and find commands, 23
resource forks and HFS+ metadata, 31-34
preserving metadata, 33
Spotlight, 16, 23-30
inspecting file attributes, 27-29
managing, 29
performing searches, 24-26
tools for, 364
secure mail server, 287
security
PostgreSQL, 341
running Mac OS X as a server, 291
sed tool, 360
selfupdate command (Fink), 244
sendmail, 305
serial ports, 48
Server Logistics, Complete MySQL package, 334
Server Message Block, 94
server, running Mac OS X as, 287-313
built-in services, 294-305
FTP Access, 302-304
Personal Web Sharing, 295-302
Printer Sharing, 305
Remote Login, 302
dynamic DNS, 289
email, 305-306
configuring Postfix to receive, 306
configuring Postfix to send, 305
firewall, 306-313
configuring advanced options, 310-311
Internet Sharing, 307-309
packet filter rules, adding, 312
rules for shared services, 310
rules to keep traffic out, 309
firewall, operating behind, 289
getting connected, 288-294
Personal File Sharing, 294
Windows file sharing, 295
servers
open source servers for Mac OS X built-in services, 294
signed by trusted CA, 300
signing your certificate, 299
Service Location Protocol (SLP), 73
Services menu (Terminal), 14
SetFile tool, 31, 358
sftp
connection with Fugu, 143
connections via Cyberduck, 144
sftp command, resource forks and, 34
sh (standard Unix shell), 361
compatible shells, 3
shared libraries, 219-224
building, 220-222
loadable modules vs., 219
loading dynamically, 223
statistics on, top utility, 315
two-level namespaces, 224
sharing a printer with Windows users, 94
Sharing preferences panel, 294
FTP Access, 302-304
Internet Sharing, 307
Personal Web Sharing, 295-302
Printer Sharing, 305
Remote Login, 302
Windows File Sharing, 295
shell commands
lp, lpstat, and cancel, 90
open, 20-22
shell scripts
customizing Terminal, 11
/etc/rc, 52
MySQL startup script, 60
programs useful in, 360
for startup items, 60
shells, 3, 360
changing Terminal shell, 14
customizing for Terminal, 9
escape sequences, 11
metacharacters, escaping, 13
mysql, 337
Sidebar, 352
simple frameworks, 197
single fork disk images, 271
Single Static Assignment (SSA), 190
single-user mode
booting in, 51
to restore Directory Services database, 84
sips command, 359
size calculation file (.sizes), 262
sleep command, 361
SLP (Service Location Protocol), 73
SMB (Server Message Block), 73, 94
SMB/CIFS (Server Message Block/Common Internet File System) protocol, 36, 73
smb.conf file, editing to add new shares, 295
.so file extension, 219
software testing on virtual machines, 160
SOHO routers, 289
-soname flag, 222
sort tool, 364
sorting files, 364
source code, compiling, 187-211
architectural issues, 202-206
64-bit computing, 203-205
endian-ness, 205
inline assembly, 206
vectorization, 203
source code, compiling (continued)
GCC compiler differences, 189-191
Unix code, 191-202
frameworks, 195-199
host type, 192-194
Mac OS X GCC compiler flags, 199-202
preprocessing, 195
supported languages, 194
tarball files, 192
X11-based, 206-208
Xgrid, using, 208-211
source, installing packages from
using Darwin Ports, 253
using Fink, 244
source tree for Mac OS X, 193
spaces in file and directory names, 12
Speech service (Terminal), 15
split command, 363
split screen feature (Terminal), 8
SplitForks command, 358
Spotlight, 16, 23-30, 352
inspecting file attributes, 27-29
common metadata attributes, 28
managing, 29
performing searches, 24-26
SQL
MySQL database, 335-338
PostgreSQL database, 338-342
SQLite, 334
documentation, source code, and resources, 334
using, 335
SSA (Single Static Assignment), 190
SSH
commercial version, using with X11 forwarding, 117
firewall rule for connections, 310
GUIs, 142-145
tunneling VNC connection without TightVNC, 121
using ssh with X11 forwarding, 116
VNC connections to Mac OS X Aqua desktops, 122-125
SSH Agent, 144
uses of, 145
SSH server, 287
sshd_config file, 302
enabling X11 forwarding, 118
StartService( ), 60
startup items
adding, 59-63
login preferences, 60
MySQL property list, 62
MySQL shell script, 60
configuring OSXvnc as, 125
default, for Mac OS X, 58
PostgreSQL startup script, 339
scheduling tasks, 63
periodic jobs, 64
startup script for MySQL (example), 60
startup scripts, 41
StartupParameters.plist file, 60
static libraries, 226
statistical computing package (R), 155
stealth mode (firewall options), 311
Stepwise, xiv
Stickies application, starting up automatically, 60
StopService( ), 60
strings tool, 365
su command, 365
subframeworks, 198
sudo command, 365
boot arguments, setting to verbose, 50
dselect, using with, 246
granting user privilege to use, 80
killall -HUP smbd nmbd (restarting Samba networking), 295
NetInfo utilities, using with, 76
opening text files, 22
root user and, 5
running with Fink, 243
Summarize service (Terminal), 16
suspending virtual machine with QEMU, 175
/sw directory, 113, 241, 269
symbolic links for libraries, 218, 226, 238
symbols for keyboard shortcuts, xvi
sysctl utility, 54, 322-327
kernel state variables, 322-327
system alert, configuring for X11, 114
system calls
filesystem-related, information on, 316
kernel tracing of (ktrace), 321
sc_usage utility for displaying, 318
system language, setting at startup, 55
system library, 217-219
symbolic links, 218
system management tools, 314-333
configuration, 327-333
defaults, 329
nvram, 330-333
scutil, 327-329
diagnostic utilities, 314-321
fs_usage, 316
latency, 316
sc_usage, 318
vm_stat, 319-321
kernel utilities, 321-327
ddb, 321
kernel modules, manipulating, 321
ktrace, 321
sysctl, 322-327
memory information displayed by, 315
process information displayed by, 316
third-party, 333
System Preferences
adding new printer, 87
modifying user accounts, 81
Sharing, 294
system services started at boot, 52
system startup scripts in /etc/mach_init.d, 56
System V command-line interface, 95
/System/Library directory, 45-46
/System/Library/CoreServices/, 51
loginwindow.app, 59
/System/Library/StartupItems directory, 58
/System/Library/User Template directory, 80
SystemStarter, 58
T[ Top ]
tab completion, 14
tab window manager (twm) for X11, 111
tabs in iTerm, 17
tail command, 363
tar utility, 260, 364
tarballs, 191
creating with GNU tar, 269
CVS, installing DarwinPorts from, 252
DarwinPorts package, 281
disadvantages for software distribution, 270
files in top-level directory, 192
Fink package, creating and publishing, 277
Fink source, installing, 242
MySQL source distribution, 335
PostgreSQL source distribution, 338
tasks, scheduling, 63
tclsh command, 361
Tcl/Tk
GUI for DarwinPorts, 257
X11-based version, 116
TCP/IP, configuring (Linux on emulator), 170
tcsh shell, 3, 361
commands to customize iTerm, 17
DISPLAY variable, enabling X11 forwarding, 117
escape sequences, 11
Tektronix Phaser 740 printer, adding, 88
TENEX C shell (see tcsh shell)
TERM environment variable, 9
.term files, 6
configuring window to execute a command, 7
$TERM, values of (under Terminal and xterm), 4
Terminal application, 3-22
Aqua-native alternatives to, 4
Bonjour networking technology, 16
contextual menu, 8
creating disk image using hdiutil, 132
customized, launching from command line, 6
customized window that executes command, 7
customizing, 9-14
changing the shell, 14
escape sequences, using, 11
file and directory names, 12-14
shell, 9
window settings, 10
Terminal application (continued)
cycling between open windows, 6
glue for, creating, 346
iTerm as alternative to, 17-19
launching new Terminal windows, 6
launching X11-based application from, 116
manipulating print queue, 90
open shell command, 20-22
running FinkCommander commands in, 246
Services menu, 14
split screen feature, 8
starting, 4
Terminal windows, xterm windows vs., 108
window, 5
X11 forwarding enabled in, 116
xterm vs., 4
test command, 361
teTeX, 145
installed by Fink, use with iTeXMac, 152
TeX, 145
help, download site for, 150
Live-teTeX application, 146-148
Mac-TeX web site, 145
Users Group (TUG) web site, 145
texi2html tool, 360
TeXLaTeX, 145
TeXShop, 146, 148
iTeXMac vs., 152
text, editing/processing tools for, 359
text editor, TeXShop, 149
TextEdit, 16
forcing file to be opened with, 22
third-party applications and tools, 137
CodeTek VirtualDesktop, 140
Exposé, 138
iTeXMac, 150
LaTeX and its frontends, 145
LaTeX services, 152-154
NeoOffice/J, 157
OpenOffice, 157
SSH GUIs, 142-145
system administration, 333
TeXShop, 148
virtual desktops, 139
virtual desktops and screens, 137
Virtual Screens, 141
threads library (libpthread), 218
threads, top utility statistics on, 315
TightVNC, 121
viewers for Unix systems, 122
TinkerTool System, 333
tips (Mac OS X Hints), xiv
title, setting for Terminal window, 11
TKAqua, 116
TLS/SSL, 297
Tool Command Language (Tcl) shell, 361
tools
Macintosh, 358
miscellaneous, 365
system management, 314
text editing/processing, 359
(see also developer tools; third-party applications and tools)
top utility, 314-316
tr tool, 360
transient and volatile files (/var directory), 47
Trash, 353
Tree Single Static Assignment (SSA), GCC 4.0, 190
trigraph preprocessing, 214
troff typesetting macros, 360
Trolltech, Aqua version of Qt for Mac OS X, 115
troubleshooting, 51
TUG (TeX Users Group) web site, 145
twm (tab window manager)
VNC server and, 121
for X11, 111
two-level namespaces, 224
typesetting mathematical and scientific publications, 145
U[ Top ]
Ubuntu Linux, 163
installing on Virtual PC from ISO image, 167
printing to Mac printer from, 105
UDP traffic, blocking, 311
UDZO format, 276
UFS (see Unison File Synchronizer)
umbrella frameworks, 198
Accelerate, 237
uncompress tool, 364
uninstall-devtools.pl, 358
uniq tool, 365
Unison File Synchronizer, 34, 36
problems using with other solutions, 38
resource forks and HFS+ attributes, 32
unistd.h header file, 217
Univ. of Michigan, Research Systems Unix Group (Fugu), 142
Unix
compiling source code, 191-202
development tools on Mac OS X, 355-365
development tools, standard, 355
LyX WYSIWYM document processor, 152
for Mac OS X, online resources, xiii
manually configuring Mac OS X printer on, 101
MPlayer, audio/video player, 132
sharing printer on Mac OS X, 94
TeX for (teTeX), 145
utilities, ix
VNC server, 120
(see also Linux)
UnRezWack tool, 358
unvis command, 363
unzip command, 365
updating
DarwinPorts, 257
Fink and installed packages, 243
URLs
dragging and dropping from web browser to Terminal, 13
Open URL service (Terminal), 15
USB printers, 86
shared, using CUPS, 95
sharing, 93
user defaults, viewing all on system, 330
user login scripts in /etc/mach_init_per_user.d, 56
users
managing with Directory Services, 78-81
adding users, 78
creating a user with niload, 79
creating a user with dscl, 79
creating user's home directory, 80
deleting a user, 81
granting administrative privileges, 80
listing all users, 78
listing with nidump, 81
modifying a user, 81
/usr/bin directory, 355
/usr/libexec directory, 355
/usr/local directory, 269
utilities, 314
Unix and Mac OS X, ix
V[ Top ]
values.h header file, 217
/var directory, 47
/var/db/netinfo directory, 74
vectorization (AltiVec), 203
verbose mode, booting in, 50
version numbering for libraries, 225
Version Tracker
Mac OS X VNC viewers, 122
web site, xiv
video, 132
open source players, 132
View in JavaBrowser service, 16
viewers, VNC, 119
Mac OS X viewers, 122
vim editor, 360
color, support for, 9
editing XML property list files, 7
vipw utility, 74
virtual desktops, 137
virtual machine environment (Mac-on-Linux), 166
virtual machines, suspending and resuming with QEMU, 175
virtual memory
enabling, 54
statistics on
top utility, 315
vm_stat, 319-321
Virtual Network Computing (see VNC)
Virtual PC, 159, 167-172
installing an operating system, 167
networking, 168-172
network settings, 171
QEMU vs., 176
X11 on, 172
Virtual Screens, 139, 141
VirtualDesktop, 139, 140
opening multiple application windows on multiple desktops, 140
vis command, 363
VLC multimedia player, 132
vm_stat utility, 319-321
information displayed by, 320
VNC (Virtual Network Computing), 119-128
components of, 119
connecting to Mac OS X VNC server, 122-126
connections tunneled through SSH, 120
installing on Mac OS X with Fink, 120
launching, 120
Macs connected to, controlling desktops, 118
SSH tunnel, setting up with SSH Agent, 145
SSH, using with, 121
TightVNC, 121
tunneling connection over SSH without TightVNC, 121
Windows machines, clients and servers for, 126
VNCDimension (Aqua VNC client), 122
VNC/remote desktop/X11, 288
vncserver command, 120, 121
vnodes, maximum number of, 54
volatile files, 47
W[ Top ]
wc command, 363
wchar.h header file, 217
-Wconversion compiler flag, 205
web service stubs, generating from WSDL file, 358
web site for this book, xvii
web-based administration interface, CUPS, 95
WebDAV (Web-based Distributed Authoring and Versioning), 296
WebObjects, online information, xiv
WEBSERVER entry (hostconfig), 295
weekly cron jobs, 64
wide character datatypes, 217
widgets (Dashboard), 353
creating your own, 354
Wi-Fi networks, 290
port mapping, 291
wildcards, using with open command, 22
window managers
available from Fink, 112
Motif (mwm), 115
Quartz, 107
VNC, specifying for, 121
X11, 111
Windows
consulting Active Directory domain on server editions, 71
file sharing with Mac OS X, 295
LyX WYSIWYM document processor, 152
sharing printer on Mac OS X, 94
SMB/CIFS protocol, 36
Virtual PC bundled with, 167
VNC clients and servers for, 126
windows, xterm vs. Terminal, 4
WSMakeStubs tool, 358
WYSIWYM (What You See Is What You Mean), 152
X[ Top ]
X Window System (see X11)
X11, 106-128
Apple distribution, 106
applications and libraries, 115-116
interactions with Aqua, 115
TKAqua, 116
applications and libraries based on, 206-208
AquaTerm, 208
building, 207
Applications menu, using, 117
connecting to Mac OS X VNC server, 122-126
connecting to other X Window systems, 116-119
osx2x application, 118
contextual menus in an xterm window, 109
customizing, 111-115
Applications menu, 114
dot-files, desktops, and window managers, 111
input preferences, 113
output preferences, 113
features of, 107
graphics, using from R console, 155
installation for DarwinPorts, 251
installing, 107
launched on Virtual PC, 172
launching, 120
OpenOffice for Mac OS X, 157
rootless and full-screen modes, 111
running, 108-111
video viewing applications, 132
WYSIWYM (What You See Is What You Mean) document processor, LyX, 152
xterm vs. Terminal windows, 108
X11SDK, 107, 207
X11User.pkg, 108
xargs command, 361
Xcode Tools, xiii, 108, 187-189
documentation, 187, 188
installation before DarwinPorts, 250
X11SDK, 207
Xfce desktop environment, 111
xfig/transfig drawing tool, 115, 206
XFree86 Project, 106
Xgrid, 208-211
resources for further information, 211
xinetd
OpenSSH server, 302
Printer Sharing, 305
.xinitrc script, for X11 customization, 111
xmkmf script, 207
XML property lists, 7, 62
xmodmap utility, 111
xterm
customizing window in X11, 113
replacements for, 109
Terminal vs., 4
Y[ Top ]
Yaboot (Linux bootloader), 165
Yellow Dog Linux, 163
hardware compatibility pages, 164
Z[ Top ]
Z shell (see zsh shell)
zcat tool, 364
zcmp command, 363
zdiff command, 363
Zero Configuration Networking open source project, 16
zgrep tool, 365
zip command, 365
.zip format, archiving files from Finder, 261
zsh shell, 3, 361
Zurück zu Mac OS X Tiger for Unix Geeks