On Sat, Oct 18, 2025 at 12:24:05PM +0200, Jakub Horký wrote:
> Signed-off-by: Jakub Horký <[email protected]>
> ---
>  misc/terminfo.src | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/misc/terminfo.src b/misc/terminfo.src
> index f54cff47..d309a361 100644
> --- a/misc/terminfo.src
> +++ b/misc/terminfo.src
> @@ -5049,9 +5049,10 @@ xterm-xfree86|xterm terminal emulator (XFree86),
>  
>  xterm+nofkeys|building block for xterm fkey-variants,
>       npc,
> -     kcbt=\E[Z, nel=\EE, use=ecma+index, use=ansi+rep,
> -     use=ecma+strikeout, use=vt420+lrmm, use=xterm+focus,
> -     use=xterm+sm+1006, use=xterm+tmux, use=ecma+italics,
> +     kcbt=\E[Z, kmenu=\E[29~, kMNU=\E[29;2~, kMNU3=\E[29;3~, kMNU4=\E[29;4~,
> +     kMNU5=\E[29;5~, kMNU6=\E[29;6~, kMNU7=\E[29;7~, nel=\EE,

Presumably you're referring to the DEC label of F16 as "Menu".

There's two problems with the suggested change.

First, you're adding a function key definition to a building block which
is not used for that purpose.

Second, having two names for the same key isn't something that I'd recommend,
since curses applications will detect the first key in the table.

tic can tell you this.  There are some, but a nuisance just the same:

"terminfo.src", terminal 'st-direct': conflicting key definitions (using the 
last)
... KEY_A1 (capability "ka1") is the same as KEY_HOME (capability "khome")
... KEY_A3 (capability "ka3") is the same as KEY_PPAGE (capability "kpp")
... KEY_C1 (capability "kc1") is the same as KEY_END (capability "kend")
... KEY_C3 (capability "kc3") is the same as KEY_NPAGE (capability "knp")
... KEY_DL (capability "kdl1") is the same as KEY_SDC (capability "kDC")
... KEY_EIC (capability "krmir") is the same as KEY_SIC (capability "kIC")
... KEY_EOL (capability "kel") is the same as KEY_SEND (capability "kEND")

> +     use=ecma+index, use=ansi+rep, use=ecma+strikeout, use=vt420+lrmm,
> +     use=xterm+focus, use=xterm+sm+1006, use=xterm+tmux, use=ecma+italics,
>       use=xterm+keypad+novt, use=xterm-basic,
>  
>  xterm-p370|xterm patch #370,
> @@ -28032,6 +28033,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
>  #      key set for other terminals; add xterm+keypad+all and
>  #      xterm+keypad+novt for full-featured xterm and fix xterm-vt220
>  #    + add kbeg, kp5 keys to xterm+noapp
> +#    + add kmenu including shifted variants to xterm+nofkeys
>  #    (all by Jakub Horky)
>  #
>  ######## SHANTIH!  SHANTIH!  SHANTIH!
> -- 
> 2.43.0
> 
> 
> 

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to