Инструменты пользователя

Инструменты сайта


msx:ted_mysterysoft:ted_mysterysoft-en

Это старая версия документа!


TED: Text editor для MSX from MYSTERY-soft

Русская версия документации находится здесь.

The TED editor is a text window editor with a simplified interface, which has the capabilities sufficient to create program texts.

ted.zip

Editor's call:

TED filename.ext

if there is no file name, a message appears:

 Tiny Editor v1.61 (C) MYSTERY-soft
Use:TED filename

When you enter the editor, you will see:

┌─────────────────────────────────────────────────────────┐
│                     YOUR TEXT IS                        │
~                         HERE                            ~
~                                                         ~
~                                                         ~
│                                                         │
│  ────────────────────────────────────────────────────── │
│  [D:filename.ext]  00000: 00000:00000 [00] 00:00 *      │
└─────────────────────▲───────▲───────▲───▲──▲──▲──▲──────┘
                      │       │       │   │  │  │  │
The number of lines───┤       │       │   │  │  │  └─ Text change flag
     in the text ─────┘       │       │   │  │  │
                              │       │   │  │  │
                              │       │   │  │  │
   The amount of free ────────┤       │   │  │  │
     space in bytes   ────────┘       │   │  │  └─ Y–coordinate in the window
                                      │   │  │
  Line number relative to the beginning   │  └── Х–coordinate in the window
             of the text                  │
                                          │
          Current character code ─────────┘
              (hexadecimal)             

Remarks:

  • Numbering of lines and characters 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

, , , moving along lines and characters respectively
CTRL+, CTRL+paging
CTRL+, CTRL+move by words
CTRL+Vmove to beginning of text
SHIFT+CTRL+Vmove to end of text

Editing

Editing is carried out using the keys:

DELdelete current character
BSdelete character to the left of the cursor
INSinsert mode (on/off)
CTRL+DEL
or
CTRL+K
delete line
CTRL+INSline insert
CTRL+Edelete the line to the right of the cursor
CTRL+Enterline 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.

Search

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.

Выход и запись файла

При нажатии клавиши ESC появится:

┌─────────────────────────────────────────────────────────┐
│                     YOUR TEXT IS                        │
~                         HERE                            ~
~                                                         ~
~                                                         ~
│                                                         │
│  ────────────────────────────────────────────────────── │
│  [D:filename.ext]  Select: [S]ave [Q]uit [ESC]-continue │
└─────────────────────────────────────────────────────────┘

Для записи файла необходимо нажать S, при этом курсор перейдет в поле редактирования имени файла. После нажатия Ввод происходит запись файла.

Замечание:
В поле имени файла не работает редактирование (т.е. клавиши INS, DEL, BS)
Исправления вносятся пробелом и стрелками и .

Выход из редактора осуществляется нажатием клавиши Q.

Выход из редактора с записью осуществляется по нажатию клавиши F10.

Замечание:
При выходе нет запроса на запись и подтверждение выхода.

Сообщения и ошибки

При переполнении буфера в режиме загрузки файла выдается сообщение:

Buffer full

и ожидается нажатие любой клавиши, после чего происходит переход в режим редактирования с частью текста, которая поместилась в буфере.

Замечание:
При полностью заполненном буфере вставка символов и строк не происходит!

В случае ошибок обмена с диском редактор выдает сообщение:

Disk I/O error: ([A]bort,[R]etry,[I]gnore)

ответная реакция на него, как в dos. (только по Abort — возврат в режим редактирования).

Замечание для системного программиста:
Редактор отключает сеть (если она есть) и устанавливает (38h):=0C9h, при выходе эти состояния сохраняются.

MYSTERY-soft wishes you a pleasant work !!!


We express our gratitude to all those who helped solve the problems of launching the editor on machines with several mappers, in particular this:

  • MYSTERY-soft
  • Kamil Karimov (Caro)
  • [RBSC] Wierzbowsky
  • [RBSC] GreyWolf

Ссылки

msx/ted_mysterysoft/ted_mysterysoft-en.1588749587.txt.gz · Последние изменения: 2020-05-06 10:19 — GreyWolf