[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ncurses-bug
Subject:    Re: Mismatch with st terminfo files
From:       Thomas Dickey <dickey () his ! com>
Date:       2019-10-31 1:34:19
Message-ID: 20191031013419.n54j4ef3n2pywdi6 () prl-debianold-64 ! jexium-island ! net
[Download RAW message or body]


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 <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic