Bug 1226256 - foot: unknown TERM 'foot'
Summary: foot: unknown TERM 'foot'
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: LIN YUCHEN
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 19:59 UTC by Jensen
Modified: 2024-07-01 16:15 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

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