Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 722682

Summary: x11-terms/alacritty: terminfo is missing
Product: Gentoo Linux Reporter: Aliaksei Urbanski <aliaksei.urbanski>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/alacritty/alacritty/blob/master/INSTALL.md#terminfo
Whiteboard:
Package list:
Runtime testing required: ---

Description Aliaksei Urbanski 2020-05-12 12:34:27 UTC
Hello,

I found that there is no corresponding terminfo file at /usr/share/terminfo after installing of x11-terms/alacritty.
The lack of terminfo causes issues for applications that use certain capabilities, e.g. it breaks scrolling when GNU Screen is launched.

Please consider adding a terminfo file for alacritty.
Thanks!

Best regards,
Aliaksei

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2020-05-12 15:42:14 UTC
It is shipped with ncurses.

% qfile /usr/share/terminfo/a/alacritty
sys-libs/ncurses: /usr/share/terminfo/a/alacritty

What version of ncurses do you have installed? Does it not provide this file?
Comment 2 Aliaksei Urbanski 2020-05-12 16:06:47 UTC
Hello Mike,

Ah, it's my fault. The file is actually there.
$ equery b /usr/share/terminfo/a/alacritty
 * Searching for /usr/share/terminfo/a/alacritty ...
sys-libs/ncurses-6.2-r1 (/usr/share/terminfo/a/alacritty)

I was trying to find it with
$ equery f alacritty | grep terminfo
and wasn't expecting that it comes with ncurses.
So closing this issue now.

But the issue with GNU Screen is still there, probably due to missing capabilities in the terminfo file.
It forces me to add the following line to my screenrc:
termcapinfo alacritty ti@:te@

I'll try to figure out on what side the problem is and submit a corresponding report.

Thank you for your help!