Telnet on windows - Question

Associate
Joined
18 Feb 2010
Posts
940
Hi,
I am some networked java apps, which send output lines to the client connecting through telnet.

I can connect using both OSX telnet and Windows Telnet, which is great. I see however that when I use the println(String) command which is sent over the network, on OSX it comes out in a nice straight format, yet on Windows 7's telnet it comes out very messed up. As it's right in OSX, I don't think this is something wrong with my code.

Any ideas?

( Will post screenshots )
 
Is it down to the differences in how Windows and unix-style operating systems end lines of text?

I forget which way round it is... one uses carriage return and line feed but the other just uses line feed.

IIRC that Java ends lines appropriate to the system it's executing on uses, so if you have it running on one system and connecting to it with a different system, that might cause the problem.
 
Back
Top Bottom