Download ZXMatrix manual
Transcript
VT52-compatible windows VT52-compatible windows behave very differently from +3e-compatible windows, and are most useful for applications such as CP/M and internet console applications. They do not support line input (INKEY$# and INPUT # are allowed, but are implemented as non-echoed character input) or non-ASCII characters (such as the Spectrum tokens and graphics characters). By default, these windows operate in a "non-wrapping" mode (when the end of a line is reached, text does not wrap automatically to the next line unless CR and LF codes are issued) and with a visible cursor, although these modes can be changed. The full list of control codes supported is as follows (other control codes are ignored): 7 (BEL) 8 (BS) 10 (LF) 13 (CR) Sounds a beep. Moves the cursor 1 character to the left and replaces the character under the cursor with a space. If wrapping is enabled and the cursor is already at the left, it moves to the rightmost position of the previous line (unless it is already on the top line). Moves the cursor down 1 line, scrolling the window up if necessary. Moves the cursor to the leftmost column of the current line. 27 (ESC) Introduces an escape sequence or a literal character. The following escape sequences are interpreted. If an ESC character is followed by any character other than those in this list, then that character is output as a literal (without any further interpretation) directly to the window, and the escape sequence is terminated. ESC A ESC B ESC C ESC D ESC E ESC H ESC I ESC J Moves the cursor up. If the cursor is already on the top row, it has no effect. Moves the cursor down. If the cursor is already on the bottom row, it has no effect. Moves the cursor right. If the cursor is already in the rightmost column, it has no effect. Moves the cursor left. If the cursor is already in the leftmost column, it has no effect. Clears the window. The cursor position is not affected. Homes the cursor (ie moves the cursor to row 0, column 0). (Reverse index). Moves the cursor up 1 line, scrolling the window down if necessary. Erases all characters from the cursor (including the character under the cursor) to the end of the window. The cursor position is not affected. ESC K ESC L Erases all characters from the cursor (including the character under the cursor) to the end of the line. The cursor position is not affected. Inserts a line. The row with the cursor on it and all rows below are scrolled down 1 line. The cursor row is cleared. The cursor position is not affected. ESC M ESC N Deletes the row with the cursor on it. All rows below are scrolled up 1 line. The bottom row is cleared. The cursor position is not affected. Deletes the character under the cursor. All characters to the right of the cursor are moved 1 column to the left. The character at the end of the row is cleared. The cursor position is not affected. ESC Y r c 28