|
[
Permlink
| « Hide
]
Rory Winston added a comment - 26/Feb/08 10:49 AM
Can you supply a patch for this?
That is not a very good work around because then it will not work with terminals that conform to the standards. Breaking the standards on both ends is not a solution. I had problems talking to a mini computer not running this stack.
The best solution is to fix this so that it sends the right commands to match the RFC. AFAIK, the Telnet standard is RFC854: http://www.ietf.org/rfc/rfc854.txt
This says in section "TELNET COMMAND STRUCTURE" top of page 14:
This is presumably the reason for the doubling seen in TelnetOutputStream.java Thank you for sending that.
Now, I think I know where the confusion is. What I was trying to do was send a command. I think what that part of the RFC was talking about was escaping 0xFF characters. What I could not find was a way to send a command because (if I remember right) the stacks were hard wired together and could not be broken apart. So, what I tried to do was send a IAC-COMMAND and what was coming out was IAC-IAC-COMMAND which the other end recognized as a IAC-0xFF substituting the second IAC for command. Then getting my COMMAND as data I could not find a way around this, so we went with a different library. If sending commands is not part of the library. Then yes. I now understand why my first assumption was wrong.
Unless you know of a way to send a command that I could not find. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||