Frank Terbeck
2009-09-24 13:48:02 UTC
Hey list!
I've been playing around with a 256 colour xterm and tmux. I've been
following the FAQ entry and that worked.
With one exception. Colours with bold attribute appear as if the bold
attribute wasn't there.
I used this to test:
[snip]
printf '\e[01;34mfoo\n'
printf '\e[34mfoo\n'
[snap]
The former should print a 'foo' in light blue, the latter a 'foo' in
normal blue. This *works* in xterm itself, but fails if I start tmux
in the same terminal.
GNU screen behaves like tmux, but if I do this in screen:
attrcolor b "I"
...it behaves like I'd expect.
TERM in xterm is 'xterm-256color' (it doesn't matter if I use 'screen'
or 'screen-256color' inside tmux to reproduce).
If TERM is 'xterm', "bold colours" work in tmux.
Is there a way to do what screen's 'attrcolor' does? Or am I missing
something obvious?
Regards, Frank
I've been playing around with a 256 colour xterm and tmux. I've been
following the FAQ entry and that worked.
With one exception. Colours with bold attribute appear as if the bold
attribute wasn't there.
I used this to test:
[snip]
printf '\e[01;34mfoo\n'
printf '\e[34mfoo\n'
[snap]
The former should print a 'foo' in light blue, the latter a 'foo' in
normal blue. This *works* in xterm itself, but fails if I start tmux
in the same terminal.
GNU screen behaves like tmux, but if I do this in screen:
attrcolor b "I"
...it behaves like I'd expect.
TERM in xterm is 'xterm-256color' (it doesn't matter if I use 'screen'
or 'screen-256color' inside tmux to reproduce).
If TERM is 'xterm', "bold colours" work in tmux.
Is there a way to do what screen's 'attrcolor' does? Or am I missing
something obvious?
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925