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
1
vote
1 answer

Serial line editing

I'm working on a micro controller with a serial terminal and I want to be able to backspace characters, I'm already handling it in the input buffer, but I don't know what to send through serial to delete it from the terminal emulator, sending \b…
Phrodo_00
  • 444
  • 1
  • 5
  • 11
1
vote
2 answers

Lua: Search key in table, increment index if not and retry

Situation: table = { this, that, something else, x_coord, y_coord } table.x_coord = { 1,2,3,4,7,8,n} table.y_coord = { 2,4,5,9,n} -- numbers aren't fix table.check_boxes = { [12] = a function, [14] = a function, …
jawo
  • 856
  • 1
  • 8
  • 24
1
vote
1 answer

AIX special keys

I connect to AIX 5.3 through ssh from Centos 6. Shells on AIX and Centos are bash. When I press "Home", "End", "PgUp", "PgDn" in shell, bash outputs tilde (~) and cursor is not moving to end or begin of string. How can I get these buttons work…
Alexandr
  • 13
  • 2
1
vote
1 answer

How to create a console terminal?

From where I can start creating a console for my C++ programs ? I need a bare minimum console to launch and manage console applications, the reason why I need this it's because I need to pack everything into 1 executable and create and control my…
user2244984
  • 449
  • 4
  • 11
1
vote
1 answer

Is it possible to create a GUI in c# to replace an existing virtual emulator user interface

There is a linux server that establishes a telnet session with a device. The device is using a vt100 terminal emulator to communicate with the server. I want to use a c# program that establishes a telnet session with the server instead of using…
Telecaster
  • 107
  • 2
  • 8
1
vote
2 answers

Does PuTTy work correctly with ANSI/VT100 escape sequences?

I'm writing a program for a class in HC12 Assembly for the Freescale MC9S12C32 processor. I'm using PuTTy as the terminal attached to the device via serial(-over-USB). For this assignment, we are supposed to use VT100/ANSI escape sequences to move…
Huckle
  • 1,810
  • 3
  • 26
  • 40
1
vote
0 answers

Using GNU screen, how do I exec a process in response to a string of input coming from the remote application?

I'm using GNU screen to connect to a VT100 terminal server (DOS running in DOSEMU). I want to configure escape sequences to exec a subprocess and quit a subprocess. This would be similar to printcmd, except I would return the processes STDOUT to…
0
votes
3 answers

Storing VT100 escape codes in an XML file

I'm writing a Python program that logs terminal interaction (similar to the script program), and I'd like to store the log in XML format. The problem is that the terminal interaction includes VT100 escape codes. Python doesn't complain if I write…
Lorin Hochstein
  • 57,372
  • 31
  • 105
  • 141
0
votes
0 answers

Line drawing characters in SSH terminal not rendering

On a raspberry PI terminal, my systemctl command renders this way: I have another PI that renders the same command like this: Text colors seem to work fine (ls command) but the line graphics are wrong. Is this a terminal emulation setting…
buzzard51
  • 1,372
  • 2
  • 23
  • 40
0
votes
1 answer

Add an interactive network shell/console to a python program

I want to add an interactive console to debug a running python progam. I want to be able to "call" custom commands (but not external system programs) and interact with instances and statuses of my program. I basically need an "SSH server" built into…
0
votes
2 answers

Windows console: virtual terminal sequences are limited to viewport

I'm trying to implement a clear_terminal() function that only clears a given number of rows, not the entire screen. In unix terminals this is solved by the following ansi escape sequence: \033[{rows}A \033[0J Exactly the same result can be…
0
votes
1 answer

artifacts appearing in VT100 raw mode

considering this code: #include extern"C"{ #include #include } int main(){ termios termattr_bak; termios termattr; /* switch to raw mode*/ tcgetattr(STDIN_FILENO,&termattr_bak); termattr.c_iflag |=…
kmft3kte
  • 23
  • 6
0
votes
1 answer

Is there any faster alternative to changing the color of characters in the console instead of using VT-100 escape sequence?

Since using something like this \x1b[38;2;255;242;0m to change the color for each character makes printing to console really slow, something around 2–3 fps and I need to have at least 30 fps, so just wanted to ask if there is any faster alternative…
Bawbak
  • 87
  • 5
0
votes
1 answer

Can we set Linux default XTERM to VT100

i am using centos i want to use default TERM = vt100 i tried to set in the .bashrc, .bash_profile,.profile export $TERM=VT100 but when trying to ssh into device echo $TERM returns xterm-color how we can set default TERM=vt100
try.aaam
  • 23
  • 1
  • 7
0
votes
2 answers

A way to distinguish `\e` from escaped keys like `\e[A` in C++

I'm writing a readline replacement in C++, and I want to process terminal input in raw mode, including special/escaped keys like "up arrow" \e[A. However, I also want to be able to distinguish between a single press of the escape key \e followed by…
taktoa
  • 534
  • 2
  • 15