[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mismatch with st terminfo files
From: |
Thomas Dickey |
Subject: |
Re: Mismatch with st terminfo files |
Date: |
Wed, 30 Oct 2019 21:34:19 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Thu, Oct 31, 2019 at 02:16:53AM +0100, Sebastian J. Bronner wrote:
> Hi ncurses maintainers,
>
> I have read all archived conversations in this list about st and its
> terminfo files. The issues seem to be repeating:
>
> Using st 0.8.2 with TERM=st-256color and the terminfo database from
> ncurses 6.1, I get problems with two applications in tmux:
>
> * neovim: tmux crashes on nvim start
> * w3m: keypresses aren't registered
>
> I have written about that in more detail in
> https://aur.archlinux.org/cgit/aur.git/plain/README.terminfo.rst?h=st .
There was a bug report for tmux which would be the right place to cite.
> When using the terminfo file supplied with st [1], all is well: vim causes
> no crashes, and w3m gets its keystrokes.
That's interesting, since st provides a corrupt file :-)
Essentially the problem was that they added capabilities which are
supposed to have values, I made one fix but overlooked another.
(The tic/infocmp programs didn't handle the case well when st's
terminal entry said a value was a boolean and another entry said it was
a string).
The most recent terminal database at the webpage fixes that (by
eliminating the defects from st' terminfo file)
https://invisible-island.net/ncurses/ncurses.html#download_database
(subsequent database updates aren't _there_ since they won't work
with the vanilla ncurses 6.1 - long story).
> I was wondering: What speaks against allowing the various packagers of
> st (debian stterm) to provide the current terminfo files as part of
That would be a bad idea, since st's developers haven't fixed their
terminfo bug (more than two years). If you do that, there's no point
in discussing the results on this list.
bye.
--
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature