Это старая версия документа!
© MYSTERY-soft, K&K Co.1991,1992.
Русская версия документации находится здесь.
TED is a text editor with simplified interface. The editor's features are sufficient to create or edit various text files. The TED editor was written in Z80 assembler and complied with Macro-80.
Usage:
TED filename.ext
if there is no file name in the command line, the following message appears:
Tiny Editor v1.61 (C) MYSTERY-soft Use:TED filename
When you start the editor, you will see its editing window:
┌─────────────────────────────────────────────────────────┐ │ YOUR TEXT IS │ ~ HERE ~ ~ ~ ~ ~ │ │ │ ────────────────────────────────────────────────────── │ │ [D:filename.ext] 00000: 00000:00000 [00] 00:00 * │ └─────────────────────▲───────▲───────▲───▲──▲──▲──▲──────┘ │ │ │ │ │ │ │ The number of lines───┤ │ │ │ │ │ └─ Text changed flag in the text ─────┘ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ The amount of free ────────┤ │ │ │ │ space in bytes ────────┘ │ │ │ └─ vertical cursor position │ │ │ Current line number │ └── horizontal cursor position │ │ Current character's code ─────────┘ (hexadecimal)
Notes:
↓, ↑, →, ← | moving along lines and characters respectively |
CTRL+↓, CTRL+↑ | paging |
CTRL+→, CTRL+← | move by words |
CTRL+V | move to beginning of text |
SHIFT+CTRL+V | move to end of text |
Editing is carried out using the keys:
DEL | delete current character |
BS | delete character to the left of the cursor |
INS | insert mode (on/off) |
CTRL+DEL or CTRL+K | delete line |
CTRL+INS | line insert |
CTRL+E | delete the line to the right of the cursor |
CTRL+Enter⏎ | line feed with cut |
If you take a position in the line after the last character and press DEL, then the lines will be glued together.
To search, press CTRL+S, and the following will appear:
┌─────────────────────────────────────────────────────────┐ │ YOUR TEXT IS │ ~ HERE ~ ~ ~ ~ ~ │ │ │ Search:▊────────────────────────────────────────────── │ │ [D:filename.ext] 00000: 00000:00000 [00] 00:00 * │ └─────────────────────────────────────────────────────────┘
After that, a search pattern is typed (character or string) and Enter⏎ is pressed. Search is performed from top to bottom from the beginning of the text. The sample found is located at the top of the screen.
Continuation of the search: CTRL+Q.
When you press the ESC key, you will see:
┌─────────────────────────────────────────────────────────┐ │ YOUR TEXT IS │ ~ HERE ~ ~ ~ ~ ~ │ │ │ ────────────────────────────────────────────────────── │ │ [D:filename.ext] Select: [S]ave [Q]uit [ESC]-continue │ └─────────────────────────────────────────────────────────┘
To write a file, press S, and the cursor will go to the file name editing field. After pressing Enter⏎, the file is recorded.
Note:
Editing does not work in the file name field (i.e., INS, DEL, BS)
Corrections are made by space and arrows → and ←.
Exit the editor by pressing the Q key.
Exit the editor with saving file by pressing the F10 key.
Note:
When exiting, there is no request to save and confirm the exit.
When the buffer overflows in file loading mode, the following message is displayed:
Buffer full
and any key is expected to be pressed, after which it switches to edit mode with the part of the text that fits in the buffer.
Note:
When the buffer is full, the insertion of characters and lines does not occur!
In case of disk exchange errors, the editor displays a message:
Disk I/O error: ([A]bort,[R]etry,[I]gnore)
response to it, as in MSX-DOS. (only for Abort
— return to edit mode).
Note for the system programmer:
The editor disconnects the network (if there is one) and sets (38h):=0C9h; upon exit, these states are saved.
MYSTERY-soft wishes you a pleasant work !!!
We express our gratitude to all the authors of this text editor and to those who helped solve the problems of launching the editor on machines with several mappers: