rsingh1@dahlia.waterloo.edu (12/11/89)
EAT ME Hello everybody. Could someone point give me a few interesting VT102 + beyond codes that I could incorporate into a program I'm writing? It would be interesting to support effects like double-height, double width, blink, and any other interesting effects. Graphic characters would be fun to support. A small summary of 'neat' things would be very fun. Preferably for Vt102 I guess. Thanks /Paul Anton Sop (Esquire?). rsingh1@dahila.waterloo.edu/ /Graphic Designer 4 Spaghetti Western Words and Images / /100 Kinzie Ave, Kitchener, Ontario, Canada, N2A 2J5 / /(519) 578-8525/742-0372 (if seriously really desparate)/
sherwin@video.dec.com (JIM SHERWIN) (12/14/89)
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
jrl@images.Waterloo.NCR.COM (john Latala) (12/16/89)
In article <6863@shlump.nac.dec.com> sherwin@video.dec.com (JIM SHERWIN) writes: ... > 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. ... A faster way to get a <ESC> while in EDT it to hit the ESC key twice. At least this works on our VAX/VMS system under EDT. I don't remember whether it works in the TPU EDT emulator or not. You can also use the SPECINS command sequence under EDT. It's been a while, I think the character sequence was in decimal wasn't it. If that's true then doing <GOLD> '2' '7' SPECINS should do it. Check SPECINS to make sure (I'm on UNIX right now, not the VMS system). -- john.Latala@Waterloo.NCR.COM