Looking for VT-100 escape sequences listing.

Looking for VT-100 escape sequences listing.

Post by Jeffrey Wiegl » Sat, 06 Jun 1992 08:46:34



Hello,  I'm in the middle of a small personal project and I need to know
what all the escape codes for the Digital VT-100 terminal are so that I can
catch those and emulate the effects on my PC (can you guess I'm building a
communications package?)

Anyways, I'm sure the complete listing of VT100 codes is documented and is
available in public domain via FTP but I don't know what the name of such a
file would be.

Could somebody please tell me where to find this information?

Thanks o'bunch

 
 
 

Looking for VT-100 escape sequences listing.

Post by Devine, William Charl » Sat, 06 Jun 1992 23:01:00


   I know you've probably gotten many of these requests but
when you get the file (or the address) could you please forward it
my way.  I'm looking for something like that to make some animation
files. and they're difficult to find..i have a couple (2) but that's it
i can clear the screen and the other screws up your characters on a vt100.
that last one crashes my home computers comm program but works on the
vt100, on the mac it just ignores it.
see ya
                   WD

 
 
 

Looking for VT-100 escape sequences listing.

Post by Apprentice Wizard Wanna » Sun, 07 Jun 1992 02:57:27



Quote:

>   I know you've probably gotten many of these requests but
>when you get the file (or the address) could you please forward it
>my way.  I'm looking for something like that to make some animation
>files. and they're difficult to find..i have a couple (2) but that's it
>i can clear the screen and the other screws up your characters on a vt100.
>that last one crashes my home computers comm program but works on the
>vt100, on the mac it just ignores it.
>see ya
>                   WD

of all places...
watson.cc.columbia.edu

/kermit/test/vt100.dem

Ths will have more escape codes than you'll ever need...

 
 
 

Looking for VT-100 escape sequences listing.

Post by Devine, William Charl » Sun, 07 Jun 1992 06:10:00



>Hello,  I'm in the middle of a small personal project and I need to know
>what all the escape codes for the Digital VT-100 terminal are so that I can
>catch those and emulate the effects on my PC (can you guess I'm building a
>communications package?)

>Anyways, I'm sure the complete listing of VT100 codes is documented and is
>available in public domain via FTP but I don't know what the name of such a
>file would be.

>Could somebody please tell me where to find this information?

>Thanks o'bunch

  ok, i finally found one.

it's called a torture test for vt100's and it does about everything
and even documents itself on the screen.

It's at the ftp site.....irisa.irisa.fr

and in the subdirectory  /pub/vt100

it's called torturetest.vt

there are also many others available from there.

see ya
                                Whiz Kid
---------------------------------------------------------------------

---------------------------------------------------------------------

 
 
 

Looking for VT-100 escape sequences listing.

Post by Jeffrey Wiegl » Sun, 07 Jun 1992 07:24:58


regarding:

Quote:>watson.cc.columbia.edu

>/kermit/test/vt100.dem

>Ths will have more escape codes than you'll ever need...

and torturetest.vt from a french site...

NoNoNoNoNo.  I want a LISTING of what escape sequences do what on a vt100,
not a list of escape sequences for a vt100.

I.E. something like...

    (ESC)[;H(ESC)[2J    will clear the screen and home the cursor
    etc, etc...

right now I'm working with termcap and /etc/termcap but its a little
cryptic to figure out.  I wish I could get my hands on a DEC vt100 terminal
manual that is more like what I want.

thanks,


 
 
 

Looking for VT-100 escape sequences listing.

Post by j.. » Sun, 07 Jun 1992 09:07:26



> regarding:
>>watson.cc.columbia.edu

>>/kermit/test/vt100.dem

>>Ths will have more escape codes than you'll ever need...

> and torturetest.vt from a french site...

> NoNoNoNoNo.  I want a LISTING of what escape sequences do what on a vt100,
> not a list of escape sequences for a vt100.

> I.E. something like...

>     (ESC)[;H(ESC)[2J    will clear the screen and home the cursor
>     etc, etc...

> right now I'm working with termcap and /etc/termcap but its a little
> cryptic to figure out.  I wish I could get my hands on a DEC vt100 terminal
> manual that is more like what I want.

> thanks,



---------------------
        Ok, ok! Here's a pair of answers. One, buy the paper bound book
"Using MS-DOS Kermit", Digital Press and Prentice Hall, about $35. Or,
anonymous ftp to watsun.cc.columbia.edu, cd kermit/a (MS-DOS Kermit is
there) and get files MSVIBM.VT and MSVIBM.TEK. These list all the escape,
control, and device control sequences used in MS-DOS Kermit, for the text
and then the graphics emulators.  The same file appears in much nicer format
in the book, together with character set tables. These two files are updated
with each release of MSK. Not only do you get VT100 but it goes through
VT320's and half way through VT340's.
        Happy weekend reading,
        Joe D.
 
 
 

Looking for VT-100 escape sequences listing.

Post by Karl Klei » Wed, 10 Jun 1992 01:38:38


Try to get a copy of the "Terminals and Printer Handbook" from DEC.
It has a number of appendices which cover the various terminal models
and their escape sequences. Sorry, mine is not at hand, so I can't quote
any order number (it's one of those handy pocket books that I got on a
complimentary basis).

The VT100 escape sequences follow the ANSI X3.64 standard, which you
can order from ANSI (212 - 642 4900), resp. your national standards body.

--

FZI Forschungszentrum Informatik                        phone +49-721-9654-950
Haid-und-Neu-Str. 10-14, D-7500 Karlsruhe, Germany      fax   +49-721-9654-959

 
 
 

Looking for VT-100 escape sequences listing.

Post by Richard Shufo » Tue, 09 Jun 1992 11:11:28




Quote:

>... I want a LISTING of what escape sequences do what on a vt100...

>I.E. something like...

>    (ESC)[H(ESC)[2J    will clear the screen and home the cursor
>    etc, etc...

The DEC VT100 terminals obey a subset of the control sequences defined
in the standard ANSI X3.64.

Until the next Great Disk Space Crunch, a file containing a summary of
the control codes of the ANSI standard "X3.64 -- Additional Controls for
Use with the American National Standard for Information Interchange"
is available for anonymous FTP from the host CS.UTK.EDU  (128.169.201.1).

The file is:

    pub/shuford/ansi_x3_64.txt

There is a companion ASCII table:

    pub/shuford/ascii_table.txt

If you really want to understand all the codes, you'll still need to
read the full standard, but perhaps this will help you get started.

There is other information of potential interest in this directory,
gleaned from various network postings, certain archive sites, and
things various people have sent me.  The information is by no means
exhaustive, but perhaps it may help you get started.

    pub/shuford/villanova-vt100-esc-codes.txt
    pub/shuford/vt100.dem.Z                         (compressed)
    pub/shuford/vt100.setup
    pub/shuford/iowa_vt100.news
    pub/shuford/comp.terminals.faq
    pub/shuford/regis.news
    pub/shuford/all-about-sixels.txt
    pub/shuford/private_control.news
    pub/shuford/televideo.news
    pub/shuford/televideo_codes.news
    pub/shuford/dec_la50_dips.txt
    pub/shuford/wyse_termcap.news.Z                 (compressed)

While we are at it, there is also a file for setting up an X window
keyboard into the efficient Dvorak layout.

    pub/shuford/xdvorak.tar.Z                       (compressed)

--
 ....Richard S. Shuford                 | "Better a little with righteousness


 
 
 

Looking for VT-100 escape sequences listing.

Post by Simon Ch » Sun, 07 Jun 1992 16:43:38


j...@cc.usu.edu writes:
>In article <l2vqdqINN...@phakt.usc.edu>, wieg...@phakt.usc.edu (Jeffrey Wiegley) writes:
>> regarding:
>>>watson.cc.columbia.edu

>>>/kermit/test/vt100.dem

>>>Ths will have more escape codes than you'll ever need...

>> and torturetest.vt from a french site...

>> NoNoNoNoNo.  I want a LISTING of what escape sequences do what on a vt100,
>> not a list of escape sequences for a vt100.

>> I.E. something like...

>>     (ESC)[;H(ESC)[2J    will clear the screen and home the cursor
>>     etc, etc...

>> right now I'm working with termcap and /etc/termcap but its a little
>> cryptic to figure out.  I wish I could get my hands on a DEC vt100 terminal
>> manual that is more like what I want.

>> thanks,

>> - Jeff    wieg...@usc.edu
>---------------------
>    Ok, ok! Here's a pair of answers. One, buy the paper bound book
>"Using MS-DOS Kermit", Digital Press and Prentice Hall, about $35. Or,
>anonymous ftp to watsun.cc.columbia.edu, cd kermit/a (MS-DOS Kermit is
>there) and get files MSVIBM.VT and MSVIBM.TEK. These list all the escape,
>control, and device control sequences used in MS-DOS Kermit, for the text
>and then the graphics emulators.  The same file appears in much nicer format
>in the book, together with character set tables. These two files are updated
>with each release of MSK. Not only do you get VT100 but it goes through
>VT320's and half way through VT340's.
>    Happy weekend reading,
>    Joe D.

        I have two working VT100 at home.(Please don't laugh...I paid $25 each)
And I do have a copy of the original VT100 USER GUIDE (digital) as well
as the VT100 PROGRAMMING REFERENCE CARD. And at the last page of the user
guide:-

        Additional copies of this document are available from:
        Digital Equipment Corporation
        Accessories and Supplies Group
        Cotton Road
        Nashua, NH 03060
        Attention:      Documentation Products
        Telephone:      1-800-258-1710
        Order No.       EK-VT100-UG-002

        I guess they should be able to get you a copy or two?! Afterall, DEC
_DID_ support VT100 on their DECstations. Right?! Maybe they will put the
VT100 on the list of supported terminals on their Alpha box too! :) :) :)

But in the mean time, hope this would help!!!

Simon Chan                                  c...@ece.scarolina.edu
Department of Electrical & Computer Engineering
Swearingen Engineering Centre
University of South Carolina
Columbia, South Carolina 29208

PS. Of course I don't speak for them, I don't even work for them...

-------------------------------<Cut Here>--------------------------------------
Taken from VT100 Programming Reference Card (DIGITAL)

ANSI Compatible Mode

        Cursor Movement Commands
                Cursor up                       ESC [ Pn A
                Cursor down                     ESC [ Pn B
                Cursor forward (right)          ESC [ Pn C
                Cursor backward (left)          ESC [ Pn D
                Direct cursor addressing        ESC [ Pl; Pc H  or
                                                ESC [ Pl; Pc f
                Index                           ESC D
                Next Line                       ESC E
                Reverse index                   ESC M
                Save cursor and attributes      ESC 7
                Restore cursor and attributes   ESC B
                * Pn = decimal parameter in string of ASCII digits.(default 1)
                * Pl = line number (default 0); Pc = column number (default 0)

        Line Size (Double-Height and Double-Width) Commands
                Change this line to double-height top half      ESC # 3
                Change this line to double-height bottom half   ESC # 4
                Change this line to single-width single-height  ESC # 5
                Change this line to double-width single-height  ESC # 6

        Character Attributes
                ESC [ Ps;Ps;Ps;...,Ps m
                Ps =    0 or None       All Attributes Off
                        1               Bold on
                        4               Underscore on
                        5               Blink on
                        7               Reverse video on
                Any other parameter values are ignored.

        Erasing
                From cursor to end of line              ESC [ K  or ESC [ O K
                From beginning of line to cursor        ESC [ 1 K
                Entire line containing cursor           ESC [ 2 K
                From cursor to end of screen            ESC [ J  or ESC [ O J
                From beginning of screen to cursor      ESC [ 1 J
                Entire screen                           ESC [ 2 J

        Programmable LEDs
                ESC [ Ps;Ps;...Ps q
                Ps =    0 or None       All LEDs Off
                        1               L1 on
                        2               L2 on
                        3               L3 on
                        4               L4 on
                Any other parameter values are ignored.

        Character Set (G0 and G1 Designators)
                Charactor Set                   G0 Designator   G1 Designator
                United Kingdom (UK)             ESC ( A         ESC ) A
                United States (USASCII)         ESC ( B         ESC ) B
                Special graphics characters     ESC ( 0         ESC ) 0
                 and line drawing set
                Alternate character ROM         ESC ( 1         ESC ) 1
                Alternate character ROM         ESC ( 2         ESC ) 2
                 special graphics characters

        Scrolling Region
                ESC [ Pt ; Pb r
                Pt is the number of the top line of the scrolling region;
                Pb is the number of the bottom line of the scrolling region
                and must be greater than  Pt.

        TAB stops
                Set tab at current column               ESC H
                Clear tab at curent column              ESC [ g or ESC [ 0 g
                Clear all tabs                          ESC [ 3 g

        Modes
                                  To Set                To Reset
        Mode Name            Mode        Sequence   Mode        Sequence
        Line feed/new line   New line    ESC [20h   Line feed   ESC [20l
        Cursor key mode      Application ESC [?1h   Cursor      ESC [?l
        ANSI/VT52 mode       ANSI        N/A        VT52        ESC [?2l
        Column mode          132 Col     ESC [?3h   80 Col      ESC [?3l
        Scrolling mode       Smooth      ESC [?4h   Jump        ESC [?4l
        Screen mode          Reverse     ESC [?5h   Normal      ESC [?5l
        Origin mode          Relative    ESC [?6h   Absolute    ESC [?6l
        Wraparound           On          ESC [?7h   Off         ESC [?7l
        Auto repeat          On          ESC [?8h   Off         ESC [?8l
        Interlace            On          ESC [?9h   Off         ESC [?9l
        Graphic proc. option On          ESC 1      Off         ESC 2
        Keypad mode          Application ESC =      Numeric     ESC >

        Reports
                Cursor Position Report
                Invoked by                      ESC [ 6 n
                Response is                     ESC [ Pl; Pc R
                * Pl = line number; Pc = column number

        Status Report
                Invoked by                      ESC [ 5 n
                Response is                     ESC [ 0 n  (terminal ok)
                                                ESC [ 3 n  (terminal not ok)

        What Are You
                Invoked by                      ESC [ c  or  ESC [ O c
                Response is                     ESC [ ?1 ; Ps C
                Ps =    0       Base VT100, no options
                        1       Processor option (STP)
                        2       Advanced Video option (AVO)
                        3       AVO and STP
                        4       Graphocs processor option (GO)
                        5       GO and STP
                        6       GO and AVO
                        7       GO, STP, and AVO
        Alternately invoked by ESC Z (not recommended.) Response is the same.

        Reset
                ESC c

        Confidence Tests
        Fill Screen with "Es"         ESC # 8
        Invoke Test(s)                  ESC [ 2 ; Ps y
        Ps =    1                               Power-up self test
                                                (ROM checksum, RAM, NVR,
                                                keyboard and AVO if installed)
                2(loop back connector required) Data Loop Back
                4(loop back connector required) ETA Modern Control Test
                8                               Repeat selected test(s)
                                                indefinitely
                                                (until failure or power off)

VT52 Compatible Mode
        Cursor Up                               ESC A
        Cursor Down                             ESC B
        Cursor Right                            ESC C
        Cursor Left                             ESC D
        Select Special Graphics character set   ESC F
        Select ASCII character set              ESC G
        Cursor to home                          ESC H
        Reverse line feed                       ESC I
        Erase to end of screen                  ESC J
        Erase to end of line                    ESC K
        Direct cursor address                   ESC Ylc         (see note 1)
        Identify                                ESC Z           (see note 2)
        Enter alternate keypad mode             ESC =
        Exit alternate keypad mode              ESC >
        Enter ANSI mode                         ESC <

        NOTE 1: Line and column numbers for direct cursor address are single
                character codes whose values are the desired number plus
                37 (in Octal). Line and column numbers start at 1.
        NOTE 2: Response to ESC Z is ESC / Z.

 
 
 

Looking for VT-100 escape sequences listing.

Post by br.. » Tue, 09 Jun 1992 21:15:26




>>> regarding:

>>> NoNoNoNoNo.  I want a LISTING of what escape sequences do what on a vt100,
>>> not a list of escape sequences for a vt100.

>>> I.E. something like...

>>>     (ESC)[;H(ESC)[2J    will clear the screen and home the cursor
>>>     etc, etc...

> Taken from VT100 Programming Reference Card (DIGITAL)

Typing in all these ANSI escape sequences is a bit of a chore (which is
why I didn't do it even though I have all the DEC documentation from
their latest terminals).  It's a great public service & I'm sure there
are a lot of people on the net who will appreciate it.  But there are
a couple of typos in your list:

Quote:>            Save cursor and attributes      ESC 7
>            Restore cursor and attributes   ESC B

Restore cursor and attributes is ESC 8, not ESC B.  The attributes
saved and restored are the position, video attribute modes (reverse
video, etc), origin mode, character sets (G0, G1, etc), & wrap flag.
On VT220's and above, it also saves the selective erase attribute &
the single shift 2 or single shift 3 (SS2 or SS3) state.

Quote:>            From cursor to end of line              ESC [ K  or ESC [ O K
>            From beginning of line to cursor        ESC [ 1 K
>            Entire line containing cursor           ESC [ 2 K
>            From cursor to end of screen            ESC [ J  or ESC [ O J
>            From beginning of screen to cursor      ESC [ 1 J
>            Entire screen                           ESC [ 2 J

The ones given here as ESC [ O K and ESC [ O J should be ESC [ 0 K
and ESC [ 0 J (number zero, not letter "O").

Quote:>    Programmable LEDs
>            ESC [ Ps;Ps;...Ps q
>            Ps =    0 or None       All LEDs Off
>                    1               L1 on
>                    2               L2 on
>                    3               L3 on
>                    4               L4 on
>            Any other parameter values are ignored.

Note that the programmable LED's are not supported on DEC terminals
above the VT100 family.

Quote:>    Character Set (G0 and G1 Designators)

Use these with the ASCII characters Shift In/Shift out (SI/SO, hex
0f and 0e respectively).

Quote:>    Scrolling Region
>            ESC [ Pt ; Pb r
>            Pt is the number of the top line of the scrolling region;
>            Pb is the number of the bottom line of the scrolling region
>            and must be greater than  Pt.

The default for pt is line 1, the default for pb is the end of the
screen.

NOTE:   Most of the escape sequences have defaults for the parameters,
        if the values are outside the range or omitted.  The action is
        not necessarily the same for out-of-range parameters and for
        omitted parameters, but it is usually not `the sequence is
        ignored'.  For example, in the cursor position sequence, the
        default for the row and the column is 1, if either or both of
        these is 0 or omitted.  But if either one of them is greater
        than the number of rows or columns, then the cursor moves to
        the last row or column (as appropriate).  Likewise for the Set
        Scrolling Region sequence;  if the row and column are omitted
        then the effect is to set the entire screen to be one scrolling
        region, NOT!!! as some emulators implement it, to ignore the
        sequence or, worse, to set it to a 1-line scrolling region (!!!).

One minor pet peeve.  An awful lot of the VTxxx emulators out there don't
really emulate a VT100 very well - this includes a lot (probably _most_)
of the commercial products.  I know that it can be tricky to get all the
little details right - I've written them myself, but I _do_ wish that
anyone who is writing one of these things would get hold of some copies
of the VTxxx torture test/demo files and try running them through their
emulators.  You may be surprised at how poorly a lot of the emulators out
there handle the little details ... some of them are so bad that they are
not really useable as VT100 emulators;  they are more of a satire on a
VT100 than a real emulator.

Bruce C. Wright

 
 
 

Looking for VT-100 escape sequences listing.

Post by Mark Barte » Wed, 10 Jun 1992 03:32:35


[ Karl Kleine ]

| Try to get a copy of the "Terminals and Printer Handbook" from DEC.
| It has a number of appendices which cover the various terminal models
| and their escape sequences.

Various people have suggested this and a number of other sources for the
information.  What I'd really like to see, though, is a list of all the
*undocumented* escape sequences, and what they do.  I recall that there
are several which will make various flavours of VT10x terminals do some
truly bizarre things.

Mark Bartelt                                                416/978-5619


"Clothes not busy being worn are busy drying."  -  Dylan, on laundry day

 
 
 

Looking for VT-100 escape sequences listing.

Post by Kurt Wampl » Thu, 11 Jun 1992 06:03:55


Great piece of work keying in the VT100 programming card!  I did a cursory
(forgive the pun) proof-reading of the card and found the errors mentioned
in another posting, along with a couple of others.  I also added the keypad
escape codes -- so here are the diffs between my corrected version and the
original posting:

<               Restore cursor and attributes   ESC B  (typo on DEC's card!)
---

Quote:>               Restore cursor and attributes   ESC 8

<               From cursor to end of line              ESC [ K  or ESC [ O K
---

Quote:>               From cursor to end of line              ESC [ K  or ESC [ 0 K

<               From cursor to end of screen            ESC [ J  or ESC [ O J
---

Quote:>               From cursor to end of screen            ESC [ J  or ESC [ 0 J

<       Cursor key mode      Application ESC [?1h   Cursor      ESC [?l
---

Quote:>       Cursor key mode      Application ESC [?1h   Cursor      ESC [?1l

<               Invoked by                      ESC [ c  or  ESC [ O c
---
Quote:>               Invoked by                      ESC [ c  or  ESC [ 0 c

> Auxiliary Keypad Codes

>                 VT52            VT52            ANSI            ANSI
>                 Numeric         Application     Numeric         Application
> Key             Mode            Mode            Mode            Mode
> 0               0               ESC ? p         0               ESC O p
> 1               1               ESC ? q         1               ESC O q
> 2               2               ESC ? r         2               ESC O r
> 3               3               ESC ? s         3               ESC O s
> 4               4               ESC ? t         4               ESC O t
> 5               5               ESC ? u         5               ESC O u
> 6               6               ESC ? v         6               ESC O v
> 7               7               ESC ? w         7               ESC O w
> 8               8               ESC ? x         8               ESC O x
> 9               9               ESC ? y         9               ESC O y
> KP-             KP-             ESC ? m         KP-             ESC O m
> KP,             KP,             ESC ? l         KP,             ESC O l
> KP.             KP.             ESC ? n         KP.             ESC O n
> ENTER           Same as RETURN  ESC ? M         Same as RETURN  ESC O M
> PF1             ESC P           ESC P           ESC O P         ESC O P
> PF2             ESC Q           ESC Q           ESC O Q         ESC O Q
> PF3             ESC R           ESC R           ESC O R         ESC O R
> PF4             ESC S           ESC S           ESC O S         ESC O S

 
 
 

1. Escape sequences for VT-100 wanted.. (Undocumented ones!)

I'm looking for a list of escape-sequences (or control-sequences) used
to do fancy things on a vt100 terminal. Any hint where to get them?.


Any help will be appreciated!.

--- Ricky Marek.
BTW, the /etc/termcap file doesn't contain all escape-seq.

2. any busy beaver news?

3. NEED VT-100, VT-220 and VT-320 keyboard/escape code mapping

4. HP Deskjet 870CXi

5. VT Escape sequences

6. OEM Disk whines

7. VT-100 terminals

8. Definition of Dynamic Range?

9. FS- DEC PRO 350 (PDP-11) w/ VT-100 and LA-50

10. HELP for "Transmit Device Attributes" for VT-100

11. NEED INFO: Selanar VT-100 graphics board

12. File Capture of VT-100 Terminal Session

13. Info needed on "proper" vt-100 emulation...