- Choosing an Editor
- Starting pico and Dabbling with It
- Saving in pico
- Cutting and Pasting Text Blocks in pico
- Checking Spelling in pico
- Getting Help in pico
- Exiting pico
- Starting vi and Dabbling with It
- Saving in vi
- Adding and Deleting Text in vi
- Importing Files into vi
- Searching and Replacing in vi
- Exiting vi
- Starting emacs and Dabbling with It
- Using emacs Menus to Spell-Check
- Saving in emacs
- Exiting emacs
Starting pico and Dabbling with It
You can start and dabble with pico using the following steps. Notice that the pico interface is intuitive and easy to navigate in, as shown in Figure 4.4.
Figure 4.4 pico offers an intuitive interface for editing text.
To start pico and dabble with it:
pico
To begin, type pico at the shell prompt. The program starts up and you'll see something like Figure 4.4, with the text area up at the top of the window and the command hints down at the bottom.
If you know the name of the file you want to edit, type pico at the shell prompt followed by the path and name of the file you want to edit (hairyspiders, for example).
hairyspiders
Go ahead. Type something—anything—just to try it out.
- Use and to help edit text.
- Use the arrow keys to move up, down, right, or left.