Karl Kleinpaste writes:
If the users deem insane the desire that keymaps behave
identically under X and in a terminal, then I shall be pleased
to be called insane, and I'll find my own solutions... still
like to know how to coerce keyboard-translate into producing a
DEL keysym for a literal \177, and why the seemingly obvious
use of keyboard-translate didn't work.
Set tty-erase-char to nil. The \177 to backspace mapping happens
before any Lisp accessible key translation. It is necessary to
do it at that level because the translation depends on the
terminal's VERASE character.