Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722682 - x11-terms/alacritty: terminfo is missing
Summary: x11-terms/alacritty: terminfo is missing
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL: https://github.com/alacritty/alacritt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 12:34 UTC by Aliaksei Urbanski
Modified: 2020-05-12 16:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!