By Rael Dornfest, Kevin Hemenway
Cover | Table of Contents | Colophon
http://www.mac.com/1/iTour/tour_backup.html),
.Mac's free personal backup software, has the
simplicity you've been craving in a backup
application.
http://www.mac.com/) application. Clearly, I
didn't see this as a total solution to my archiving
needs, especially with a measly 100MB iDisk, but I thought that
Backup had some potential as a temporary container for my work in
progress.
gzip -9 filename.dmg-9, then gzip
will finish slightly faster, but at the expense of a slightly larger
file size (<CR>), represented as
\r. Unix, on the other hand, uses a single
linefeed (<LF>), \n.
Windows goes one step further and uses both, creating a
(<CRLF>) combination,
\r\n.
http://www.apple.com) saved as an HTML file
named Apple Home.html, you'd
enter the following into a Terminal [Hack #48] window
to find its type and creator:
% /Developer/Tools/GetFileInfo "Apple Home.html"
file: "Apple Home.html" type: "TEXT" creator: "MSIE" attributes: avbstclinmed created: 08/08/2002 19:12:46 modified: 08/08/2002 19:12:46
-I.% chflags uchg filename.txt % /Developer/Tools/SetFile -a L filename.txt
chflags
utility is part of a default OS X
install and changes the
uchg
flag of a file, representing the immutable
bit (literally, "this file is not subject to
change"). chflags can be
performed only by a superuser or the file's owner.
SetFile
is a utility that comes with the Developer Tools and operates on a
file's attributes (attributes and flags can be
considered equivalent). In this case, you're saying
the locked attribute (-a L) of the file should be
set.
ls -ol
(o to show the file
flags, and l for long listing). Any file with the
uchg flag is locked:
% ls -ol filename.txt
-Shift-Delete. Every so often, though, a file
or folder refuses to leave.
% ls -al
total 48
drwxr-xr-x 20 weimengl staff 680 Dec 14 12:35 .
drwxrwxr-t 8 root wheel 272 Dec 10 09:30 ..
drwx------ 6 weimengl staff 204 Dec 14 12:55 .Trash
...% cd .Trash % ls -al
fstat
(file status) command to ascertain
which is the offending program:
-L (in OS 9 it was
-M, which now,
sadly, minimizes the current window instead).
ln
command creates and alters links on
the command line via the Terminal [Hack #48]. Figure 1-20 shows me creating a file,Open Recent does work
rather nicely.
http://www.devon-technologies.com/) from
DEVONtechnologies comes in. It's a very small and
easy-to-install piece of freeware that will give any
Cocoa application the
ability to open Microsoft Word documents. Download, drop into your
~/Library/Services directory, log out and back
in, and drag that dastardly .doc to TextEdit.
Bingo! Instant plain text. It's not perfect, as the
documentation confesses: only plain text is preserved, no images and
no formatting. But in most cases that's more than
enough, since you're opening up a Word document;
naturally, you should be interested only in the words.
and V keys.
and V keys.
dmesg
dmesg
will contain most of the hardware lines I mentioned before, as well
as a few other nitpicks here and there; what you see will be unique
for your combination of hardware and equipment.
-E. As far as the target machine's
concerned, just turn it off or reboot it when you're
finished; it'll come back up as if it were all just
a dream.
http://www.sonnettech.com/), a
quad-port FireWire card, and a dual-port USB card (only $37,
combined). Mac OS 9 ran rather snappily and the machine served quite
nicely as a USB print server. Then I stumbled across a little
something called XPostFacto (http://eshop.macsales.com/OSXCenter/XPostFacto/),
which is open source and free.
http://eshop.macsales.com/OSXCenter/XPostFacto/framework.cfm?page=XPostFacto.html#preparing
http://eshop.macsales.com/OSXCenter/XPostFacto/framework.cfm?page=XPostFacto.html
http://www.apple.com/macosx/jaguar/rendezvous.html),
Apple's branding of a larger standardization effort
called Zeroconf (http://www.zeroconf.org/), allows for devices
to broadcast their existence and discover others on a local network,
peering and making use of each other's available
services — all with zero configuration. iChat has Rendezvous
baked right in. It'll notice other iChat users
coming and going on the local network, keeping track of the transient
population in a Rendezvous buddy list (see Figure 3-3).
http://www.apple.com/ichat/)http://www.adiumx.com)http://www.epicware.com/fire.html)
-P. In the Print dialog, select the
application-specific settings from the pull-down menu (Copies &
Pages should be selected by default) and make any adjustments you
wish. These range from simple font selection to
Internet Explorer's
wide-page handling and control over the inclusion of headers and
footers, images, and backgrounds. Some applications make their
options available outside of the Print dialog via an Option button.
When you're ready, rather than being tempted by the
pulsating Print button, click Preview (see Figure 3-12).
-O, or
double-clicking an image file or dragging and dropping it to
Preview's Dock or Finder icon. Choose File
→ Export . . . , pick an output format, and save. For a mite
more fine-tuning, click the Options . . . button in the Save sheet to
set color depth, simple filtering, interlacing, and the like, as
shown in Figure 3-13.
http://www.apple.com/iphoto/), while best
suited to its primary role of digital shoebox, does provide some
useful conversion facilities in a pinch. It's far
more limited than Preview in the image formats it supports (JPG,
TIFF, and PNG) but has a good deal more features up its sleeve:
scaling, simple brightness and contrast controls, red-eye reduction,
rotation, cropping, one-click enhance, retouching, and converting to
black and white.
http://www.apple.com/iphoto) appears
deceptively simple. You plug in your digital camera, iPhoto grabs all
the pictures, and you play with them on your computer screen.