Path: 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 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 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 [?4h Smooth scroll [?4l Jump scroll [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 [?3h 132 columns per line [?3l 80 columns per line Character Attributes [0m Turns off all character attributes [1m Turns in bolding [4m Turns on underlining [5m Turns on blinking [7m Turns on reverse video Line Attributes #3 Top-half of double-height line #4 Bottom-half of double height line #5 Single-width line #6 Double-width line Printing [?5i Auto Print on ---\ Video & Hardcopy output [?4i Auto Print off ---/ simultaneously [5i Printer controller on ---\ Hardcopy output, only [4i printer controller off ---/ no Video Cursor Positioning A Moves up 1 line, same column --\ Stops at top or B Moves down 1 line, same column --/ bottom margin C Moves 1 column to the right --\ Stops at right D Moves 1 column to the left --/ or left margin H Cursor home There is an ESCAPE sequence for absolute cursor positioning. The manual lists it as 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 (B Designates the US character set G0 (0 Designates the special and line drawing character set as G0 (B Designates the US character set G1 (0 Designates the special and line drawing character set as G1 Shift In, Octal 017, Invokes the G0 Character set Shift Out, Octal 016, Invokes the G1 Character set