[SOLVED] Backspace not working!!!!!

Hi friends,
Hope u r doing well. It is a very strange problem that I've never faced when I used linux or freebsd. When a type a command in Solaris 10, and if I make a mistake, the backspace doesn't work, when I press the backspace key three times forexample, this is what I get, ^H ^H ^H. The same is the case with arrow keys. I remember in Freebsd the up arrow key used to go the previous commands entered, why is that not happening in Solaris? Waiting for your replies. By the way this the output of

 
# echo #TERM
sun-color

And

 
 
# echo #SHELL
/sbin/sh

---------- Post updated at 10:42 AM ---------- Previous update was at 10:28 AM ----------

I got my answer, thanks!

And what was this answer, exactly, in case future googlers find this thread instead of an answer to it?

To solve the backspace problem, type

$ stty erase ^H

And if you want to go to the previous commands that you've typed, /sbin/sh does not provide this feature, you have to use bash, so type

 
$ bash
1 Like