Bug 1226256

Summary: foot: unknown TERM 'foot'
Product: [openSUSE] openSUSE Distribution Reporter: Jensen <hjensen>
Component: OtherAssignee: LIN YUCHEN <mlin+factory>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: opensuse
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jensen 2024-06-12 19:59:57 UTC
foot and foot-extra-terminfo is installed. But I can't start programs which depends on terminfo informations, then I get the error that 'foot' is not known. When I set TERM to something different (e.g. xterm) the programs start fine.
Comment 1 Arnav Singh 2024-07-01 16:12:36 UTC
The `foot` terminfo is provided by terminfo-base, ie ncurses itself.
However the terminfo-base on Leap 15.6 is older than when ncurses added
their foot terminfo so it doesn't have it. Factory is on v6.5, Leap 15.6 is on
v6.1, and foot terminfo was added in v6.2 (20210731).

For Leap 15.6, one option is to set `-Dterminfo-base-name=foot` and
remove foot-extra-terminfo package, so that there is only the foot package
that provides "foot" terminfo. Another option is to set
`-Ddefault-terminfo=foot-extra` so that foot by default will look for
"foot-extra" and a future terminfo-base update that starts providing "foot"
will not conflict. I don't use Leap so Leap maintainers should decide.

In any case, for now you can set `term=foot-extra` in your foot.ini and
it should work.