bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keypad problem


From: Thomas Dickey
Subject: Re: keypad problem
Date: Sun, 3 Feb 2002 13:53:05 -0500
User-agent: Mutt/1.2.5i

On Sun, Feb 03, 2002 at 07:06:49PM +0100, Vincent Lefevre wrote:
> On Sun, Feb 03, 2002 at 11:18:40 -0500, Thomas Dickey wrote:
> > That sounds right.  Odd as it may seem, terminfo was not designed to make it
> > simple to use the vt100 keypad.  The following (man terminfo) applies, but 
> > is
> > not necessarily implemented for all of the related terminfo entries:
> > 
> >        backward/up), khts (set a tab stop in  this  column).   In
> >        addition, if the keypad has a 3 by 3 array of keys includ-
> >        ing the four arrow keys, the other five keys can be  given
> >        as  ka1,  ka3,  kb2,  kc1, and kc3.  These keys are useful
> >        when the effects of a 3 by 3 directional pad are needed.
> > 
> > Note that it only defines 5 keys (vt100 keypad has 18).
> 
> But where is the bug? As NumLock is set on my keyboard, I just want
> to have digits. And IIRC, it was said in the Mutt mailing-list that
> it wasn't Mutt's fault as it doesn't deal with low-level things.

The problem is lower than ncurses - ncurses can only work with the terminal
description, assuming it is correct.  At the moment I'm not sure - iirc,
you were using either XFree86 xterm or rxvt.  A quick check of the latter
(2.7.6) shows that it doesn't pay any attention to NumLock (and doesn't
do what you want here).  For the former, it does try to do this (but there
are various xmodmap settings that can break the behavior).  I do use it...

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]