On Sun, Aug 31, 2025 at 02:54:16PM +0200, Jakub Horký wrote: > Hi, > > I've made several fixes in terminfo: > > *1) Abandon ancient vt100+keypad mapping for "cross" keypad keys, unify > vt100+keypad and vt220+keypad, and include extended caps for them* > > This addresses the issue I described in e-mail from 2025-08-28. Currently, > the only correct way to use terminfo is to enable any available application > modes (e.g. keypad, cursor) using smkx and rmkx. But the application must
uh. smkx/rmkx have, for a very long time, denoted application mode.
man terminfo(5):
Keypad and Function Keys
If the terminal has a keypad that transmits codes when the keys are
pressed, this information can be given. Note that it is not possible
to handle terminals where the keypad only works in local (this applies,
for example, to the unshifted HP 2621 keys). If the keypad can be set
to transmit or not transmit, give these codes as smkx and rmkx. Other‐
wise the keypad is assumed to always transmit.
As a general rule, terminfo entries with smkx/rmkx turn on/off the keypad
application mode (for both cursor- and numeric-keypads).
(I'll work through the other stuff - thanks - ncurses generally gets my
attention on Saturdays)
--
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc
Description: PGP signature
