23 votes
Accepted

What was the largest resolution supported by terminal escape codes?

There is no limit, at least not by definition. And more so, not something across all terminals ever made. Most prominent nowadays (*1) is the so-called ANSI sequences standard - understood by next to ...
Raffzahn's user avatar
  • 220k
19 votes
Accepted

Different escape codes for the same keyboard keys -- where did they come from?

It's one single source, not multiple vendors. Nearly all of what you mention actually comes from one source, DEC VTs. The various different control sequences generated by the function, cursor, ...
JdeBP's user avatar
  • 2,288
11 votes

DOS: How do I type an ANSI escape sequence?

[All of the examples have been tried using a real PC and DOS 3.20] TL;DR: Use a Batch File For Experiments The most simple way to start testing wold be a batch file providing the needed ESC character. ...
Raffzahn's user avatar
  • 220k
9 votes

What was the largest resolution supported by terminal escape codes?

Tektronix (and emulated Tektronix) graphics mode Not exactly what you are looking for (because not "characters"), but Tektronix 4010/4014 mode as supported by Wyse 99GT and Wyse 370 (and I ...
manassehkatz-Moving 2 Codidact's user avatar
8 votes

VT52 emulation for MS-DOS?

This post appears to contain original .ASM source code for a VT52.SYS (but it may not be the same VT52.SYS you've seen references to). You would need an assembler (like MASM) to assemble it: https://...
Ken Gober's user avatar
  • 11.4k
7 votes

Different escape codes for the same keyboard keys -- where did they come from?

Partial answer: General notes: ESC [ is "control sequence introducer", CSI. ESC O is "single-shift-3", SS3. DEC VT200 terminals sent CSI n~ for function keys F6 onwards, where n = the F-key number ...
dave's user avatar
  • 35.2k
7 votes

How widely used were C1 control codes?

Within DEC, "all the time". Why send two bytes down a wire at a lousy 300-to-1200 bps when one byte would do? DEC terminals from the VT200 series onwards supported an 8-bit character set ...
dave's user avatar
  • 35.2k
6 votes

Can escape sequences be entered directly from keyboard to terminal for VT100 and similar?

Well, as usual with complex matter the answer is a mixture of Yes/If. First of all, are these assumptions correct? Yes, the assumptions stated are perfect good and correct. In general. In detail ...
Raffzahn's user avatar
  • 220k
6 votes

How widely used were C1 control codes?

However, C1 have hardly left any impression nowadays beyond 0x85 Next Line. Not restricted to C1. Not much of any control character has still an 'impression' nowadays. Unicode just ignores other C1 ...
Raffzahn's user avatar
  • 220k
6 votes

DOS: How do I type an ANSI escape sequence?

If you have a copy of DEBUG in your emulated DOS environment, you could write a small program to output an ESC followed by whatever you want. (Anything after ; is a comment and shouldn't be typed in). ...
john_e's user avatar
  • 7,245
5 votes

DOS: How do I type an ANSI escape sequence?

In addition to Raffzahn’s selection of methods, you can use 4DOS’s escape handling on the command-line and in batch files. Using a keyboard shortcut, the escape character can be produced with the 4DOS ...
Stephen Kitt's user avatar
5 votes

What was the largest resolution supported by terminal escape codes?

In the early 1980s practically every terminal had its own particular set of escape codes, to the point where the software we were selling then had a separate module which we could quickly reprogram as ...
Martin Kochanski's user avatar
5 votes

VT52 emulation for MS-DOS?

The VT52 terminal escape codes should work fine within VT100 or VT220 Emulation. Later generations are able to support earlier codes. VT240 is the first terminal to support color displays as color for ...
Rowan Hawkins's user avatar
4 votes

VT52 emulation for MS-DOS?

I found a copy at PCJS.org, inside an OS/2 development boot floppy: http://www.pcjs.org/disks/pcx86/os2/misc/football/87058/
john_e's user avatar
  • 7,245
3 votes

Different escape codes for the same keyboard keys -- where did they come from?

True terminals used to vary a lot in the code sequences they accepted for their control and code sequences they returned when a key was pressed. And keyboards were less standardized than nowadays, so ...
AProgrammer's user avatar
2 votes

VT52 emulation for MS-DOS?

Downloading VT52.SYS from a virtual machine on pcjs.org requires a few steps that may not be obvious if you're unfamiliar with the website: Go to a PCjs virtual machine (like the one that @john_e ...
jeffpar's user avatar
  • 21
2 votes

Can escape sequences be entered directly from keyboard to terminal for VT100 and similar?

Originally, the escape character was used to initiate multi-character sequences when it was necessary to support more functions than could be accommodated in 31 active control characters (codes 0x00 ...
supercat's user avatar
  • 35.7k
2 votes

Can escape sequences be entered directly from keyboard to terminal for VT100 and similar?

Short answer is yes. https://www.pcjs.org/devices/pc8080/machine/vt100/ has a vt100 emulator. Once you've selected the "emulator" screen press: F9 - Enter setup 4 - Toggle local/online to local (...
PeterI's user avatar
  • 5,277
1 vote

DOS: How do I type an ANSI escape sequence?

Inspired by the other programs written using Debug, I went and wrote a slightly more complicated example. This one allows to use a number of escape codes using the backslash. It also scans for leading ...
ecm's user avatar
  • 941
1 vote

DOS: How do I type an ANSI escape sequence?

Here are a couple of variants of john_e’s answer. The first avoids writing one byte extra by counting the Escape character as one of the characters in the loop: 18F1:0100 XOR AX, AX ; Clear AX 18F1:...
1 vote

VT52 emulation for MS-DOS?

MS-DOS Kermit had a terminal emulator built in. It should be VT100 compatible, and thus VT52 backward compatible. I don't know if Kermit was based on a driver or whether terminal emulation was part ...
Walter Mitty's user avatar
  • 6,128

Only top scored, non community-wiki answers of a minimum length are eligible