LWN.net Logo

Colour ls

Colour ls

Posted Dec 2, 2004 18:54 UTC (Thu) by iabervon (subscriber, #722)
In reply to: Colour ls by ewen
Parent article: Debian and the hot babe problem

An alternative (which I do) is to make your colors contrast better with a dark background:

XTerm*background: MidnightBlue
XTerm*color0: MidnightBlue
XTerm*color1: firebrick1
XTerm*color4: DodgerBlue
XTerm*color12: DodgerBlue
XTerm*color5: violet

(xterm does the "bright" colors with bold, which is sufficiently visible for me for 9 and 13 but not 12)

I have a little cat script to use ANSI escape sequences to display all the colors, bright and normal, when is good for tuning this (but it's a bit tricky to post, being full of ESC characters).


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds