문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top