Colors¶
Bash Colors¶
Script to display all terminal colors
msgcat --color=test
Putty Colors¶
We need to use putty-256color instead of xterm-256color or else the Home key is not working.
Putty shows prompt with no color, but Linux SSH can
In Putty, change Settings -> Connection > Data > Terminal-type string to: putty-256color.
"Emulate" 256 colors in PuTTY terminal
- Configure Putty
In Settings > Windows > Colours there is a check box for "Allow terminal to use xterm 256-colour mode". 2. Let the app know
You'll probably have to change Settings -> Connection > Data > Terminal-type string to: xterm-256color
if your server has a terminfo entry for putty-256color, typically in /usr/share/terminfo/p/putty-256color, you can set Putty's Terminal-Type to putty-256color instead.
The main thing here is to make the server use an available Terminfo entry that most closely matches the way Putty is configured.
24bit¶
LSCOLORS Schemes¶
for theme in $(vivid themes); do
echo "Theme: $theme";
LS_COLORS=$(vivid generate $theme);
ls;
echo;
done
vivid generate one-light
LSCOLORS=$(vivid generate one-light)