enable the 256 colors support in xterm?

Dan Nicolaescu dann at godzilla.ics.uci.edu
Sun Aug 29 23:15:26 UTC 2004



Can the FC3 xterm be compiled with support for 256 colors enabled? 
(i.e. configure with --enable-256-color)

This would enable applications to take advantage of a higher number
of colors.
For example, the next version of Emacs will have support for 256 color
xterms. 

With that support, syntax coloring in emacs running in an xterm looks
almost identical to emacs running in X11. This is great for using
emacs over slow connections.

As an illustration of this means, please look at:
http://www.ics.uci.edu/~dann/emacs-X11-256c-8c.jpg

It shows (from left to right) 1 X11 emacs frame (with the toolbar and
scrollbar turned off), 1 emacs running in a 256 color xterm 
and 1 emacs running in a classic 8 color xterm. 
font-lock-* are the colors emacs uses for syntax highlighting, observe
that there's almost no difference between the colors used by the X11
emacs frame and emacs running in a 256 color xterm. 

(This support is not present in emacs-21.3 but it can probably be
easily backported, if desired. It would probably be an ~200 lines
patch -- elisp only). 

Thanks.

        --dan





More information about the fedora-devel-list mailing list