[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: blue on black is unreadable



On Tue, Mar 21, 2000 at 10:53:47PM -0000, debian-devel-digest-request@lists.debian.org wrote:

> Date: Tue, 21 Mar 2000 17:21:22 +0200
> From: Lauri Tischler <lauri.tischler@efore.fi>
> To: debian-devel@lists.debian.org
> Subject: Re: blue on black is unreadable (was Re: Bug#60753: mutt: /etc/Muttrc
>  should not use colors)
> 
> Junichi Uekawa wrote:
> > 
> > garabik> > lynx has the same problem. hyper links are blue on black, which makes it
> > garabik> > very difficult to see where you are going. fixed with:
> > garabik> >
> > garabik> >      COLOR:1:cyan:black
> > garabik> >      COLOR:5:brightcyan:black
> > 
> > The same can be said about the default "ls" colors.
> > It shows directory names with blue on black.
> 
> These must be set up by some bug-eyed alien with colour-resolution going
> well into ultraviolet. :)
> 

 The Linux text console is readable (barely), but xterm uses and even worse
colour for ANSI blue.  (assuming black background).  The fix for this
is to change the colour used by xterm for ANSI blue, instead of changing all
apps to use a different ANSI colour escape code.  xterm and (some) friends
use the XTerm*colorn resource to say what X colour to use for ANSI colour n.
This is documented in xterm(1).  I like to use the following additions to
/etc/X11/Xresources/xterm:

! local additions  (PJC)

/* blue that is used by color ls, and by lynx.  this is brighter than
default */
#define BLUE_COLOUR #7777ff

XTerm*color4:           BLUE_COLOUR
XTerm*color12:          BLUE_COLOUR


XTerm*SimpleMenu.background:    yellow
XTerm*SimpleMenu*foreground:    black

XTerm*reverseWrap: true


 This makes ANSI blue nice and readable, in bold and non-bold.

 enjoy :)

-- 
#define X(x,y) x##y
DUPS Secretary ; http://is2.dal.ca/~dups/
Peter Cordes ;  e-mail: X(peter@cordes.phys. , dal.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BCE


Reply to: