Hacker News (curated)
new
|
past
|
comments
|
ask
|
show
|
jobs
| show hidden
rocmcd
1 day ago
|
parent
|
context
It's actually the remote machine that isn't working, but I get the frustration. What I did to fix this is to override the environment variables in your SSH config like this:
Host * SetEnv TERM=xterm-256color
exographicskip
16 hours ago
That’s a neat trick! Didn’t know setting env vars was possible in ssh configs
nasretdinov
14 hours ago
Not all environment variables will be passed through (depends on the server configuration), but stuff like TERM should
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
|
github
Host * SetEnv TERM=xterm-256color