bug-ncurses
[Top][All Lists]
Advanced

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

Re: querying extended keys in rxvt


From: Thomas Dickey
Subject: Re: querying extended keys in rxvt
Date: Fri, 3 Jun 2022 19:34:13 -0400
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Jun 03, 2022 at 02:27:57PM -0000, Tavis Ormandy wrote:
> Hello - I had two questions about terminfo, I hope it's okay to ask them
> here, the help list doesn't look used.
> 
> I've noticed that if I ask tigetstr() what kf49 (Alt-F1) is in
> rxvt, it returns error. I can see why, rxvt sends \ekf1. No problem, but
> is there a capability I can query to know that's what I'll get?

you're likely talking about "rxvt-unicode", which has mostly replaced
"rxvt".  But the keyboard behavior is almost the same (with a couple
of keys by default bound to special features).

actually I've only observed rxvt/urxvt doing anything with modifiers for
shift and control.  In a quick check here, alt isn't changing any keys.
But urxvt is configurable (see the "keysym" resource in its manpage).
 
> I also see that there is no kf25, it's not so obvious why that one is
> missing!

I have kf25=\E[13\^,

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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