BackSpace not working in X ?

BackSpace not working in X ?

Sometimes you find that you can't use backspace in a X program. I had problems especially with TCL/TK programs, where I had to type Ctrl-H instead. A solution that works for me is adding the line

keycode 22 = BackSpace
to a Xmodmap file, and run xmodmap on that..