If you're like me, you've been terribly frustrated by the fact that "hostname name" doesn't permanently set the hostname under MacOS X. After a lot of (unsuccessful) poking around, I finally found a note on the macosx-admin group hosted by omniweb.com.
Edit /etc/hostconfig with your favorite editor. Change the line
HOSTNAME="your favorite name"
Works like a charm! Still, it bugs me that Apple has disabled many of the old unix standards - I think they'd make the platform much more attractive to a very strong unix talent base if they would try to keep the old standards where they still make sense.
The network preferences file is used to store all the user entered information about your TCP-IP/PPPoE/PPP settings. If you are looking to automatically setup these settings for use in an "easy installer", the preferences file can be found at this location:
This file is usually owned by root, in group wheel.
I don't know how helpful this will be, but in case anyone else is having a similar problem, I felt it right to share my experience.
I pre-ordered OS X a month before it was released, and tried to install it on the last Beige Macintosh they ever made - a G3 333 UWSCSI minitower.
The install CD did nothing but kernel panics, even when the machine was stripped to bare bones stock. It's now about three and a half months later, and after trying almost daily, OS X is finally installed.
Read the rest of the article if you'd like to see how Glen finally got OS X on his beige G3...
hmmm, came across this by accident. Probably most of you already know this but if not....
I moved some files to a folder thinking that I had copied them but errrr .... they moved, out of reaction (I was jsut using a text editor) I hit apple-z ... It was like magic, the files zapped back to where they came from.
oh well, if this is old news what can I say, it's new to me :-)
in Finder list view (i searched and didn't see this, so if it's a repeat i apologize...), turn OFF "Show File Sizes" for the Global List View. As all Cocoa applications are now packages, meaning they're actually directories, this is the same as turning off "Calculate file sizes" in the OLD finder and foregoing the minutes it would take to go through each folder, calculate the size, then go to the next folder, calculate THAT size, etc etc. It's equally slower (if not slower) in X.
Just a little quickie (but the little ones are usually the nicest!)...double click on the square just above the scrollbars but to the right of the message header titles (e.g. Date & Time on my std install), and Mail toggles from Preview Message to List view (or I guess more accurately, toggles preview off and on). Same happens if you double click on the separator bar between the lists and the preview.
Still a little light on functionality, and a bit slow when you have more than one mailbox (try 6+), but hey it's only a Beta oops i mean 1.0 release.
If you use custom Terminals for various tasks such as one terminal to telnet or ssh, and one terminal to tail a log file, etc. you can edit the .term file for each custom terminal to keep the shell you'd like to use -and- to also start up any default program or script you'd like.
If you'd like to set custom terminals with custom commands and still use your default shell, read the rest of this hint.
[Editor's note: This is similar to a tip that has been previously published, but it's a nicer wayto accomplish the same objective, so I've published it as a new hint]
I learned about this in college to make the title of xterms dynamic and found that the same method works with Terminal.app. I've created some aliases that allow me to have the title of the window reflect the machine that I'm on and current working directory of the shell, or of what file I'm editing. If you'd like a title on your terminal window that changes based on what you're doing, read the rest of this article...
In OS 9, you could single-click on a Finder window while an open/save dialog was onscreen, and the dialog would jump to that location. Very handy for fast navigation to often used folders (although I liked Default Folder even better!). In OS X, that same trick fails - a Finder click simply gets you the Finder.
Tonight, though, I found that you can drag and drop the location you are interested in from the Finder to the open/save dialog, and it accomplishes the same resut. If you drop a file, the filename is placed on the input line, and you can just hit return to open it; if you drop a folder, that folder is displayed in the dialog box. I'm not sure if this is common knowledge or not, but I had certainly no idea you could do this until I tried it!
It's not quite as simple as a click in the Finder, but it's close and quite useful!