Questions tagged [vt100]

The VT100 is a video terminal that was made by Digital Equipment Corporation (DEC). Its detailed attributes became the de facto standard for terminal emulators to emulate.

103 questions
0
votes
0 answers

the different ways about customising console output in C++ (which one to prefer)

I wanted to know how can i colorise or customise console, then i found this title: Colorizing text in the console with C++ in this title, this code suggested: HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); // you can loop k higher to see more…
0
votes
1 answer

What does the ESC [?1c escape sequence do on the Linux console?

While trying to make vim work correctly on my operating system's console, I noticed it writes to stdout the following escape sequence before scrolling: \x1b[?1c. The problem is I wasn't able to find anywhere what that specific sequence means. I've…
vvaltchev
  • 609
  • 3
  • 20
0
votes
1 answer

VT100 Number Keypad Escape codes when using modifiers (ctrl/shift/alt)

I'm trying to revive a pretty old MUD client to run under OS X Mojave (pretty much a telnet client that supports aliases, key bindings and triggers). The code can be found here https://github.com/olostan/mmc I was successfully able to run it,…
afansky
  • 113
  • 2
  • 7
0
votes
2 answers

Terminal keeps buffering pressed keys

I'm writing a VT100 terminal engine but input handling is somehow tricky. First I initialize my tty with no echoing. static void init_tty() { if (tcgetattr(STDIN_FILENO, &ctty) != 0) throw std::runtime_error("can not get tty…
Michael
  • 177
  • 2
  • 15
0
votes
1 answer

How, and whether, to colorize text without Ncurses

Ncurses can colorize text but GNU utilities like ls and diff apparently colorize text without calling Ncurses. Can I, too, portably colorize text without calling Ncurses? For example, in C: printf("the word \033[32mgreen\033[0m is printed in…
thb
  • 13,796
  • 3
  • 40
  • 68
0
votes
2 answers

Rewind past a block of text in VT100 terminal commands

I basically want to manipulate the output of some program connected to a terminal so that the bottom section of text is always some arbitrary block of text (let's call it the footer), while the normal output of the program is displayed above that.…
user2601195
  • 161
  • 2
  • 9
0
votes
1 answer

Space characters inside the ESC[ (0x1b/0x5b) sequence invalidate the sequence?

I can not find information about what should be done to spaces within ESC sequence. Example: position cursor ESC[10;20H is a valid ESC sequence, but is the one including spaces like ESC[ 10; 20H valid too? The point is that while ESC character is a…
Anonymous
  • 561
  • 3
  • 7
  • 24
0
votes
1 answer

What is the purpose of DECREQTPARM in VT100?

I'm implementing a terminal emulator for the ESP8266 ("ESPTerm"), and going through the xterm manpage for reference, as well as the old VTxxx reference manuals. I've implemented DECREQTPARM. But now am asking myself a question: What's this good…
MightyPork
  • 18,270
  • 10
  • 79
  • 133
0
votes
1 answer

Unpredictable behavior with Ruby VT100 escape sequences on Windows 10

Using ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32] on Windows 10, version 10.0.14393. A few things first: The Behavior of the Windows echo command bypasses the console mode flag for VT100. This is normal according to MSDN where the flag…
gavxn
  • 129
  • 2
  • 11
0
votes
0 answers

VT100 and Processing, getting cursor position

i'm trying to implement a telnet interface in a Processing sketch, to pass command and receive outputs on the console. I'm learning those days about the VT100 set of commands, so i was finally able to understand how was possible to reprint on…
piLeoni
  • 131
  • 13
0
votes
1 answer

Where does PuTTY and VT100 start row and column?

I'm trying to figure out how the PuTTY terminal numbers its rows and columns. Does it start from 0,0 or 1,1? I'm using VT100 to set the cursor and it's important to send the right count. I want to force the cursor location like this: ESC[1,0f and I…
visc
  • 4,794
  • 6
  • 32
  • 58
0
votes
0 answers

How to scrub VT100/ANSI control chars in Net::Telnet

I am using Net::Telnet to connect to a HP ProCurve Switch to login and backup the config. However I ran into issues where waitfor returns VT100/ANSI control chars: < 0x00000: ff fd 18 ff fd 1f ff fb 01 1b 5b 32 4a 1b 5b 3f ..........[2J.[? <…
redcodefinal
  • 909
  • 3
  • 11
  • 24
0
votes
1 answer

Node.js/angular wrapper for a vt100 application

I've been searching for a while and I cannot find an answer. I have found node.js terminal emulators but not the other way around. My client uses a vt100 application on a linux box. He does not have source code but he needs the application. I…
0
votes
1 answer

unknown ansi escape codes - )0[, ?7h and ?7l

So I'm seeing some ANSI escape codes I'm unfamiliar with in some output. \\x1B)0[ \\x1B[?7h \\x1B[?7l http://ascii-table.com/ansi-escape-sequences.php says that \\x1B[=7h and \\x1B[=7l will set and reset (respectively) the mode to enable line…
neubert
  • 15,947
  • 24
  • 120
  • 212
0
votes
1 answer

how to use alternate vt100 character sets

According to http://www.in-ulm.de/~mascheck/various/alternate_charset/ Esc+)+0 will make it so that a G0 set sequence table is used or something. http://www.vt100.net/docs/vt100-ug/table3-9.html seems to provide a description of the characters that…
neubert
  • 15,947
  • 24
  • 120
  • 212