🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.terminals
Article #440

Re: Vt102 Double-Height and other codes requested

#440
From: JIM SHERWIN
Date: Wed, 13 Dec 1989 17:23
147 lines
4080 bytes
Response to:
article <19165@watdragon.waterloo.edu>, rsingh1@dahlia.waterloo.edu writes...




Paul,

If you are really interested in the VT102 ESCAPE sequences, you should
consider ordering the

	VT102 Programming Reference Card
	Part # EK-VT102-RC
	List Price $5 US$

	VT102 Video Terminal Users Guide
	Part # EK-VT102-UG
	List Price $63 US$

Your request was for "VT102 + beyond codes". The following publications
might be of interest.

	VT125 Users Guide
	Part # EK-VT125-UG
	List Price$ 63 US$

	VT125 Programming Reference Card
	Part # EK-VT125-RC
	List Price $5 US$

	VT220 Programmer Referrence Manual
	Part # EK-VT220-RM
	List Price $42 US$

	VT220 Programmer Pocket Guide
	Part # EK-VT220-HR
	List Price $21 US$

	VT240 Programmer Referrence Manual
	Part # EK-VT240-RM
	List Price $126 US$

	VT240 Programmer Pocket Guide
	Part # EK-VT240-HR
	List Price $21 US$

	VT320 Referrence Manual
	Part # EK-VT320-RM
	List Price $120 US$

	VT330/340 Referrence Manual
	Part # EK-VT3XX-RM
	List Price $unk US$

	VT330/340 Programmer Pocket Guide
	Part # EK-VT3xx-HR
	List Price $unk US$


The following ESCAPE sequences, came from the "VT102 Video Terminal
Users Guide". They should be upwardly compatible with other VT's.

Although I am not speaking in an official capacity for DEC, just to
cover all bases, the following ...

	"VT is a registered trademark of Digital Equipment Corporation,
	 Maynard, Massachusetts, USA"


	NOTE:	To create the <ESC> char, w/in EDT, hold the
		Control key down and strike the 3 key, twice.
		Use the 3 on the main keyboard, not the numeric
		key pad.

		Also, these ESCAPE sequences are case sensitive.

Scrolling

	<ESC>[?4h	Smooth scroll
	<ESC>[?4l	Jump scroll

	<ESC>[Pt;Pbr	Top and Bottom Margin,
			defining the scrolling region.
			Pt =	line number of the top line in the
				scrolling region
			Pb =	line number of the bottom line in the
				scrolling region

Screen Width

	<ESC>[?3h	132 columns per line
	<ESC>[?3l	 80 columns per line

Character Attributes

	<ESC>[0m	Turns off all character attributes
	<ESC>[1m	Turns in bolding
	<ESC>[4m	Turns on underlining
	<ESC>[5m	Turns on blinking
	<ESC>[7m	Turns on reverse video

Line Attributes

	<ESC>#3		Top-half of double-height line
	<ESC>#4		Bottom-half of double height line
	<ESC>#5		Single-width line
	<ESC>#6		Double-width line

Printing

	<ESC>[?5i	Auto Print on  ---\  Video & Hardcopy output
	<ESC>[?4i	Auto Print off ---/  simultaneously

	<ESC>[5i	Printer controller on  ---\  Hardcopy output, only
	<ESC>[4i	printer controller off ---/  no Video

Cursor Positioning

	<ESC>A		Moves up 1 line, same column   --\  Stops at top or
	<ESC>B		Moves down 1 line, same column --/  bottom margin

	<ESC>C		Moves 1 column to the right --\  Stops at right
	<ESC>D		Moves 1 column to the left  --/  or left margin

	<ESC>H		Cursor home

			There is an ESCAPE sequence for absolute cursor
			positioning. The manual lists it as

			<ESC>Ylc	Where l= line # and c= column.

			But there is no separator between l and c. Fiddle
			around with this using either a semi-colon (;) or
			a blank space.

Character Sets and Selection

	<ESC>(B		Designates the US character set G0
	<ESC>(0		Designates the special and line drawing
			character set as G0

	<ESC>(B		Designates the US character set G1
	<ESC>(0		Designates the special and line drawing
			character set as G1

	<SI>		Shift In, Octal 017, Invokes the G0 Character set
	<SO>		Shift Out, Octal 016, Invokes the G1 Character set
Technical Details
Message-ID: <6863@shlump.nac.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!lll-winken!decwrl!shlump.nac.dec.com!video.dec.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!lll-winken!decwrl!shlump.nac.dec.com!video.dec.com
From: sherwin@video.dec.com (JIM SHERWIN)
Newsgroups: comp.terminals
Subject: Re: Vt102 Double-Height and other codes requested
Message-ID: <6863@shlump.nac.dec.com>
Date: 13 Dec 89 17:23:58 GMT
Sender: newsdaemon@shlump.nac.dec.com
Distribution: na
Organization: Digital Equipment Corporation
Lines: 147