Reputation: 930
I'm using Bash on Ubuntu on Windows. I noticed that some colors are completely wrong.
Screenshot of result of running colortest-256 (colortest package):
You can notice that in system colors, there are several missing colors, the color cubes are completely off, and the grayscale ramp only has 3 shades. This is what I found running the colortest-256 is supposed to yield:
I've set my TERM to be xterm-256 colors. I'm using a clean install (fully removed linux subsystem and deleted the lxss folder and reinstalled) - is it a problem with my installation or does it not support the colours that are missing?
Upvotes: 9
Views: 3989
Reputation: 10984
You are most likely running Anniversary Update which only supports 16 colors.
You can either upgrade to recent Windows 10 Insider builds, or wait for Windows 10 Creator Update due in spring 2017.
Then you can do this: 😀
Windows 10 Insiders Build #14931 introduced 24-bit color support in the Windows Console:
Upvotes: 4
Reputation: 3745
The simplest solution for me is to use wsltty: https://github.com/mintty/wsltty/releases It is the terminal of cygwin, adapted to run bash on Ubuntu on Windows instead.
You can also install an X server like Xming: https://sourceforge.net/projects/xming/ , and run a terminal in it. Might be too complicated if you don't need an X server.
Upvotes: 0