[Top][All Lists]

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

Re: Is it possible to have 256 colors in Emacs on framebuffer-enabled tt

From: zwz
Subject: Re: Is it possible to have 256 colors in Emacs on framebuffer-enabled tty
Date: Mon, 29 Aug 2011 17:06:03 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: zwz <address@hidden>
>> Date: Mon, 29 Aug 2011 14:06:02 +0800
>> > First, your terminal should report to Emacs that it has 256 colors.
>> > Does it?
>> How to get the report?
>> In bash, the cmd "tput colors" reports 256.
>> While in Emacs, it does show 256 color *names* (by M-x
>> list-color-display).
> list-color-display _is_ the correct way.
>> But in fact only the first 8 colors are showable,
>> as the 8 color names are shown in the background with the
> corresponding
>> color; the other color names are shown with no color background.
> What are the names of the other colors, beyond the first 8, shown by
> list-color-display?

I made some mistake. The problem "tput color -> 256; Emacs -> 256 but in
fact 8" only happens when I set TERM=xterm-256color, which is not the
case since I am actually using fbterm.

When I set TERM=fbterm. "tput color" also reports 256; while in Emacs
list-color-display just shows 8 colors. The issue remains.

BTW, the other color names are (when TERM=xterm-256color):
brightblack            brightblack                                              
brightred              brightred                                                
brightgreen            brightgreen                                              
brightyellow           brightyellow                                             
brightblue             brightblue                                               
brightmagenta          brightmagenta                                            
brightcyan             brightcyan                                               
brightwhite            brightwhite                                              
color-16               color-16                                                 
color-17               color-17                                                 
color-255              color-255                                                

> Also, which of the lisp/term/*.el files is being loaded by Emacs on
> startup for that terminal?
How can I tell which lisp/term/*.el is loaded?

reply via email to

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