Hi everyone,
I've been tinkering around with SocketMUD to study ways sockets work. The C++ version of the program is nothing more than a simple program that echoes messages back to the client.
While I am unsure if it was caused by the program, I did encounter strange behaviors when using a simple terminal to test it. I am unsure if this is specific to the code in use or if it happens regularly with any terminal. When I'm connected to the server, I can type a message -- but when I attempt to use backspace the output gets garbled.. example:
Hi there!
Hi there^R
Hi ther^R
That's what gets placed on the screen when I type "Hi there!" and hit the backspace key two times.
What causes this? Are there ways of preventing this from happening, and if so, what other things should I look out for if I want to create an intuitive interface?
Thanks,
Rae
|