The terminfo library that comes with Gentoo seems to be missing an End key entry for screen's terminfo, causing the End key to not work in any programs running under screen. Simply adding kend=\E[4~ to the terminfo source file for screen and recompiling it fixes the problem and allows the End key to function as expected. While this is a trivial fix for someone who understands terminfo, a novice user would most likely have trouble figuring out that terminfo is the source of the problem, let alone how to fix it.
you know what? End doesn't work normally in my aterm either..
Yeah.. could you modify what you need to and send it to me as a patch, diff.. that would be great.. if not I will play with it myself.. I just don't use screen much so.. haven't looked at it much. Naz
Sorry I didn't submit a patch the first time, I'm new to Gentoo and I didn't know about qpkg -f, so I couldn't figure out what package installed terminfo. I'm attaching a patch for the ncurses ebuild file. I have tested it locally and it seems to work fine here.
Created attachment 2454 [details, diff] patch to the ncurses ebuild to fix screen's terminfo
Well I have it added into ncurses-5.2.20020511-r2.ebuild is that fine? I will commit the change into that version if you want.. it's just r1 wiht your fix added. Naz
Is this still a valid issue?
No reponse on this bug it's so out dated and we are on much newer version that It's probably not valid anymore. Naz