Does anyone knows of a library or a class that emulates the vt100 terminal (doesn't matter if graphical or not). What I want basically is a class that implements the logic of a vt100 terminal (like when receiving a "delete" code will call a delete function, or if GUI based that will delete one char).
Asked
Active
Viewed 1.3k times
2 Answers
6
Telnetd seems to be a complete and pretty well documented solution:
http://telnetd.sourceforge.net/
You can also try:
It behaves like a VT100 and uses a SSH2 connection. But the website indicates the VT100 emulation is incomplete.

Alexis Dufrenoy
- 11,784
- 12
- 82
- 124
-
1Telnetd is a server. It doesn't do terminal emulation. Telnet clients do that. – user207421 Apr 23 '15 at 03:13
-
1@EJP: You're wrong.This is not a standalone application, but a library, and it contains everything needed to create both a server and a client. – Alexis Dufrenoy Apr 23 '15 at 14:26
6
Have a look at the JediTerm project: https://github.com/JetBrains/jediterm
It has both graphical implementation as well as API to override. Graphical version works for remote SSH connections(using JSch) and local pty(using Pty4J).
It is a mature project used for the embedded terminal in JetBrains products.

Dmitry Trofimov
- 7,371
- 1
- 30
- 34