Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set up TERM through environment variable #9

Open
stellarpower opened this issue Jan 28, 2024 · 1 comment
Open

Cannot set up TERM through environment variable #9

stellarpower opened this issue Jan 28, 2024 · 1 comment

Comments

@stellarpower
Copy link
Contributor

Hi,

This is great for containers, as I'm at a loss without a sensible interactive shell, so much appreciated.

One thing I always seem to encounter in containers, and via SSH hosts, as well as locally, is the following:

warning: Could not set up terminal.
warning: TERM environment variable set to 'xterm-256color'.
warning: Check that this terminal type is supported on this system.
warning: Could not set up terminal using the fallback terminal type 'xterm'.
warning: Could not set up terminal using the fallback terminal type 'ansi'.
warning: Could not set up terminal using the fallback terminal type 'dumb'.

AFAIK my TERM variable is set up appropriately as it works whatever machine I remote into or when I run containers normally; I've had no other major problems, but this crops up every time I run portable fish, including when just on the host root. Which is a shame as overwriting and colours stop working, which are both main attractive features of fish.

Does the terminfo datbase perhaps need to be bundled into the build?

Thanks

@anki-code
Copy link
Member

Hey, may be the zsh version will give answer. PR is welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants