bug-ncurses
[Top][All Lists]
Advanced

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

Re: [PATCH] Update Alacritty terminfo


From: Thomas Dickey
Subject: Re: [PATCH] Update Alacritty terminfo
Date: Wed, 15 Jan 2020 04:33:15 -0500
User-agent: NeoMutt/20170113 (1.7.2)

On Tue, Jan 14, 2020 at 10:08:02PM +0100, Christian Dürr wrote:
> On Tue, Jan 14, 2020, at 10:31, Thomas Dickey wrote:
> > On Mon, Jan 13, 2020 at 08:50:22PM +0100, Christian Dürr wrote:
> > > On Sun, Jan 12, 2020, at 12:38, Thomas Dickey wrote:
> > > > On Tue, Dec 31, 2019 at 05:00:04PM +0100, Christian Dürr wrote:
> > > > > This updates the Alacritty terminfo to the latest revision available 
> > > > > in its
> > > > > repository.
> > > >
> > > > I've been busy, but took a quick look last night.
> > > >
> > > > Offhand (I haven't investigated the key-modifiers),
> > > > the only change needed appears to be the overlooked "ech" feature.
> > >
> > > I'd assume by this you mean that the `ech` feature should be removed, 
> > > since
> > > Alacritty does not support it?
> >
> > no - the reverse.  In my comments before the entry, I had observed in
> > the older version that ech didn't work properly, and later it did.
> > In the entry I had left it cancelled, e.g.,
> >
> >     ech@,
> >
> > Removing that restores the feature (in changes for this week).
> 
> Oh, that explains a lot of misunderstandings I've had with your original 
> email,
> thanks for clearing that up.
> 
> The original cause behind this patch was actually a report that mouse
> interactions weren't working in `htop`, which obviously isn't explained by the
> `ech` capability. However I took the opportunity to look into this myself and 
> it
> seems like there are some interesting differences in the user-defined
> capabilities.
> 
> Just for reference, here's the output of `infocmp -xd` of the terminfo I've 
> sent
> in the original patch versus the latest ncurses version:
> 
> ```
> comparing alacritty-ncurses to alacritty.
>     comparing booleans.
>     comparing numbers.
>       pairs: 65536, 32767.
>     comparing strings.
>       ech: NULL, '\E[%p1%dX'.
>       TS: '\E]2;', NULL.
>       XM: '\E[?1006;1000%?%p1%{1}%=%th%el%;', NULL.
>       xm: '\E[<%p1%d;%p2%d;%p3%d;%?%p4%tM%em%;', NULL.

The mouse issue (XM/xm) was addressed here:

20181124
        + modify the initialization checks for mouse so that the xterm+sm+1006
          block will work with terminal descriptions not mentioning xterm
          (report by Tomas Janousek).

which (since this is patching current ncurses) is not relevant anymore.

I made a to-do note to expand TS/XM/xm in user_caps(5), e.g.,

        https://invisible-island.net/ncurses/man/user_caps.5.html

Using the current terminfo with older ncurses doesn't work properly.
I'll solve that by making a new release, once I'm done with test-builds
and documentation.

-- 
Thomas E. Dickey <address@hidden>
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]