[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kitty terminfo diverges from upstream
From: |
Thomas Dickey |
Subject: |
Re: kitty terminfo diverges from upstream |
Date: |
Mon, 16 Nov 2020 18:02:08 -0500 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Mon, Nov 16, 2020 at 12:12:47PM +0000, Nick Hu wrote:
> Hi,
>
> Would you care to elaborate on the issues you mentioned? As an end-user,
> it's rather frustrating having to either manually set TERM=kitty or copy
> terminfo files around. However, I don't see any meaningful reason why this
> should be different.
The proper tool for comparing terminal descriptions is infocmp
https://invisible-island.net/ncurses/man/infocmp.1m.html
There's a reasonably up-to-date terminal database here:
https://invisible-island.net/ncurses/ncurses.html#download_database
https://invisible-island.net/ncurses/terminfo.src.html#toc-_Kitty
I'll update it in a week or two to reflect
https://lists.gnu.org/archive/html/bug-ncurses/2020-11/msg00003.html
You might want to read the FAQ (which addresses this particular issue):
https://invisible-island.net/ncurses/ncurses.faq.html#dbupdate
...and possibly go back and reread that issue #879,
which provides ample material for you to answer your question.
> Kind regards,
>
> Nick
>
> On Mon, 16 Nov 2020, 08:56 Thomas Dickey, <dickey@his.com> wrote:
>
> > On Mon, Nov 16, 2020 at 03:28:23AM +0000, Nick Hu wrote:
> > > Hi,
> > >
> > > ncurses bundles a terminfo file for kitty terminal, however it differs
> > > from the upstream terminfo file [1].
> > >
> > > I've attached the outputs of `TERM=xterm-kitty infocmp`, `TERM=kitty
> > > infocmp`, as well as a diff. For historical reasons, the former refers
> > > to the terminfo bundled with kitty (upstream), and the latter refers
> > > to the one included with ncurses. I am guessing (although this is
> > > really a guess) that simply the ncurses one needs updating. I've also
> > > reported this on the kitty bug tracker here [2].
> > >
> > > [1]:
> > https://github.com/kovidgoyal/kitty/blob/master/terminfo/kitty.terminfo
> > > [2]:
> > https://github.com/kovidgoyal/kitty/issues/879#issuecomment-727708887
> >
> > sorry - no. There's differences, but almost all reflecting problems in
> > kitty.
> >
> > regards, etc.
> >
> > --
> > Thomas E. Dickey <dickey@invisible-island.net>
> > https://invisible-island.net
> > ftp://ftp.invisible-island.net
> >
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature