Pico Editor On Unix

From ITwiki

Revision as of 14:49, 11 June 2010 by Mhegador (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PICO

PICO is designed to be a simple, easy-to-use text editor. It is the same editor used by the pine mail program. It is the easiest editor to learn. For general editing, this is the editor of choice. The commands you will need are shown on the bottom of the screen. To use PICO, simply type pico filename. The following are the most frequently used commands.

Frequently used commands in the PICO editor

  • Control G Get Help on PICO
  • Control O Save file with out exiting
  • Control R Read File and paste into document
  • Control Y Move to previous Page
  • Control K Cut Text
  • Control C Show cursor position
  • Control X Exit and save
  • Control J Justify
  • Control W Locate word(s) in document
  • Control V Move to next page
  • Control U Un Cut Text
  • Control T Spell check
  • Control Shift 6 Set Mark (use with arrow keys to select blocks of text. Then use Ctrl K & Ctrl U to cut and paste blocks of text)

Since PICO is so easy to use, it is recommended that you use PICO as your default editor.

To do so, put the line setenv EDITOR pico in your .login file.

While VI is a powerful editor for serious programming and word processing, it is difficult to learn for beginners. For most user, the PICO editor will be adequate. You can set the default editor in TIN to PICO by adding that command in your login file.

  1. Login to your shell account or open a Terminal Window if you are using a window manager.
  2. Type pico .login
  3. Go to the end of the file and type setenv EDITOR pico
  4. Type Ctrl x to exit
  5. Type y to save the buffer
  6. Hit Enter to accept the default filename

The next time you login, PICO will be your default editor.

Personal tools