On Sun, Sep 16, 2001 at 07:39:01PM +0200, Vincent Lefevre wrote:
> On Thu, Sep 13, 2001 at 18:50:41 -0400, Thomas Dickey wrote:
> > On Fri, Sep 14, 2001 at 12:01:22AM +0200, Vincent Lefevre wrote:
> [snip]
> > > I use Mutt 1.3.22.1i under Linux 2.2.17 with ncurses 4.0.
> >
> > ncurses 4.0 is a bit old (unless you're using one of Redhat's broken-rpm's -
> > I'm assuming that's the case if you have a 2.2x kernel).
>
> I've installed ncurses 5.2 and recompiled mutt to use that, but this
> didn't solve the problem: the arrow and numeric keypad keys don't work
> (the keys are not bound).
>
> If I replace the lines
>
> keypad (stdscr, TRUE);
>
> by
>
> keypad (stdscr, FALSE);
>
> this solves the problem. Could this be fixed?
The thing to fix is the terminfo description. For instance, you could make
a terminfo that doesn't set application-mode for cursor- and keypad-keys,
and use that instead of the standard one.
--
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net