When you want to delete a long text string you just entered in the terminal window (instead of pressing the backspace repeatedly), hit ESC and then backspace. This will delete backwards to the previous break in the text string.
There are (already!) a number of programs around that let you edit the OS X preference files with a GUI-based tool as opposed to the command line. These give you easy access to settings such as dimming hidden apps in the dock, showing hidden files in the GUI, changing Cocoa apps default fonts, etc. Here are pointers to a couple of them that have been updated for OS X Final:
In the brand-new DragThing for OS X (it also works in 8.6 and later) there's a very cool easter egg for you to unearth. It's not too hard to find, either (although I had an inside tip ;-). So as not to spoil it for everyone, read the rest of this article ONLY IF you'd like to know where to find it (don't read the comments, either, as there may be spoilers there). Otherwise, install DragThing4 and start looking! NOTE: It appears the egg only works in OS X; I cannot make it appear in OS 9.1...
NOTE: DragThing4 will not run on the PB; I tested it on my "Staples edition" OS X 10.0 release. I'm not sure if it works with post-PB builds. And in a bit of editorial, I have to say that DragThing4 simply rocks. It's the perfect companion to the dock, and could potentially replace it, if there were a way to 'genie' windows to DragThing instead of the dock. Great job, James!
DragThing was my favorite launcher utility for OS 9. The author's been working on a new version to support OS X, and posted a screenshot back in December. A week or so ago, he posted some more shots (taken in OS 9) of the latest builds. Based on the screenshots, he's added some very nice features. He's also commented that he hopes to release the new version very close to March 24th's release of OS X 1.0.
This is great news (for me, at least) as the dock and DragThing together will make a great team to make OS X even more usable!
If you've installed mySQL and PHP for creating web-enabled databases, you've probably become quite familiar with the pure UNIX interface to mySQL. For example, you'd type DESCRIBE tablename for a list of the field definitions in a table; to add a row to a table, the syntax is INSERT INTO tablename (fieldname1, fieldname2) VALUES (expression1, expression2). In other words, completely un-Mac-like and non-intuitive ... but quite powerful!
While you can't avoid all of this hassle of the non-GUI interface, there are a couple of tools out there that make managing mySQL databases much easier. The first is an OS X (Carbon) application called MacSQL Monitor from Runtime Labs. This is a shareware ($40) package that puts a very nice Mac GUI on your mySQL databases. The demo version has limited export capabilities, and will run 10 queries each session.
My personal favorite, though, is phpmyadmin, from phpwizard.net. This is a collection of PHP scripts designed to help you manage mySQL databases, and it's available free of charge. Through the web-based interface, you can easily create tables, browse records, run queries, modify properties, drop tables, and add/delete entire databases. It's the tool I use when I have to work in the raw database files on the macosxhints website. Read the rest of this article if you'd like an overview of installing myphyadmin.
If you use jEdit (see Favorites box at left) as your text editor, one of the cool tricks it performs is to maintain a history of your search and replace calls. If you command-click in the search or replace box, you'll get a drop-down menu showing the last 15 or so items you've searched or replaced. This little trick saves a bunch of typing if you're looking for the same thing somewhat regularly.
Marcel Bresnik, author of PrefEdit, has released TinkerTool for OS X. This nifty program lets you adjust a number of things in OS X which were previously difficult to do and required command-line editing. These include disks and trash on the desktop, showing all hidden files, using the blue triangles and hidden apps effects in the dock, and a slew of other things including changing the default system fonts.
Most interesting to me, though, was the presence of a gamma adjustment tool for OS X. For those of you that find Aqua "just too darn bright" or "just too darn dark", you can finally adjust the gamma! Personally, I find it to be just a bit too bright, and I set a slightly darker than standard gamma. Wow ... I thought it looked good before, but now it looks really good!
TinkerToy is free, and highly recommended if you want to tweak your PB system. As always, anything it does bad to your system is not my responsibility! I've only been using it for the last 15 minutes or so, but no problems yet.
Although 99%of the world browses websites with some version of a graphical client, there can be times when it could be useful to have command-line access to a website.
Imagine a scenario where your home machine uses DSL or a cable modem, and is "net-connected" 24 hours a day. You're at the office one day, and notice a site that has a file you want to download, but it's only available via a web browser. If you've enabled remote connectivity to your home box (via telnet or SSH), you could connect to home, launch a text-based browser, and start the file download on the home machine. There are also command-line utilites that can do this for you (cURL is one of them; there's an OS X version here), but the text-browser is also useful as a, well, browser!
links is an excellent text-based browser that works very well in OS X. The small screenshot at the top of this article is of links displaying this site; here's the full-size screenshot. Read the rest of this article if you'd like instructions on downloading and installing links for OS X. You could also use lynx, another text browser; search this site on 'lynx' for more info.
While messing around with the terminal today, playing with transparency, size and colors, I noticed a couple of nice design elements.
First, as you resize the window, ithe window title displays the size of the new window ... 80x24 becomes 92x24 to 103x24 to 120x40. When you let go, it returns to the original display.
Second, and I guess I just overlooked this earlier, you can open an Inspector Window for any open terminal session. This gives you access to nearly all the same settings as you get in the prefs panel, but you can now set them on a per window basis. I'd always just mucked around with the color and font control panels, but the Inspector lets you do things like change the window title, specify the scrollback buffer size, etc. This isn't a hidden feature; I just overlooked it in the menus earlier.
And if you haven't tried it yet, play around with the terminal transparency hack - you can make some very nice looking (yet still functional) semi-transparent terminals.
A while ago, I wrote about a Japanese-language Aqua button making program. Over on the MacNN forums, 'trunks_essex' pointed one out in English. This one's from a company called Micahsoft, and you can find ButtonMaker (and some other RealBasic programs) on their site.
ButtonMker is quite easy to use (having it in my native language helps greatly!), and it includes other options in addition to Aqua. The author acknowledges a bug when trying to save buttons of a certain height, but I didn't run into it in the ten minutes or so I tested the program.
Just a pointer to yet another way to put some Aqua in your world!