Comment 7 for bug 82708

Revision history for this message
Evan Carroll (evancarroll) wrote :

You rock.

You don't have to reopen the bug, I just don't understand *enough* to completely grasp the problem to submit a bug against ncruses (something that I'd typically want to do.) Knowing that you do, and are, helps me sleep easy at night. =D All that I know about terms is from the gentoo discussion about getting gnome-terminal to report a non-xterm term type. From my limited understanding of terminfo, it seems the whole the thing is one big mess, from terminals faking xterm compliance, xterm compliant terminals report they *are* xterm, to a lack of functionality in terminfo for said terminals. It seems as if this is mega-problematic for developers, and the lack of design hits the users.

I do think I understand a bit from your description of the problem. I suppose terminfo must have something of a table of chords and corresponding intterupts (how it gets "notion") and maybe Contrl+PgUp/PgDown isn't one of them currently? Then screen, which knows it is attached to a xterm/vt100 term, doesn't translate Contrl+PgUp because that isn't specified in a ?terminfo vt100 spec.? Vim, using terminfo, sees it is attached to a "screen" term type, which says nothing of how to handle Control+PgUp and the problem propagates all the way to the application.

For an interesting discussion @ gentoo on terms - http://<email address hidden>/msg03804.html

If you have any other links that would help clairfy how applications interact with terminfo please do send them.