Telnet in Java ...

Somebody knows a free library that enables us to communicate using Telnet protocol ?Is it possible to use URL connections ? (I dont think so)Remember I dont like to worry about the low level telnet protocol, I just want to use it.Any other suggestion ?Daniel
[300 byte] By [Dmazzuca] at [2008-2-22]
# 1
Check out this link: http://www.mud.de/se/jta
swatdba at 2007-7-2 > top of java,Archived Forums,Socket Programming...
# 2
Thank you swatdba. I would rather recommend NetComponets from http://www.oroinc.com/ . I found this software better. I had experienced some little problems with the one you mentioned before. Anyway thank you again.
Dmazzuca at 2007-7-2 > top of java,Archived Forums,Socket Programming...
# 3
I checked this forum, and then i tryed your link........It's perfect for what i want: a free library that enables to communicate using Telnet protocol.Thanks Dmazzuca!!!!!
hmanuel at 2007-7-2 > top of java,Archived Forums,Socket Programming...
# 4

I'm using a socket conection with a java class that implements telnet protocol.

I can connect to windows 2000 and NT telnet servers, but i have a problem with the characters that i receive from it.

Here is the output from the buffer read:

login: atosplan

atosplan

password: admin1

******[1;1H*===============================================================[2;1HWelcome to Microsoft Telnet Server. [3;1H*===============

================================================[4;1HC:\>[5;1H[K[6;1H[K[7;1H[K[8;1H[K[9;1H[K[10;

1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;1H[K[25;1H[K[4;5H

[5;1HC:\>[5;5H

[6;1HC:\>[6;5H

[7;1HC:\>[7;5Hexit

[7;5He[7;6H

D:\NetComponents-1.3.8\bin>

how I can emulate a Ansi terminal.?

I'm connecting with solaris, linux also Open VMS and i don't have the problem. Thanks.

sabastizagal at 2007-7-2 > top of java,Archived Forums,Socket Programming...
# 5
Probably not using explicit ASCII on the stream. At least, that's my guess. I'm not an expert on this stuff.I'd check it if I were you......
bier at 2007-7-2 > top of java,Archived Forums,Socket Programming...
# 6
You must handle the ANSI-escape character sequences.So get into that.Don't know where info on that's available. Should be in old BBS-software. There terminal-emulation also was an issue....Which terminal, what function keys etc.
bier at 2007-7-2 > top of java,Archived Forums,Socket Programming...