VT100 specification

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

VT100 specification

Post by JamesM »

I want to make my tty driver vt100 compatible, but I can't seem to find the specification anywhere - does anyone (a) have it or (b) know where to find it apart from a google search?
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: VT100 specification

Post by Brendan »

Hi,
JamesM wrote:I want to make my tty driver vt100 compatible, but I can't seem to find the specification anywhere - does anyone (a) have it or (b) know where to find it apart from a google search?
AFAIK the "VT???" standards relate to model numbers used for virtual terminals made by one company (Digital Equipment Corporation). There's a fairly good list of the original information on this web site.

Also AFAIK, most software that says it supports "VT???" actually doesn't - it supports a subset of "VT???" and/or a superset of "VT???" (for e.g. things like alternate character sets, double width and underline often don't work even though they are part of VT100, and things like ANSI colour codes sometimes do work even though they aren't part of VT100).

In the end, you may need to choose between true VT100 compatability, or software that actually works. :cry:

A good test is to see if your software works with HyperTerminal (when HyperTerminal is set to "VT100"). This is a good test for 2 reasons - a lot of people will probably want to use HyperTerminal because it comes with Windows; but also because HyperTermal really does suck (if your software works with HyperTerminal then it'll probably work on anything else that claims to be "VT100 compatible")... ;)


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
JackScott
Member
Member
Posts: 1036
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Mastodon: https://aus.social/@jackscottau
Matrix: @JackScottAU:matrix.org
GitHub: https://github.com/JackScottAU
Contact:

Post by JackScott »

http://www.termsys.demon.co.uk/vtansi.htm

I'm guessing to find a complete listing of VT100 escape codes requires a call to DEC.
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

Yayyak wrote:I'm guessing to find a complete listing of VT100 escape codes requires a call to DEC.
Or, one checks Wikipedia, with a link to this excellent site: http://vt100.net with amongst others:
vt100.net wrote:VT100 User Guide (EK-VT100-UG). This book is essential reading for anyone who wants to construct a VT100 emulator. If you use this as the specification and test your implementation with vttest, you won’t go far wrong.
Seriously guys, it's not that hard...


JAL
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Well I could bloody find it! There's ten thousand PDFs on that site!! :)
iammisc
Member
Member
Posts: 269
Joined: Thu Nov 09, 2006 6:23 pm

Post by iammisc »

I read the complete specification with codes a few weeks ago. with a little googling and some intelligent browsing it really wasn't that hard. If I find it I'll be sure to post it here.
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post by jal »

JamesM wrote:Well I could bloody find it! There's ten thousand PDFs on that site!! :)
Yeah, but the ones you need are in a neat list, just use the one I linked to above :).


JAL
Post Reply