Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Dirk Munk <munk@home.nl>
Subject: Re: help needed - text formating
Date: 1999/11/20	[thread overview]
Message-ID: <383719D8.86685EAB@home.nl> (raw)
In-Reply-To: 3835C13F.346AC74D@merlin.arc.nasa.gov



"Arthur E. Ragosta" wrote:
> 
> Guy Lifshitz wrote:
> 
> > Hello experts.
> > I have a question about vms text control/format symbols (like
> > positioning, size, appearance and so).
> > I've noticed that they're starting with a symbol like ? backwards and
> > contains numbers, letters and another chars.
> > Could someone tell me where can i find a list of these symbols and some

I recently rescued a VT330/V340 manual from the dustbin, so I'm glad I
have a list. A long, long time ago every VT terminal came with half a
bookshelf of documentation, including Programmer Reference Manuals etc.,
and so did DEC printers. These days you only find a multi-language
manual telling you how lucky you are that you bought that product, how
to connect the power cord, and warning you not to hold it under water or
so because that might harm you. 

I recently requested Compaq to publish a list of Escape sequences on
their web site (in pdf maybe ?), because it is rather essential
information for programmers. 


> 
> Here's some more
> 
> $ !  Define VT-100 escape sequences
> $ ESC[0,32] = %X1B
> $ BEL[0,32] = %X7
> $ CSI = ESC + "["

The function of CSI and ESC + "[" is the same, but actually CSI is one
character and has ASCII value 155 (decimal).

> $ !
> $ BOLD    = CSI + "1m"
> $ UNBOLD  = CSI + "22m"
> $ BLINK   = CSI + "5m"
> $ UNBLINK = CSI + "25m"
> $ REV     = CSI + "7m"
> $ UNREV   = CSI + "27m"
> $ RESET   = CSI + "0m"
> $ HOME    = CSI + "1;1H"
> $ !
> $ TOP     = ESC + "#3"                  ! Top half of big letters
> $ BOTTOM  = ESC + "#4"                  ! Bottom half of big letters
> $ CLEAR   = CSI + "2J" + CSI + "00H"
> $ C132    = CSI + "?3h"
> $ C80     = CSI + "?3l"
> $ GRAPHICS= ESC + "(0"                  ! Enter line graphics mode

Cursor positioning:

CSI + P + line + ; + P + column + H (or f)	! position on the screen
CSI + P + n + C					! jump n columns to the right
CSI + P + n + D					! jump n columns to the left
CSI + P + n + A					! jump n columns up
CSI + P + N + B					! jump n columns down

There are so many codes that it is impossible to list them here, the
programmer manual has more than 300 pages ......



      reply	other threads:[~1999-11-20  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-19  5:00 help needed - text formating Guy Lifshitz
1999-11-19  5:00 ` Arthur E. Ragosta
1999-11-20  5:00   ` Dirk Munk [this message]
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