Tuesday, January 9, 2018

Re: colors missing in rgb.txt?

On 09.01.18 07:55, Christian Brabandt wrote:
> IIRC, rgb.txt came from the X11 Server sources and those colors were not
> defined there.
>
> Anyhow, I cannot find it in the X11 Server source and in some commits
> they removed all references to that file. So it might no longer exist in
> a maintained form.

On my slightly dated debian install:

$ diff -w /home/src/vim/runtime/rgb.txt /usr/share/X11/rgb.txt
1c1
< ! $XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp $
---
> ! $Xorg: rgb.txt,v 1.3 2000/08/17 19:54:00 cpqbld Exp $
477a478
> 215 7 81 DebianRed

$ wc -l /home/src/vim/runtime/rgb.txt /usr/share/X11/rgb.txt
753 /home/src/vim/runtime/rgb.txt
754 /usr/share/X11/rgb.txt

So 752 of 752 colours are identical in name an hue, from 1994 to a
couple of years ago. (Most likely till today, too.)

On 09.01.18 10:07, Boyko Bantchev wrote:
> The Wikipedia article titled "X11 color names"
>
> http://en.wikipedia.org/wiki/X11_color_names
>
> says w.r.t. the so called "X11 colours" the following:
>
> "Color names are not standardized by Xlib or the X11 protocol.
> The list does not show continuity either in selected color
> values or in color names, and some color triplets have multiple
> names. Despite this, graphic designers and others got used to
> them, making it practically impossible to introduce a different
> list."

Providing multiple names for a particular shading is the technique for
merging colour lists from multiple vendors into a common standard, and
for allowing American dialect spelling of grey in addition to English.

The article's uncertainty over continuity is difficult to credit. I have
been using DarkSlateGrey, wheat3, and a few others since SunOS 4.1.3 in
around 1990, through SolarisX86, and now various linux distros. I
recognise a lot of the colours from 1990, such as the goldenrod
variants, salmon, chocolate, and all the greys.

That is confirmed in the third paragraph of the article cited above:
========================================================================
"Approximately the full list as is available today shipped with X11R4 on
29 January 1989, ..."
========================================================================

I can't comment on vim's private colour names - I wouldn't know how
to invoke them, as I do all my colour setting in the xterm.

Erik

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: