Jens Wilhelm Wulf <[EMAIL PROTECTED]> wrote:
>
> now tried xkeycaps and changed keysym from next/prior to
> KP_next/KP_prior. Doesn't help, too.
That's probably because they were already set correctly.
> To finally see what happens it must be possible to make mutt tell me
> which key(sym/code) it sees!!!!
Mutt does not see X-style keysyms. Mutt sees ncurses-style key codes,
such as those found in /usr/include/ncurses.h:
/*
* Pseudo-character tokens outside ASCII range. The curses wgetch()
* function will return any given one of these only if the
* corresponding k- capability is defined in your terminal's
* terminfo entry.
*/
[...]
#define KEY_NPAGE 0522 /* Next page */
#define KEY_PPAGE 0523 /* Previous page */
As you can see, Mutt calls a function called wgetch(), to get a "key"
from the keyboard. If that function returns 0522, then Mutt knows that
you pressed the "next page" key, which Mutt calls "<PageDown>".
So you see, it falls upon the curses subsystem to recognize the escape
code for the key you have pressed, and return the proper code to Mutt.
How is this done? Through the terminfo database.
Curses knows that your terminfo database contains an entry called "knp"
that determines the key sequences that represents "Key for Next Page".
When that sequence of input characters is noticed, then the KEY_NPAGE
value will be returned.
So you see, if the terminfo database is correct, then this should all
work. You have not demonstrated to anyone here that your terminfo
database actually *is* correct, so we will continue to tell you that you
should investigate that option.
> Maybe there's a patch. Doesn't the maintainer read this list?
I believe that nearly every person who has submitted code to the Mutt
project is reading this list. The answer to your problem is still the
same. Since we cannot see all the elements of your system that are
coming together to create the interaction known as "your login session",
we must guess at the most likely problems, and you must demonstrate that
our guesses are not the source of your problem before we can produce
more.
--
David DeSimone | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED] | that there is no man really clever who has not
Hewlett-Packard | found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer | PGP: 5B 47 34 9F 3B 9A B0 0D AB A6 15 F1 BB BE 8C 44