12

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).

John Conde
  • 207,509
  • 96
  • 428
  • 469
Rima
  • 435
  • 2
  • 6
  • 16

2 Answers2

6

Telnetd seems to be a complete and pretty well documented solution:

http://telnetd.sourceforge.net/

You can also try:

http://www.jcraft.com/jcterm/

It behaves like a VT100 and uses a SSH2 connection. But the website indicates the VT100 emulation is incomplete.

Alexis Dufrenoy
  • 11,106
  • 10
  • 73
  • 122
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
  • 6,779
  • 1
  • 26
  • 32