EDIT [filename] | [ line-number ]
Invoke the full screen editor. This can be used to edit either the program currently loaded in memory or a file on either drive A: or B:. It can also be used to view and edit text data files.
If EDIT is used on its own it will edit the program memory. If ‘filename’ is supplied the file will be edited leaving the program memory untouched.
On entry the cursor will be automatically positioned at the last line edited or, if there was an error when running the program, the line that caused the error. If ‘line-number’ is specified on the command line the program in memory will be edited and cursor will be placed on the line specified.
The editing keys are:
Left/right arrows Moves the cursor within the line.
Up/Down arrows Moves the cursor up or down a line.
Page Up/Down Move up or down a page of the program.
Home/End Moves the cursor to the start or end of the line. A second Home/End will move to the start or end of the program.
Delete Delete the character over the cursor. This can be the line separator character and thus join two lines.
Backspace Delete the character before the cursor.
Insert Will switch between insert and overtype mode.
Escape Key Will close the editor without saving (confirms first).
Function Key 1 Will save the edited text and exit.
Function Key 2 Will save, exit and run the program.
Function Key 3 Will invoke the search function.
SHIFT F3 Will repeat the search using the text entered at F3.
Function Key 4 Will mark text for cut or copy (see below).
Function Key 5 Will paste text previously cut or copied.
CTRL-F Will insert a file into the program being edited.
When in the mark text mode (entered with F4) the editor will allow you to use the arrow keys to highlight text which can be deleted, cut to the clipboard or simply copied to the clipboard. The status line will change to indicate the new functions of the function keys.
While the full screen editor is running it will override the programmable function keys F1 to F5. When the editor exits all programmable functions will be restored.
The editor will work with lines wider than the screen but characters beyond the screen edge will not be visible. You can split such a line by inserting a new line character and the two lines
can be later rejoined by deleting the inserted new line character.
All the editing keys work with a VT100 terminal emulator so editing can also be accomplished over a USB or serial link. The editor has been tested with Tera Term and this is the recommended software. Note that Tera Term MUST be configured for an 80 column by 36 line display.