Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java terminal emulator [closed]

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

like image 900
Rima Avatar asked Sep 13 '12 11:09

Rima


2 Answers

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.

like image 54
Alexis Dufrenoy Avatar answered Sep 23 '22 11:09

Alexis Dufrenoy


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.

like image 26
Dmitry Trofimov Avatar answered Sep 23 '22 11:09

Dmitry Trofimov