Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

telnet echo on/off causes strange crlf echo

14 views
Skip to first unread message

dcre

unread,
Apr 10, 2006, 6:27:15 PM4/10/06
to
Hello everybody. I am developing a telnet server emulation in C. Upon
login i send the client a IAC WILL ECHO in order to turn echoing off
for password input. After i get the password i send a IAC WONT ECHO to
turn client echoing back on.
The problem is that although the second messages make the client to
echo input characters, something goes wrong concerning the crlf
echoing. To be more specific every time i hit "enter" it just echoes ^M
on the client console.
If no IAC WILL ECHO and IAC WONT ECHO is issued everything work just
fine.
Any suggestions would be greatly appreciated. Thanx.

0 new messages