http://invisible-island.net/xterm/
ftp://invisible-island.net/xterm/xterm-270.tgz
sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap && echo -e '\tkbs=\\177,' >>terminfo && TERMINFO=/usr/lib/terminfo ./configure --prefix=/usr --sysconfdir=/etc \ --mandir=/usr/share/man --localstatedir=/var \ --enable-luit --enable-wide-chars \ --with-app-defaults=/usr/share/X11/app-defaults && make
make install && make install-ti
If you have problems editing text input fields in ncurses uis like the Linux kernel's (make menuconfig), put this in ${HOME}/.Xdefaults
*VT100.Translations: #override \ <Key>BackSpace: string(0x7F)\n\ <Key>Delete: string("\033[3~")\n\ <Key>Home: string("\033[1~")\n\ <Key>End: string("\033[4~") *ttyModes: erase ^?
You have to restart X afterwards.