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

no TERM environment #1

Open
dkruyt opened this issue May 26, 2021 · 0 comments
Open

no TERM environment #1

dkruyt opened this issue May 26, 2021 · 0 comments

Comments

@dkruyt
Copy link

dkruyt commented May 26, 2021

Great project, like it is in go, so easy portable...

But I find there is a issue , there is no TERM environment set.

 40f72c8c915f:/$ echo $TERM
dumb

So some application will fail, need to set TERM manual.
export TERM=xterm-256color

But this should be done when opening the shell, from the go binairy.

something like this? cmd.Env = append(os.Environ(), "TERM=xterm-256color")

docktermj referenced this issue in docktermj/cloudshell May 29, 2023
docktermj referenced this issue in docktermj/cloudshell May 29, 2023
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

1 participant