misha@nsc.nsc.com (Michael Umansky) (07/17/87)
In case someone doesn't know, the following are the only escape sequences that the ORIGINAL V1.1 MINIX tty driver understands to control the screen. ^K - cursor down (control K) ^L - cursor right (control L) ^H - cursor left (control H) Below, ^[ is the escape char (\033) and there are no spaces between characters of the escape sequence (spaces are used below for clarity only). ^[ 32+x 32+y Absolute cursor position (32 is in decimal) ^[ ~ 0 Clear to end of Screen ( ~ is literal char '~') ^[ ~ 1 Reverse scroll 1 line ( ~ is literal char '~') ^[ z A Set attribute to A ( z is literal char 'z') A is attribute as supported by CGA/MDA in text mode.