Created attachment 593684 [details, diff] Fix screen and eterm terminfos to use ^? for kbs. Patch courtesy of debian. Debian carries a patch for ncurses which makes the terminfo files default to kbs=^? instead of kbs=^H. With that patch, the BACKSPACE keys works correctly for emacs in screen, whereas without it BACKSPACE does the wrong thing. (That is to say, if screen(1) is run on a debian box then emacs works fine therein, but if screen is run on a gentoo box then emacs fails to work.) I’ve attached their patch as found in their ncurses_6.1+20190803-1.debian.tar.xz. The patch references: https://bugs.debian.org/237997 https://bugs.debian.org/602300 and makes the change for Eterm|Eterm-color and screen. Screen is much more usable in gentoo with this change.
Is this still needed? If so, do you know if anyone ever sent it upstream?
if it is not upstream, then yes. screen started after ssh to a deb works. but not if it is started on a gentoo box (w/o that patch). one’d have to check whether it is in today’s ncurses release.
(In reply to James Cloos from comment #2) > if it is not upstream, then yes. > I meant "Are you still affected by this if you don't apply the patch?" ("Has it been fixed upstream in the last 3 years?") > screen started after ssh to a deb works. > > but not if it is started on a gentoo box (w/o that patch). > So it's not upstream, and it needs to go there. I'll send it. Thanks.