Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!husc6!mit-eddie!genrad!decvax!decwrl!nsc!misha
From: misha@nsc.nsc.com (Michael Umansky)
Newsgroups: comp.os.minix
Subject: MINIX tty escape sequences
Message-ID: <4499@nsc.nsc.com>
Date: Thu, 16-Jul-87 17:29:58 EDT
Article-I.D.: nsc.4499
Posted: Thu Jul 16 17:29:58 1987
Date-Received: Sat, 18-Jul-87 08:52:51 EDT
Organization: National Semiconductor, Sunnyvale
Lines: 16

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.