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

Bug#241717: xterm: various colour problems (mouse cursor color, text colours)

On Thu, Apr 08, 2004 at 05:31:09PM +0200, Marc Lehmann wrote:
>    framebuffer:  #0000aa (standard vga actually, and real vt100 AFAICR)

vt100's do not, never have done color.

>    gnome-terminal#0000aa
>    Eterm:        #0000cc
>    rxvt:         #0000cd
>    mlterm:       #0000e6
>    pterm:        #0000eb
>    konsole:      #1818b2 (quite different, but still mostly the same blue)
>    xterm-debian: #1e90ff (drastically different colour, especially
>                           with regards to contrast)

The original choice of color for xterm was done using the color names
from rgb.txt in 1995.  I recall looking (when I started working on it
in 1996) to see if there was a better choice, but also preferred using
the names (which happened to be different on some platforms).  rxvt
used numbers rather than names from the outset.  konsole and gnome-terminal
came around a few years later, and took for granted the improved display

The so-called "pure" colors for blue in this host's rgb.txt are:

  0   0   0		black
  0   0 128		navy
  0   0 139		blue4
  0   0 205		blue3
  0   0 238		blue2
  0   0 255		blue1

A reasonable alternate choice (still improving contrast for blue/black) might
for instance be blue2, which is a little brighter (0xee) than the value used by
pterm.  On the other hand, it might not display well with a blue/white
combination on a low-quality display (I recall some issues about that).

Thomas E. Dickey

Attachment: pgpcL9YJiOYJu.pgp
Description: PGP signature

Reply to: