Fix telnet output