Customizing Terminal.app in Leopard
With a few easy tweaks you can have your shell looking exactly like you want it and even have a number of shells with different colored windows and text in different tabs. In one tab, you can have your basic black text on a white background. In another tab, pink text on a blue background, and so on, as you customize them to whatever suits you.
First, a shell is your entry point into the UNIX system underlying your Mac OS. There is no GUI. It’s simply a text-based command line. The terminal.app is simly a window that contains the command line interface, and it is this window which we seek to change to our liking.
Alas, behold the awesome power of the blinking cursor. It awaits your command. But today, we’re not interested in explicitly typed commands. We’re instead going to use the terminal.app settings to change some colors. That’s it.
By the way, if you muck up anything, fear not. You can easily restore your changes to default settings.
Terminal.app is found in Applications - - > Utilities - - > Terminal.
Once you select Preferences from the drop-down menu, you get a box that contains some default color combinations for background and text.
Here is where you want to decide what color combinations you want. For one project you may want to have black text on a white background, and for a different project you may want yellow text on a green background.
Begin by clicking the + (plus sign) at the lower left to add a new default window and then type in the name you want to give your new terminal window. You can add as many new windows as you like and customize each window according to your preferences or work space needs.
Then highlight the Text setting on top of the right panel to choose your text color under the text section. Then with the Window setting highlighted you can choose your Background color. Now, look at your terminal window to view the changes and then tweak the color as needed. Do the same for any new terminals you added.
You can make any of your newly added terminal windows the default by selecting your preferred custom window or any of the windows provided and clicking the default button underneath. Now, when you do a Command-T to open a new tab, the new tab contains your new default color settings.
Now that you’ve got your Terminal Window color scheme(s) in place, you’re ready to tackle the UNIX command line. In a later posting we’ll examine the sudo command and the Principle of Least Privilege (PoLP). You will need to have administrator privileges to use the sudo command.
Just don’t let all this power go to your head.



