Editing Files with pico or nano
If you’re familiar with text-mode text editors, you should have few problems learning pico
or nano
. If you’ve used only GUI editors to edit text, you’ll have to learn a few keyboard conventions. You must move about the document by using the keyboard rather than the mouse, for instance. You can insert, replace, and delete text much as you do in a GUI text editor or word processor.
Using Text Editor Conventions
Every text editor has its own conventions for displaying information on the screen, manipulating text, and so on. Most text-mode text editors are similar up to a point—for instance, one or more lines at the top or bottom of the display typically show summary information or brief command prompts. Figure 10.1 and Figure 10.2 show this information for nano
, which includes the following:
The Title Bar The first line of the display is the title bar. This line includes nano
’s version number, the name of the file being...