Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: heinzer@4gl.enet.dec.com ()
Subject: Re: Escape sequences for a DECterm
Date: 7 Jun 1994 12:56:02 GMT	[thread overview]
Message-ID: <2t1qp2$co5@jac.zko.dec.com> (raw)
In-Reply-To: 2t1amh$lf8@unidoct.Chemietechnik.Uni-Dortmund.DE


Here's a "start" to what you may be looking for...

			--> Dieter <--


$! This is file ESC_SEQUENCES.COM
$!
$	ESC[0,7] == 27			! escape
$	NORMAL	:== "''ESC'[0m"		! no attributes
$	ERASCR	:== "''ESC'[2J"		! erase screen
$	BOLD	:== "''ESC'[1m"		! bold text
$	UNDER	:== "''ESC'[4m"		! underline text
$	BLINK	:== "''ESC'[5m"		! blink text
$	INVER	:== "''ESC'[7m"		! inverse video
$	DBL1	:== "''ESC'#3"		! double height top
$	DBL2	:== "''ESC'#4"		! double height bottom
$	SWSH	:== "''ESC'#5"		! single width single height
$	DWSH	:== "''ESC'#6"		! double width single height
$ !+
$ ! Set up erase controls.
$ !-          
$	ERASCR	:== "''ESC'[2J"		! erase screen
$	ERABOS	:== "''ESC'[1J"		! erase cursor to beginning of screen
$	ERAEOS	:== "''ESC'[0J"		! erase cursor to end of screen
$	ERALIN	:== "''ESC'[2K"		! erase current line
$	ERABOL	:== "''ESC'[1K"		! erase cursor to beginning of line
$	ERAEOL	:== "''ESC'[0K"		! erase cursor to end of line
$ !+
$ ! Set up cursor controls.
$ !-
$	CUH	:== "''ESC'[H"			! cursor home
$	CUU	:== "''ESC'[''num'A"		! cursor up
$	CUD	:== "''ESC'[''num'B"		! cursor down
$	CUR	:== "''ESC'[''num'C"		! cursor right
$	CUL	:== "''ESC'[''num'D"		! cursor left
$	CUP	:== "''ESC'[''row';''col'f"   	! cursor position
$	CURSAV	:== "''ESC'7"			! cursor save
$	CURRES	:== "''ESC'8"			! cursor restore
$	SCR	:== "''ESC'[''top';''bot'r"   	! scroll region
$	ORIMOD	:== "''ESC'[?6h"		! origin mode
$	RESMOD	:== "''ESC'[?6l"		! reset mode
$	SCRREV	:== "''ESC'[?5h"		! background inverse
$	SCRNOR	:== "''ESC'[?5l"		! background normal


  reply	other threads:[~1994-06-07 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-06-07  8:21 Escape sequences for a DECterm David Pape
1994-06-07 12:56 ` heinzer [this message]
1994-06-07 14:45 ` Stephen Hoffman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox