Hmm okay, I managed to use \e for one entry and \E for the other... :-/ time to
cut down on the beer I guess ;-).
On Thu, Sep 24, 2009 at 10:05:14PM +0200, Frank Terbeck wrote:
> Nicholas Marriott :
> > Did you use \e or \E in terminal-overrides? tmux expects \e but terminfo
> > uses
> > \E whic
Nicholas Marriott :
> Did you use \e or \E in terminal-overrides? tmux expects \e but terminfo uses
> \E which won't work in tmux.
Heh, well. I indeed used \E, as you used both in your example line
earlier and infocmp's output used \E, too. So, I tried both as \E when
mixing \E and \e had failed..
Nicholas Marriott :
> Maybe I got the terminal-overrides string wrong, can you run tmux server-info
> after starting tmux with it set and tell me what setaf and setab are set to?
This is what I get:
68: setab: (string) E[4%p1%dm
69: setaf: (string) E[3%p1%dm
Regards, Frank
--
Maybe I got the terminal-overrides string wrong, can you run tmux server-info
after starting tmux with it set and tell me what setaf and setab are set to?
On Thu, Sep 24, 2009 at 08:41:47PM +0200, Frank Terbeck wrote:
> Nicholas Marriott :
> > There are differences in how setaf is defined between
Nicholas Marriott :
> There are differences in how setaf is defined between xterm and
> xterm-256color:
>
> $ TERM=xterm tput setaf 4|cat -v; echo
> ^[[34m
> $ TERM=xterm-256color tput setaf 4|cat -v; echo
> ^[[38;5;4m
>
> So, when you do:
>
> $ printf '\e[1;34mabc'
>
> tmux sets colour 4 usin
Hi
There are differences in how setaf is defined between xterm and xterm-256color:
$ TERM=xterm tput setaf 4|cat -v; echo
^[[34m
$ TERM=xterm-256color tput setaf 4|cat -v; echo
^[[38;5;4m
So, when you do:
$ printf '\e[1;34mabc'
tmux sets colour 4 using setaf which with xterm-256color ends up a
Nicholas Marriott :
> Are you expecting a bold font as well?
Well, no. I'm using the following resources, that should turn off bold
characters everywhere in xterm:
[snip]
XTerm*font: -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
XTerm*boldFont: -*-terminus-*-*-*-*-12-*-*-*-*-*-
Hi
Are you expecting a bold font as well?
It works fine for me with putty, I'll try xterm when I get home.
There are various implementations of bold in 256 colour mode,
https://sourceforge.net/tracker/?func=detail&aid=2810418&group_id=200378&atid=973265
may be related.
On Thu, Sep 24, 2009
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]
T