TrumanWong

pico

Powerful full-screen text editor

Supplementary instructions

pico command is a powerful full-screen text editor. Pico is easy to operate and provides a wealth of shortcut keys. Commonly used shortcut keys are as follows:

Ctrl+G: Get help information from pico;
Ctrl+O: Save the file content. If it is a new file, you need to enter the file name;
Ctrl+R: Insert the content of a specified text file at the current cursor position;
Ctrl+Y: Page forward;
Ctrl+V: page backward;
Ctrl+w: Search for files;
Ctrl+K: Cut the current file line to the paste buffer;
Ctrl+U: Paste the contents of the buffer to the current cursor position;
Ctrl+C: Display the current cursor position;
Ctrl+T: Call the spell check function to check the spelling of the document;
Ctrl+J: Rearrange paragraphs;
Ctrl+X: Exit. When the file content changes, provide whether to save the changes.

grammar

pico(option)(parameter)

Options

-b: Turn on the replacement function;
-d: Enable deletion function;
-e: Use the complete file name;
-f: Supports F1, F2... function keys on the keyboard;
-g: display cursor;
-h: online help;
-j: Turn on the switching function;
-k: By default, when pico uses the cut command, all the contents of the column where the cursor is located will be deleted;
-m: Enable mouse-supported functions. You can use the mouse to click on the command list;
-n<interval seconds>: Set how often to check for new emails;
-o<working directory>: set the working directory;
-q: Ignore the default value;
-r<edit page width>: Set the page width of the edited file;
-s<spelling checker>: additionally specify a spelling checker;
-t: Start tool mode;
-v: Start reading mode, the user can only watch but cannot edit the content of the file;
-w: Turn off automatic word wrapping. You can edit columns with long contents through this parameter;
-x: Close the command list at the bottom of the page;
-z: Allow pico to be interrupted by Ctrl+z and temporarily stored in the background job;
+<list number>: When executing the pico command to enter editing mode, start editing from the specified column number.

Parameters

File: Specify the file to edit.