getting rid of ^H

Hello everybody

I have a very annoying problem on my Solaris (Unix in general) servers. When I open a shell and press the backspace button, it results in a ^H character being printed on screen. I can resolve it by typing stty erase <backspace>, but does anyone know how I can prevent the problem (add something to the profile perhaps).

Thanks

try this:

$HOME/.profile

if [ "`tty`" != "not a tty" ]
then
stty erase \^h
fi

greetings PRESSY

Or see Response 7 on the same type of question on computing.net.

Nice one PRESSY. It sorted my problem.

Cheers mate