| |
Editing with picopico is an easy-to-use editor that in a number of respects resembles a simplified version of emacs. Although it lacks most of emacs' sophisticated functions, many users find that pico more than compensates for this because there is virtually no learning curve associated with its use. pico's most-used commands are always displayed for the user at the bottom of the screen, and help with other features is readily available and clearly delineated in short phrases. pico is also the default editor used by the pine email program. To get started, enter pico at the system prompt and press <RETURN> . Alternatively, follow pico with the name of the file you are editing before executing the command. You will see a status line at the top of your screen which shows, among other information, the name of the file you are working on. If you are starting a new file, most of the screen will be blank. This represents your editing buffer, which at this point is empty. Simply type in your text, noting that pico will "word wrap'' automatically, so that carriage returns are not necessary unless you want to break a line before reaching the right margin, or unless a blank line is to be inserted. As with other editors, you have the option of moving around in your file with the arrow keys, and also of erasing the character to the left of the cursor via the backspace key. pico's other editing functions are accomplished with control sequences. These are depicted using the caret (^) as the symbol for CTRL, the control key. Thus when pico refers to a command such as CTRL/X, the notation ^X is used. The following functions are available under pico:
To accomplish pico's cut-and-paste function, use consecutive deletes (^K). This will write the deleted matter to a special buffer. A subsequent undelete (^U) will write the contents of the buffer at the current cursor position. Note also that where needed, pico will prompt you for relevant information; for example, if you use ^R to import a file into your buffer, pico will ask you for the file's name. You will also be asked whether you want to save your buffer (that is, write a permanent file) when you exit the editor. If you do, respond y. |