If you have Web pages in a computing account,
you may want to use Pico to edit those HTML files. Following
is a brief guide on the general commands in pico.
To start pico
At the prompt, type: pico filename, replacing
"filename" with the name of the file you want to create
or edit.
The Menu bar
Pico displays a menu bar at the bottom
of the screen of commonly-used commands. Pico accepts commands
from your keyboard but not from your mouse. Refer to the
picture below and note the menu bar at the bottom of the
screen. (Pico may look slightly different on your screen.)
Inserting text
To insert text into your Pico editing
screen at the cursor, just begin typing. Pico will insert
the text to the left of the cursor, moving any existing
text along to the right. Each time the cursor reaches the
end of a line, Pico's word wrap feature will automatically
move it to the beginning of the next text line.
Cursor movement
Do not use the mouse to move your cursor.
Use the arrow keys on the keyboard to move the cursor around.
Deleting text
To delete the character to the left of
the cursor, press BACKSPACE, DELETE, or CTRL/h. To delete
the character highlighted by the cursor, press CTRL/d. To
delete the current line, press CTRL/k.
Inserting a text file
To insert the contents of an existing
file at the cursor location, press CTRL/r. Pico prompts
you for a filename. Type the filename and press return.
Saving your work
To save your edited file to disk, press
CTRL/o. Pico displays the filename. (To save the file under
a different name, delete the filename and type a new one.)
Press RETURN.
Exiting Pico
To exit Pico, press CTRL/x. If you have
made any changes since the last save, Pico asks whether
to save them. Type y (yes) or n (no). If you type y, Pico
displays the filename. (To save the edited file under a
different name, delete the filename and type a new one.)
Press ENTER.