|
Re: a C program problem
I think it will depend on your input.
Since you are reading stdin, which is buffered, the backspace (^H or \b) will be consumed by the terminal driver since it, by default, processes it automatically - Lookup the difference between "raw" mode and "cooked", though that may be a bit old nomenclature.
See the manpage on "stty", which will let you change the mode (though getting commands to work gets tricky afterwards - use Control N for the end of the line, and try not make any typos - you can't erase them...)
|