I am writing a program that runs in a terminal - I would like to be able to correct typing mistakes, however when I use backspace I get this:

^H

Is there a way that I can get the backspace (as well as the cursor keys) to work in my program? There are some slightly helpful articles in the FAQ, and I might end up fiddling with them - looks like maybe it would be cool if vVv's stuff was still up here though... Anyway, any help would be much appreciated.