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

background color over ssh in HyperTerm #41

Closed
weslleyaraujo opened this issue Jul 19, 2016 · 8 comments
Closed

background color over ssh in HyperTerm #41

weslleyaraujo opened this issue Jul 19, 2016 · 8 comments

Comments

@weslleyaraujo
Copy link

Local

  • VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 16 2016 14:20:57)
  • echo $TERM; // xterm-256color

screen shot 2016-07-19 at 5 22 23 pm

SSH

  • VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 24 2015 02:23:23)
  • echo $TERM; // xterm-256color

screen shot 2016-07-19 at 5 22 25 pm

It seems like only the background color is slightly different over ssh then in my local vim..
any ideas what might be causing this?

@joshdick
Copy link
Owner

I'm assuming you're SSHing locally/into the same machine where Vim ran locally?

@weslleyaraujo
Copy link
Author

well, in the second screenshot is vim running over my ssh connection... I might not really understand the question 😅

@joshdick
Copy link
Owner

Are you accessing the same computer in both cases (locally in the first case and by SSHing to itself in the second case?) Or are you SSHing to a different machine that could potentially have different configuration?

@weslleyaraujo
Copy link
Author

I am SSHing to a different machine 👍

@joshdick
Copy link
Owner

It looks like the remote machine is using 256-color mode even though it's configured to use termguicolors if available.

Can you run vim --version | grep patches on both machines and paste the output here? Vim needs to be at least at patch 7.4.1799 for your pictured configuration to show the correct colors.

I suspect that your local machine (which is showing correct colors) may have a newer version of Vim than the remote one (which appears to be using 256-color mode.)

@weslleyaraujo
Copy link
Author

Indeed, it looks like this is the issue:

Local

Included patches: 1-1910

SSH

Included patches: 1-207, 209-629

I will try updating vim over ssh 👍

@weslleyaraujo
Copy link
Author

thanks for the support, working properly after upgrade :)

@joshdick
Copy link
Owner

You're welcome, glad to hear it!

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