====== TED: Text editor for MSX (MYSTERY-soft) ====== {{:msx:ted_mysterysoft:ted-en.png|}} © MYSTERY-soft, K&K Co.1991,1992. Русская версия документации находится [[msx:ted_mysterysoft:ted_mysterysoft|здесь]]. 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. {{:msx:ted_mysterysoft:ted.zip|}} 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://__ * Numbering of lines and cursor position coordinates starts from zero. * Tab (code 9) is not displayed in the character code field, but is considered a space (code 20h), although the tab is written to the text. ====== Text navigation ====== |, , , |move cursor to the desired spot| |CTRL + ↓, CTRL + ↑|page flipping| |CTRL + →, CTRL + ←|move cursor to next/previous word| |CTRL + v|move to the beginning of text| |SHIFT + CTRL + V|move to end of text| ====== Editing ====== The following keys can be used for editing a text: |DEL|delete current character| |BS|delete character to the left from the cursor| |INS|insert mode (on/off)| |CTRL+DEL \\ or \\ CTRL+k|delete line| |CTRL+INS|insert line| |CTRL+e|delete the line to the right from the cursor| |CTRL + Enter ⏎|insert empty line| If you press DEL at the end of a line, the previous line will be merged with the current one. ====== Search ====== Press CTRL+s to search, the editor will ask you to enter the text to search: ┌─────────────────────────────────────────────────────────┐ │ YOUR TEXT IS │ ~ HERE ~ ~ ~ ~ ~ │ │ │ Search:▊────────────────────────────────────────────── │ │ [D:filename.ext] 00000: 00000:00000 [00] 00:00 * │ └─────────────────────────────────────────────────────────┘ After the search character or string is input and Enter ⏎ is pressed, the search will be performed from the beginning to the end of the text. If the match is found, it will be located at the top of the screen. To continue searching using the same pattern press CTRL+q. ====== Exit and write file ====== Pressing the ESC key will display the output or exiting options: ┌─────────────────────────────────────────────────────────┐ │ YOUR TEXT IS │ ~ HERE ~ ~ ~ ~ ~ │ │ │ ────────────────────────────────────────────────────── │ │ [D:filename.ext] Select: [S]ave [Q]uit [ESC]-continue │ └─────────────────────────────────────────────────────────┘ To save current text into a file, press s, and the cursor will go to the filename editing field. Type the desired name and press Enter ⏎. The file will be saved with the specified name. __//Note://__ \\ File name editing will ignore certain keys: INS, DEL, BS \\ The corrections are made by Space and cursor keys and . To exit the editor, press the q key. To quickly exit the editor and save the currently edited file, press the F10 key. __//Note://__ \\ When exiting with F10, there is no request to save the file and to confirm exiting the editor. ====== Notifications and error messages ====== When there's not enough memory to edit the opened text file, the following message is displayed: Buffer full In this case only the partially loaded file can be edited after pressing any key. And only a part of the file will be saved, so it's advised to choose a different name when saving the edited file. __//Note://__ \\ When the buffer is full, further editing will not be possible! In case of disk errors, the editor displays the following message: Disk I/O error: ([A]bort,[R]etry,[I]gnore) Using ''Abort'' will return to the editing mode. You can also retry saving or loading the file by selecting ''Retry''. Using ''Ingore'' will ignore the error, but may lead to corrupted file being saved or loaded. __//Note for the experienced programmers://__ \\ The editor disconnects the classroom network (if there is one) and sets (38h):=0C9h; upon exit. Network is not enabled upon exit and the 38h vector is not restored. 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 running the editor on the computers with several mappers: * MYSTERY-soft * K&K Co. * Kamil Karimov (Caro) * [RBSC] Wierzbowsky * [RBSC] GreyWolf ====== Ссылки ====== [[msxorg>forum/msx-на-русском/софт/нормальный-текстовый-редактор-под-nextormsx-dos-2| Нормальный текстовый редактор под Nextor(MSX-DOS 2) ]] {{tag>MSX-en RBSC-en}}