Friday, April 21, 2023

Re: Unexpected cterm-colors

On Fri, 21 Apr 2023 13:25:42 +0200
Christian Brabandt <cblists@256bit.org> wrote:
> On Fr, 21 Apr 2023, Enan Ajmain wrote:
> > [...]
> > The color codes for NR-16 don't make sense to me. Take Yellow, for example.
> > Why is it numbered 14? 16-bit terminals use 11 for bright yellow [1]. Why is
> > it different inside Vim?
>
> It's not like Vim chose a different color, it's more like this documents
> "standard" behaviour back in the time.
>
> I believe this is just documenting the CGA standard. You can find it
> e.g. here: https://en.wikipedia.org/wiki/Color_Graphics_Adapter and
> check the Full CGA 16-color palette chart.

Thanks for the info. I haven't understood why CGA 16-color palette is
different than terminal 16-color palette, but I will try and find out.

Another thing: what does NR-16 and NR-8 mean? I can't find these terms
on the internet. Every hit I get is in the context of Vim.

P.S. In the thread-top email, I mistakenly wrote "16-bit terminals"
instead of "16-color terminals." I hope that didn't cause confusion.

--
Enan

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20230422113730.00002d6e%40gmail.com.

No comments: