Bug 1849974

Summary: ncurses-base is missing several terminfo files (alacritty, kitty)
Product: [Fedora] Fedora Reporter: Nick Black <dank>
Component: ncursesAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: mlichvar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ncurses-6.2-2.20200222.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-23 14:01:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nick Black 2020-06-23 10:23:25 UTC
Description of problem:

When I SSH into a Fedora 33 machine from an Alacritty or Kitty window, I forward export TERM=alacritty/TERM=kitty. These terminfo description files are not present in ncurses-base-6.2-1.20200222.fc33, despite having been introduced to ncurses 20181027 (and updated in 20190803 and 20200118).

Kitty is present in Fedora; Alacritty is not (but I am presently packaging it for inclusion in Fedora Core). Either way, I think these ought both be installed authoritatively from ncurses.

Version-Release number of selected component (if applicable):

6.2-1.20200222.fc33

How reproducible:

Completely

Steps to Reproduce:
1. Install ncurses-base
2. Set TERM=alacritty or TERM=kitty
3. Watch setupterm() blow up and other failures

Actual results:

infocmp alacritty
infocmp: couldn't open terminfo file /usr/share/terminfo/a/alacritty

Expected results:

infocmp alacritty ought spew a bunch of terminfo codes

Additional info:

I'm happy to provide a patch if that will speed things along. Thanks!

Comment 1 Miroslav Lichvar 2020-06-23 10:31:19 UTC
They are included in the ncurses-term subpackage. Are you asking to move them to the ncurses-base subpackage?

Comment 2 Nick Black 2020-06-23 10:56:51 UTC
So it is *frown* not sure how I missed that with `dnf whatprovides`. Thanks for the pointer.

I'd say that alacritty and kitty are pretty common, yes, but it's totally your call as to whether they belong in ncurses-base. Feel free to close this bug if you'd rather keep them in ncurses-term.

Comment 3 Miroslav Lichvar 2020-06-23 11:19:45 UTC
Ok, I'll move the descriptions.