Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Escape sequences for a DECterm
@ 1994-06-07  8:21 David Pape
  1994-06-07 12:56 ` heinzer
  1994-06-07 14:45 ` Stephen Hoffman
  0 siblings, 2 replies; 3+ messages in thread
From: David Pape @ 1994-06-07  8:21 UTC (permalink / raw)


Hi all,

I need a list of escape sequences for a DECterm. I looked around at the DEC
ftp site but found nothing. I know someone out there has a list (I saw it
about a year ago, but I thought then "Nah, I don't need that!").

Any help would be appreciated!

Thanks.
--
David Pape                               | "The people who own the country    |
pape@plato.Chemietechnik.Uni-Dortmund.DE |  ought to govern it"               |
Dortmund, Germany                        |  - John Jay                        |
tel: 49 231 7552682                      |  (signer of the U.S. Constitution) |


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Escape sequences for a DECterm
  1994-06-07  8:21 Escape sequences for a DECterm David Pape
@ 1994-06-07 12:56 ` heinzer
  1994-06-07 14:45 ` Stephen Hoffman
  1 sibling, 0 replies; 3+ messages in thread
From: heinzer @ 1994-06-07 12:56 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Escape sequences for a DECterm
  1994-06-07  8:21 Escape sequences for a DECterm David Pape
  1994-06-07 12:56 ` heinzer
@ 1994-06-07 14:45 ` Stephen Hoffman
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hoffman @ 1994-06-07 14:45 UTC (permalink / raw)



In article <2t1amh$lf8@unidoct.Chemietechnik.Uni-Dortmund.DE>, pape@plato.chemietechnik.uni-dortmund.de (David Pape) writes:

|>I need a list of escape sequences for a DECterm. I looked around at the DEC
|>ftp site but found nothing. I know someone out there has a list (I saw it
|>about a year ago, but I thought then "Nah, I don't need that!").

    The reason you didn't pull over that list of escape sequences :-) was
    that you realized you already had one: sys$system:smgterms.txt.

    If you want to build some device independence into your escape and
    control sequence processing, you can use the smg$get_term_data() call.

    (I am obviously assuming you are using OpenVMS here.  If you are using
    OSF/1 or ULTRIX, the smgterms.txt equivilent is the termcap database.)

-- 

  Steve Hoffman          hoffman@xdelta.enet.dec.com          EMT-Intermediate
   "I may work for Digital Equipment Corporation, but I don't speak for it."



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-06-07 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-07  8:21 Escape sequences for a DECterm David Pape
1994-06-07 12:56 ` heinzer
1994-06-07 14:45 ` Stephen Hoffman

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