colors in xterm

Miguel Bazdresch lfs-01 at
Tue Apr 20 06:31:15 PDT 2004

* luis jure <ljure at> [2004-04-20 15:20]:
> hello list,
> normally i use two different xterms, one invoked simply as "xterm" with
> default white background, and the other thus:
> xterm -bg black -cr grey -fg white -C -fn 9x15 -sl 500
> the problem is that ls uses the same set of colors for both xterms, and some
> colors that are clearly visible against a dark background are unreadable on
> the other, and vice versa.
> where should i start searching? this happens in vim too, although color sets
> are supposedly different for "light" and "dark" backgrounds...

man dircolors

In the case of vim, it won't detect your type of background
automatically. You need to tell it "by hand" and it will adjust its

There is nothing magic about the "light bckg" and "dark bckg" color
schemes in vim AFAIK, they're just sort of standarized color sets that
"look good" in an average kind of way.

Miguel Bazdresch

More information about the blfs-support mailing list