Summary: | app-misc/tmux: TERM variable picked refers to a terminfo database missing in older distributions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben <ben.langenberg> |
Component: | Current packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | UNCONFIRMED --- | ||
Severity: | minor | CC: | gentoo, kfm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info from my system |
Description
Ben
2022-09-08 12:10:47 UTC
Could you try EXTRA_ECONF="--with-TERM=foo" emerge ...? If that works, you can put that same EXTRA_ECONF="..." in /etc/portage/app-misc/tmux. This has nothing in particular to do with bash. With the assistance of libtinfo from ncurses, the less(1) utility performs a series of checks to determine whether all the capabilities expected for interactive usage are covered. To see this warning is symptomatic of a missing terminfo database. Your choice of login shell cannot possibly rectify such a situation. Given that tmux is designed to be compatible with GNU screen, you could use "set -g default-terminal screen-256color". As Sam has mentioned, setting EXTRA_ECONF is another way of going about it. I would add that you also have the option of copying the missing database(s) to whichever hosts need them. These are searched for in the directory specified by TERMINFO - which normally has an implicit default of /usr/share/terminfo - or the directories specified by TERMINFO_DIRS. See terminfo(5) for more information. |