Phil Baker
Phil Baker

Reputation: 27

Newline in Telnet server

I am writing a telnet server in Ruby.

The problem I am now facing is that everything is printed on the same line on the client side and \r\n isn't working. Does anyone have a suggestion as to what I could do?

Upvotes: 1

Views: 692

Answers (1)

Chuck Morris
Chuck Morris

Reputation: 1148

Not sure, but in PHP if carriage return is in single quotes it won't get transliterated.

Happy coding :)

Upvotes: 1

Related Questions