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

Fix $TERM when running commands. #6

Open
xendk opened this issue Dec 15, 2017 · 0 comments
Open

Fix $TERM when running commands. #6

xendk opened this issue Dec 15, 2017 · 0 comments

Comments

@xendk
Copy link
Owner

xendk commented Dec 15, 2017

Apparently the docker devs think everybody uses a xterm compatible terminal: https://github.com/moby/moby/pull/26461/files#diff-3ed197c0a6f7a9ca73a3ee424e448ac1R130

Prepending export TERM=<$TERM from the env> and most likely TERMCAP as well should fix that.

For extra niceness we can add stty rows $(tput lines) cols $(tput cols) to propagate window size.

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