[Top][All Lists]

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

[PATCH] gnu: screen: support 256 colors

From: myglc2
Subject: [PATCH] gnu: screen: support 256 colors
Date: Tue, 12 Jul 2016 15:32:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> myglc2 <address@hidden> skribis:
>> I almost always run emacs in a gnu screen session.
>> For iterm-256color, in guixSD I have observed that ...
>> 'screen; emacs -nw' ... supports 16 colors.
>> 'tmux; emacs -nw' ... supports 8.
> An indication that GNU Screen is superior!  ;-)
> Seriously though, I think that’s because tmux does not provide a
> terminfo file.  See <>.
> Does “export TERM=screen” or “TERM=xterm” helps?
> Ludo’.

Actually, we have been building screen with 16 color support. With the
attached patch and the addition of ...

term xterm-256color

... to ~/.screenrc, emacs 'M-x list-colors-display' shows 256 colors and
emacs-zenburn-theme is pleasant to look at :-)

If emacs handled the "screen.xterm-256color" term type emitted by screen
when --enable-colors256 is set, then the 'term xterm-256color' would not
be required. This should be fixed upstream, but meanwhile, 'term
xterm-256color' is a fully functional workaround AFAIKT.

Attachment: 0001-gnu-screen-support-256-colors.patch
Description: Text Data

reply via email to

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