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
2
votes
2 answers

VT100 escape sequence to remove already printed newline?

Is there a combination of VT100 escape sequences that will allow my C program to print something like: Waiting...... to a console, in such a way that the dots appear one by one? Essentially, I want a command that will let me insert an extra '.'…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
2
votes
0 answers

How does one capture vt100 responses in an ssh client to linux terminal

I have a text editor which is invoked in a session from the Windows 10 command prompt. ssh user@linuxhost If I invoke this command doit.sh echo "echo X;^[[999;999H^[[6n" then these characters are sent to the screen in accordance with the vt100…
Questaware
  • 87
  • 5
2
votes
1 answer

regex to replace console code with whitespaces

I'm writing some Python tests for a console application that uses console codes, and I'm having some problem gracefully handling the ESC H sequence. I have the s = r'\x1b[12;5H\nSomething' input string, I'd like to replace it with Something. I'm…
Leonardo
  • 1,533
  • 17
  • 28
2
votes
1 answer

How to identify the Terminal Emulator being used?

I'm developing a library that needs to identify the running terminal emulator in order to output emulator-specific escape code sequences. For example, iTerm 2 uses the following proprietary sequence: ESC ] 50 ; CurrentDir=/path/to/dir BEL While…
David Refoua
  • 3,476
  • 3
  • 31
  • 55
2
votes
0 answers

VT100 Terminal State Report

My knowledge on terminal emulators is a little sketchy, and in an effort to learn more about them, I thought I could experiment with some of the escape sequences and see what I can do. One of the things I thought of to try was…
Jonathan Apodaca
  • 5,458
  • 6
  • 30
  • 41
2
votes
1 answer

Symfony Process Eats Terminal Control Codes

So I'm running a Symfony Process for some commands, and I noticed that when I write those to Symfony's OutputInterface it is not showing colors or progress bars. I think that the commands (npm, artisan, ls, etc) are using terminal control codes, and…
Derrek Bertrand
  • 596
  • 7
  • 13
2
votes
1 answer

Using linux(ansi/vt100) color codes in C#

I would like to use ANSI/VT100 in my C# output (on Linux/Mono PC). But string colorme = @"\e[31mHello World\e[0m"; Console.WriteLine(colorme); just results plain-text output in bash (i am using mono). Is it possible to use color codes like \e[31m…
AvrDragon
  • 7,139
  • 4
  • 27
  • 42
2
votes
2 answers

VT100 Emulation LIbrary in C# with SharpSSH

I'm messing around with Tamir.SharpSsh and wanted to see if it was possible to use it to implement a console SSH client fully in C#. I do not mean something like putty where it's actually running in it's own GUI, but something you could run…
Adam Haile
  • 30,705
  • 58
  • 191
  • 286
2
votes
1 answer

VT-100 commands are working strangely

I'm writing simple clock program with NASM. I'm using Ubuntu 14.10 Vagrant box under OSX via iTerm. Terminal is xterm, so should be VT-100 compatible. I need to remove one line. For instance, I expect the following behaviour: Hello, this is clock…
vladfau
  • 1,003
  • 11
  • 22
2
votes
2 answers

VT100 escape sequences: Cursor movement wrap around to end of line

I'm creating a Telnet CLI application that is controlled with VT100 escape sequences. So to e.g. navigate the cursor left the [D escape sequence is sent from the Telnet server to the client, which may be Putty or Gnome-terminal. Unfortunately,…
user5833
  • 23
  • 3
2
votes
2 answers

keyboard transmit mode in vt100 terminal emulator

I'm implementing a vt100 terminal emulator in javascript and the vt100 spec (from man terminfo and infocmp) tells me that smkx=\E[?1h\E= is the code to enter key-board transmit mode and rmkx=\E[?1l\E> is the code to leave 'key-board transmit' mode.…
Devi
  • 5,023
  • 1
  • 34
  • 27
2
votes
0 answers

Replace serial data, which has been sent out, by new data in 8051

I have a number counting program which transmits serial data ( three digits ) to hyper terminal. That program counts (increases / decreases) per second. Whenever it counts, it sends to serial out. But, it is just adding three more digits into hyper…
Lwin Htoo Ko
  • 2,326
  • 4
  • 26
  • 38
2
votes
1 answer

xterm/vt102 sequences to fill the terminal window, then exit on keypress, clearing whatever was on screen?

I'm trying to wrap my head around VT102 sequences and how such libraries as ncurses work. To give an example, when I open Emacs, it fills the terminal window. When I hit C-x C-c, the program exits and my terminal window looks exactly as it looked…
d11wtq
  • 34,788
  • 19
  • 120
  • 195
1
vote
1 answer

Escape sequence ]0;

I am currently trying to write a script that uses expect to logon to SSH. Logging on to a server every prompt appears as [user@host]~/directory$ when I use a xterm color terminal. However, if I read the output from SSH directly with expect I see the…
Troels
  • 167
  • 2
  • 10
1
vote
1 answer

How to check if DECCKM (Cursor Keys Mode) is set for the cursor sequences in vt100? (or any other terminals)

I would like to know if there is a way to know if DECCKM function (specifying whether or not to use ANSI cursor sequences) has been set or not. I'm connecting to a process via ptrace so I have no way to know if the sequences ^[[?1h or ^[[?1l have…
Grimflo
  • 116
  • 4