@Plasma - Thank you, that was exactly it. Now I'm left with an ever-increasing number issues. So I think I'm going to switch to using C++.
The issues I face with QBasic are not going to be easily surmountable:
- Need to scan for special escape sequences, like backspace, etc.
- Colors aren't working in the current sdout method
- Keeping track of cursor position when using arrow keys, which might involve figuring out *where* the cursor is at to begin with.
- Any other security concerns that someone might try to use to sneak in code that should not be ran (I know, it's QBASIC and Telnet, so security is already gone)
This has been interesting though, and I would still would like to learn (just for the sake of learning) how to make the method more complete so as to be able to scan for escape sequences and handle them appropriately. But this is re-inventing the wheel when it's not necessary for this hobby project. Borland C++ 2.0 will suffice.