ludo@gnu.org (Ludovic Courtès) writes: > myglc2 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.