🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #1760

Re: Want info on VTnnn responses to ESC[c

#1760
From: Chuck Price
Date: Tue, 24 Jul 1990 21:34
73 lines
3434 bytes
In article <1990Jul24.102646.22766@gdr.bath.ac.uk>, exspes@gdr.bath.ac.uk (P E Smee) writes:

> I'm looking for something which will allow me to make sense of the
> various codes returned by VTnnn (nnn>=100) terminals when they are hit
> with a 'what are you' sequence.  E.g. ESC[?1;<n>c seems to indicate a
> VT100, where <n> is between 0 and 7 and (I hypothesize) somehow
> indicates the presence of optional features.  An emulator we've got
> which claims to look like a VT320 says ESC[?63;1;2;4;8;9;15c; another
> which claims to look like a VT200 says ESC[?62;1;2;6;8;9c.  Again, I
> hypothesize that the first number indicates type, and the trailing list
> indicates features.  Specific things I'm looking for are:
> 
> 1) How much of the string do I need to look at to determine the basic
> terminal model, and what value(s) correspond to what model.  (This
> would be enough info for my basic needs.)
> 
> 2) (Less important) Does the rest of the list indeed indicate
> subfeatures, and if so, which values indicate what features?  Do these
> values have the same, or similar, meanings across models?
> 
> Does anyone have this information in a form that could be emailed to
> me?  Or, is there some official 'summary' DEC document that I could
> order from DEC UK as an interested individual who doesn't have a
> customer account?  (I don't REALLY want a complete set of DEC
> VT-terminal manuals.)  For my purposes, info up to VT220 would be
> sufficient, as we don't have many higher numbers lying around.  Out of
> general curiosity, though, info on higher models would also be
> interesting if you've got it.

All the information you require is contained in a small manual entitled
VT330/VT340 Programmer Reference Manual (Vol 1: Text Programming). It's DEC
number is EK-VT3XX-TP-002. Your local sales office should be able to
help you get this.

In the mean time, here is what the message means:

The return value from a "who are you" sequence is of the form

   CSI ? Psc ; Ps1 ;  ... Psn c

Where CSI is the Control Sequence Initiator ( ESC [ ),

Psc is one of: (this is a subset of the full list, I believe)

  1  VT100 
  6  VT102
  12 VT125
  7   VT131
  62 VT200 series (220 or 240)
  63 VT300 series (330, 340...)
 

Ps1 - Psn indicate what options are available on the terminal, as follows:

	1	132 columns
	2	Printer port
	3	ReGIS graphics
	4	Sixel graphics
	6	Selective erase
	7	Soft character set (DRCS)
	8	User-defined keys
	9	National replacement character sets
	13	Local editing mode
	15	Technical character set
	16	Locator device port
	18	Windowing capability
	19	Dual sessions

This is an incomplete list of the possible values which can be returned, but it
should get you going. Your local sales office should be able to get you more
detailed information in the form of a programming manual.

-chuck	
Technical Details
Message-ID: <1990Jul24.213402.28064@wrl.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sun-barr!decwrl!bacchus.pa.dec.com!chukls.ucs.dec.com!price
References: <1990Jul24.102646.22766@gdr.bath.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sun-barr!decwrl!bacchus.pa.dec.com!chukls.ucs.dec.com!price
From: price@chukls.ucs.dec.com (Chuck Price)
Newsgroups: comp.sys.dec
Subject: Re: Want info on VTnnn responses to ESC[c
Message-ID: <1990Jul24.213402.28064@wrl.dec.com>
Date: 24 Jul 90 21:34:02 GMT
References: <1990Jul24.102646.22766@gdr.bath.ac.uk>
Sender: news@wrl.dec.com (News)
Reply-To: price@chukls.enet.dec.com (Chuck Price)
Organization: Digital Equipment Corporation
Lines: 72