mastermosley 0 Newbie Poster

I'm working with Network stream and building a small telnet server, I have two questions:

1) How to implement a backspace, when connected via telnet when it backspaces it doesn't delete the character but just moves the cursor back and overwrites it when you type another character. I've noticed that if I load the contents of someone typing abce and then backspaces the e and over writes it with a d, into a string it has wierd characters that show as boxes when viewed.

2) Say I add a line asking for the password. I want a password character to appear such as ||||| or **** or nothing at all will work fine, just don't want any characters to appear.

Thanks a bunch

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.