Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:chapter2:cmdline [2017/10/07 06:27] claudio [Using the menus while in the editor] |
manual:chapter2:cmdline [2019/12/01 13:49] jojo1973 [The command line] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== The Command Line ===== | + | ===== Working with the command line ===== |
==== Modes of operation ==== | ==== Modes of operation ==== | ||
+ | |||
The command line editor is an area of the screen that opens up whenever the user needs to input data on the calculator. | The command line editor is an area of the screen that opens up whenever the user needs to input data on the calculator. | ||
The command line has several different modes of operation, indicated by the letter of the blinking cursor. | The command line has several different modes of operation, indicated by the letter of the blinking cursor. | ||
- | The editor will switch between modes of operation automatically most of the time based on context. The user can manually switch by using the '' | + | The editor will switch between modes of operation automatically most of the time based on context. The user can manually switch by using the **ENTRY** key (**RS-AL**). |
- | ===' | + | |
+ | === ' | ||
When a number is first pressed, the editor opens up in direct mode. In this mode, commands and operations will close the editor, compile what was typed, and perform the operation all in a single keystroke. For example typing '' | When a number is first pressed, the editor opens up in direct mode. In this mode, commands and operations will close the editor, compile what was typed, and perform the operation all in a single keystroke. For example typing '' | ||
- | ===' | ||
- | This mode is specifically for entering symbolic expressions. It is activated when the user types the single quotes '' | ||
- | ===' | ||
- | This is the default mode for programming in RPL, it is activated automatically when the user enters the program delimiters '' | ||
- | ===' | ||
- | This is the preferred mode for entering arbitrary text. It is activated manually using **ALPHA**, or automatically when the user inserts the double quotes '' | ||
- | ---- | + | === ' |
+ | |||
+ | This mode is specifically designed for entering symbolic expressions. It is activated when the user types the __single quotes__ '' | ||
+ | |||
+ | === ' | ||
+ | |||
+ | This is the default mode for programming in RPL, it is activated automatically when the user enters the __program delimiters__ '' | ||
+ | |||
+ | === ' | ||
+ | |||
+ | This is the preferred mode for entering arbitrary text. It is activated manually using **AL**, or automatically when the user inserts the __double quotes__ '' | ||
+ | |||
+ | To switch between '' | ||
+ | |||
+ | Alphanumeric mode can also be used temporarily. When in any other mode, press **AL< | ||
==== Navigation ==== | ==== Navigation ==== | ||
+ | |||
To move the cursor through the text, use the cursor keys in the keyboard. Depending on the shifts, they will perform different operations: | To move the cursor through the text, use the cursor keys in the keyboard. Depending on the shifts, they will perform different operations: | ||
- | * Cursors: Move one character left, right, up or down. | ||
- | * Cursor right at the end of the line: It will move to the start of the next line. | ||
- | * **RS-RT**: Moves to the end of the current line. | ||
- | * **RS-LF**: Moves to the start of the current line. | ||
- | * **RS-UP**: Moves to the first line of text. | ||
- | * **RS-DN**: Moves to the last line of text. | ||
- | * **RS< | ||
- | * **RS< | ||
- | * **RS< | ||
- | * **RS< | ||
- | ---- | + | * **LF**, **RT**, **UP**, **DN**: Moves one character left, right, up or down; |
+ | * **RT** at the end of the line: Moves to the start of the next line; | ||
+ | * **RS-RT**: Moves to the end of the current line; | ||
+ | * **RS-LF**: Moves to the start of the current line; | ||
+ | * **RS-UP**: Moves to the first line of text; | ||
+ | * **RS-DN**: Moves to the last line of text; | ||
+ | * **RS< | ||
+ | * **RS< | ||
+ | * **RS< | ||
+ | * **RS< | ||
==== Autocompletion of commands ==== | ==== Autocompletion of commands ==== | ||
Line 35: | Line 47: | ||
{{ : | {{ : | ||
- | When the user is typing text, the status area will offer suggestions to quickly type RPL commands based on the partial word immediately to the left of the cursor. For example, pressing the key **X** will insert the letter X into the editor, and immediately suggest '' | + | When the user is typing text, the status area will offer suggestions to quickly type RPL commands based on the partial word immediately to the left of the cursor. For example, pressing the key **X** will insert the letter |
When a suggestion is being displayed, the following keys become active: | When a suggestion is being displayed, the following keys become active: | ||
- | * **Alpha< | ||
- | * **Alpha< | ||
- | * **Alpha< | ||
- | The autocomplete feature works best when the editor is in programming mode ' | ||
- | ---- | + | * **AL< |
+ | * **AL< | ||
+ | * **AL< | ||
+ | |||
+ | The autocomplete feature works best when the editor is in programming mode '' | ||
+ | |||
+ | ==== Text selection and copy/paste operations ==== | ||
- | ====Text selection and copy/paste operations==== | ||
To select text when inside the editor, use the following keys: | To select text when inside the editor, use the following keys: | ||
- | * **LS-LF**: Define the start of the selection at the cursor location. | ||
- | * **LS-RT**: Define the end of the selection at the cursor location. | ||
- | * **LS< | ||
- | * **LS< | ||
- | * **LS< | ||
- | The clipboard is also shared with the stack, so objects from the stack can be pasted into the editor and text from the editor can be pasted into the stack. | ||
- | ---- | + | * **LS-LF**: Defines the start of the selection at the cursor location; |
+ | * **LS-RT**: Defines the end of the selection at the cursor location; | ||
+ | * **LS< | ||
+ | * **LS< | ||
+ | * **LS< | ||
+ | |||
+ | The clipboard is also shared with the stack, so objects from the stack can be pasted into the editor and text from the editor can be pasted into the stack. | ||
==== Using the menus while in the editor ==== | ==== Using the menus while in the editor ==== | ||
Line 60: | Line 74: | ||
For complete information see [[manual: | For complete information see [[manual: | ||
- | Most commands in the menu will insert the command name to the command line. When the editor is in algebraic mode **A**, some commands will be inserted as a function, including opening and closing parenthesis. | + | * Most commands in the menu will insert the command name to the command line. When the editor is in algebraic mode '' |
- | + | ||
- | If the menu is showing variables, using the menu tab will insert the name of the variable in the editor. | + | |
- | + | ||
- | When using left or right shift (which normally do '' | + | |
- | + | ||
- | Finally, when using **RS< | + | |
- | + | ||
- | If the menu tab is displaying a directory, the menu key will change to the directory instead of inserting it's name. This allows traversing directories while editing text, transparently. The **LS-UP** ('' | + | |
- | ---- | + | * if the menu is showing variables, using **{A/L}** will insert the name of the corresponding variable in the editor; |
+ | * when using **LS-{A/L}** or **RS-{A/L}** (which normally do '' | ||
+ | * finally, when using **RS< | ||
+ | * If the menu tab is displaying a directory, the menu key will change to the directory instead of inserting its name. This allows traversing directories while editing text, transparently. The **LS-UP** ('' | ||