I wrote this in '96 to support jTelnet for JavaPad, I've documented it an cleaned up the interface a bit. The original telnet is still included as thor.app.VT100Telnet, and a simpler thor.app.telnet is also there as a guide to using the library. I previously released this on my personal web page as Thor Telnet. But I've renamed it back to the more descriptive "Java Telnet" for the sourceforge release.
The VT100Telnet and telnet example applications are not intended to be full featured. The original Telnet RFC is implemented, plus some of the more commonly used extensions, enough to login to Sun, AIX, IRIX and Linux systems. Anything else and you might need another extension, the library is clean and there is a mechanism for getting callbacks on extension requests so you could look them up and implement them if you need them.
To run type: java -cp jtelnet.jar thor.app.telnet [hostname]
-- Daniel Thor Kristjansson (5/20/2003)