[Top][All Lists]

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

Re: [Help-nano] Understanding syntax highlighting in nano

From: Benno Schulenberg
Subject: Re: [Help-nano] Understanding syntax highlighting in nano
Date: Sat, 30 Dec 2017 18:18:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

Hello Tim,

Op 30-12-17 om 12:58 schreef address@hidden:
1)  I suspect that the eight basic colours that can be selected — white,
black, red, blue, green, yellow, magenta, and cyan — map directly (and
numerically) to the terminal palette (which, in my case, is GNOME Terminal
3.18.3 on Ubuntu 16.04.3).  If that's the case, then the /only/ way I can
manipulate the palette is to do so at the terminal level — correct?

Correct.  There are two patches that add support for 256 colors, though:

So... if you find nano lacking in color, you could brush one of those up
and start lobbying for its inclusion.  :)

2)  I'm familiar with Perl regular expressions, but the regexes used in syntax
 files seem to be a tad different.  I gather from the docs that they are
'extended regular expressions'.  Am I to understand from this that we have
/full/ support of everything in Chapter 3 of the /GNU Grep 3 Manual/ (

Right.  Although I don't see mention of \` and \' there, so the following
may be a more complete summary:


reply via email to

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