On Fri, May 16, 2025 at 04:01:52PM +0300, Andrey Butirsky wrote: > On 4/3/25 20:29, Andrey Butirsky wrote: > > On 4/3/25 03:21, Andrey Butirsky wrote: > > > On 4/3/25 02:54, Thomas Dickey wrote: > > > > | > > > > | So what do you think about supporting it in XTerm, Thomas? > > > > > > > > https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Device-Control-functions:DCS-plus-q-Pt-ST.F95 > > > > > > I'll create a support request for systemd and report back. > > > > > https://github.com/systemd/systemd/issues/36994 > > > We tried to implement the |DCS + q Pt ST|Â sequence support in systemd, > but unfortunately it's turned out the feature apparently works only in Kitty > and Foot terminals currently, not even in XTerm itself.
That's implausible.
It's supported in xterm by default (probably available everywhere except
OpenBSD, whose developers disable features randomly):
--disable-tcap-query disable termcap query/report
Do not compile-in code to support DCS '+' control sequence, which
allows an application to ask xterm what control sequences it would
transmit for specified function keys, given the termcap or terminfo
names.
There's a test-script for the feature
https://github.com/ThomasDickey/xterm-snapshots/blob/master/vttests/tcapquery.pl
> Any comments?
>
> Please see here for the details:
> https://github.com/systemd/systemd/issues/36994#issuecomment-2886544037
The chatter there provides less useful information than my response.
Perhaps you should get a developer involved :-)
--
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc
Description: PGP signature
