nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] index/RGB colors and italic/reverse/underline a


From: David Ramsey
Subject: Re: [Nano-devel] [PATCH] index/RGB colors and italic/reverse/underline attributes
Date: Tue, 20 Feb 2018 10:54:35 -0600

Benno Schulenberg:
> I hate the way things would look then: having to specify four colors
> when all you want is to make a nice color scheme for the terminal you
> are actually using.  So, "requiring", certainly not.  And it's not
> needed to get the extra colors working -- just like the italic and
> underline and what have you: leave it out, not essential, unnecessary.

What about the simpler version of specifying two colors: the first being
your index/RGB/whatever extended color, and the second being a named
color?

I've been able to get 256-color support by default in everything other
than the VTE-based terminals (XFCE4-Terminal 4.12 and MATE-Terminal
2.18, which I have to set $TERM in manually afterwards, since they
either have no way to set $TERM in their configuration, or no way that
actually works; I've heard GNOME3's Gnome-Terminal defaults to 256-color
support now, but I don't have time to build all of Gnome3).  And if I
switch to the Linux console from X11, the former doesn't support 256
colors either, at least not by default.

So, in light of all this, in order to get similar enough colors working
regardless, I need some way to set fallback colors.  For the record, the
italic and underline options do work, but I could live without them if
it came down to it.  But, without having some kind of fallback, if the
clamped colors aren't quite right, I end up needing two color schemes:
256-color and 16-color, and having to adjust my nanorc on the fly
depending on which terminal I have.  That's what *I* would call
unnecessary.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]