How to get ride of the BEEP in Solaris

Hello,

I did a search on this forum and a global search to try and find out how to disable that annoying beep that you get when you mistype or hit the esc key in VI and i didn't have that problem last week.

I'm using Solaris and bash shell and i've put these commands into my .profile file:

setenv nobeep
set bell-style none

but it doesn't seem to turn it off....

Any suggestions would be much appreciated
Thanks
BobK

Edit readline init file: ~/.inputrc or whatever file $INPUTRC points to.
The command is

set bell-style none

thanks Jim i will keep on that track, appreciate the recommendation!

BobK