1.2 The Terminal and xterm Compared
There are several important differences between Mac OS X's Terminal application and the xterm and xterm -like applications common to Unix systems running X Windows:
You cannot customize the characteristics of the Terminal with command-line switches such as -fn , -fg , and -bg . Instead, you must use the Terminal's Show Info dialog.
Unlike xterm , in which each window corresponds to a separate process, a single master process controls the Terminal. However, each shell session is run as a separate child process of the Terminal.
The Terminal selection is not automatically put into the clipboard. Use -C to copy, -V to paste. Even before you press -C, the current text selection is contained in a selection called the pasteboard . One similarity between Terminal and xterm is that selected text can be pasted in the same window with the middle button of a three-button mouse. If you want to paste selected text into another window, you must drag and drop it with the mouse or use copy and paste. The operations described in Section 1.5, later in this chapter, also use the pasteboard.
The value of $ TERM is xterm- color when running under Terminal (it's set to xterm under xterm by default).
Pressing -Page Up or -Page Down scrolls the Terminal window, rather than letting the running program handle it.
On compatible systems ( generally , a system with an ATI Radeon or NVidia GeForce AGP graphics adapter), the Terminal (and all of the Aqua user interface) uses Quartz Extreme acceleration to make everything faster and smoother.
If you need an xterm , you can have it; however, you will first have to install the X Window System, which is bundled with Mac OS X Panther as an optional installation. See Chapter 5 for more information about the X Window System.
At least two other Aqua-native terminal applications are available. These include the shareware GLterm and the freeware iTerm. We'll have more to say about these programs later in this chapter.
Enabling the root User
By default, the Mac OS X root user account is disabled, so you have to use sudo to perform administrative tasks . Even the most advanced Mac OS X users should be able to get by with sudo , and we suggest that you do not enable the root user account. However, if you must enable the root user account, start NetInfo Manager ( /Applications/Utilities ), click the lock to authenticate yourself, and select Enable Root User from the Security menu.