nanorc color limitations

Asked by Tiago Silva on 2007-11-30

According the nanorc man, «legal colors for foreground and background color are: white, black, red, blue, green, yellow, magenta, and cyan. You may use the prefix "bright" to force a stronger color highlight for the foreground. If your terminal supports transparency, not specifying a bgcolor tells nano to attempt to use a transparent background.»

So, there's no way to use other colors rather than white, black, red, blue, green, yellow, magenta, and cyan? Other colours under the X11 color names, or something?

Why are (just) these colors used?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
nano Edit question
Assignee:
No assignee Edit question
Solved by:
10111
Solved:
Last query:
Last reply:
Revision history for this message
Best 10111 (joachim-neu) said :
#1

Because this colors are the only supported by the original terminal mode of graphic cards and monitors.

Revision history for this message
Tiago Silva (tiagosilva) said :
#2

You're absolutely right, I just saw the pairings in the list.

Is there a way to extend for X11 color names?

Thanks.

Revision history for this message
10111 (joachim-neu) said :
#3

Doesn't seem so, sorry.

Revision history for this message
Tiago Silva (tiagosilva) said :
#4

Bummer... that would be really interesting.

Revision history for this message
Tiago Silva (tiagosilva) said :
#5

Thanks 10111, that solved my question.