I have written aTelnet protocol program which is working fine for multiple clients. But it has a problem wherein it is not able to detect the characters like newline, backspace, etc. What happens is when the user presses a new line, I do a println onto the client but then it prints a new line along with a ^M character which is 13. Similarly for backspace, instead of going back, it prints a ^H. Any suggestions as to how to make this print the actual chars. I am using Solaris 2.7.