OrangeTide / boris

Boris MUD - a small C plugin-based MUD for RPI or deep adventuring
http://gitlab.com/OrangeTide/boris
ISC License
12 stars 2 forks source link

PuTTY telnet doesn't handle lines correctly #11

Closed OrangeTide closed 2 years ago

OrangeTide commented 2 years ago

code is using LF ("\n") but PuTTY's telnet defaulted to CR/LF

two ways to solve this, modify MTH to negotiate a LF mode. or modify MTH to insert CR before LF.

image

OrangeTide commented 2 years ago

Can work around by going into PuTTY settings "Terminal" > "Implicit CR in every LF"

This isn't PuTTY specific. Old telnet clients would run into this as well (like older Windows telnet)

OrangeTide commented 2 years ago

fixed with MR #15