Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
manual:chapter2:cmdline [2017/04/27 07:58] claudio |
manual:chapter2:cmdline [2019/11/25 13:13] jojo1973 [Using the menus while in the editor] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== The Command Line ===== | + | ===== 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 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 '' | ||
- | ===' | ||
- | 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 '' | ||
- | ---- | + | 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 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 '' | ||
+ | |||
+ | === ' | ||
+ | |||
+ | 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 **ALPHA< | ||
==== 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: | ||
- | * Cursor right: Moves one character to the right. At the end of the line it will move to the start of the next line. | ||
- | * RS-Cursor right or RS-Hold-Cursor right: Moves to the end of the current line. | ||
- | * RS-Cursor left or RS-Hold-Cursor left: Moves to the start of the current line. | ||
- | * RS-Cursor up: Moves to the first line of text. | ||
- | * RS-Cursor down: Moves to the last line of text. | ||
- | * RS-Hold-Cursor up: Moves up one page of text. | ||
- | * RS-Hold-Cursor down: Moves down one page of text. | ||
- | ---- | + | * **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 ==== | ||
- | 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 '' | + | |
+ | {{ : | ||
+ | |||
+ | 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-Hold-Cursor up: Shows the previous suggestion. | ||
- | * Alpha-Hold-Cursor down: Shows the next suggestion. | ||
- | * Alpha-Hold-Cursor right: Insert the suggestion into the editor. | ||
- | 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-Cursor right: Define | + | * **LS-LF**: Defines |
- | * LS-Hold-Cursor left: Copy the selection to the clipboard. | + | |
- | * LS-Hold-Cursor right: Paste the clipboard at the cursor location. | + | |
- | * LS-Hold-Cursor down: Cut the selection into the clipboard. | + | |
+ | | ||
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. | 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 ==== |
+ | |||
+ | When the editor is open, the menu keys behave slightly different from their actions when at the stack. | ||
+ | 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 '' | ||
+ | |||
+ | * 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** ('' | ||