Re: getting 256 colors

2012-10-30 Thread John Schmitt
On Wed, Oct 31, 2012 at 01:44:11AM +, Jim Myhrberg wrote: > What's the value of TERM before you launch tmux? My guess is that it is > "xterm" rather than "xterm-256color". Ensure iTerm/Terminal is set to use > *-256color. I use konsole on Fedora 17. My $TERM=screen256-color. If I launch tm

Re: getting 256 colors

2012-10-30 Thread Mark Volkmann
Thanks so much everyone for the suggestions! It turns out that I had set the iTerm preferences as described below, but I had not quit iTerm2 and restarted it, so my TERM environment variable was still set to "xterm". Restarting it corrected the problem. -- R. Mark Volkmann Object Computing, Inc.

Re: getting 256 colors

2012-10-30 Thread Adrian Luff
If you have to specify "tmux -2" then something is wrong with your environment. That says your terminal supports 256 colors but isn't declaring it correctly. With OS X 10.7+ and the Apple Terminal, configure "xterm-256color" support. This is done in Preferences -> Settings -> Advanced -> Declare

Re: getting 256 colors

2012-10-30 Thread John Schmitt
On Tue, Oct 30, 2012 at 08:15:50PM -0500, Mark Volkmann wrote: > Just finished reading the excellent book "tmux: Productive Mouse-Free > Development"! I'm working on a Mac. The book indicates that the only > things I have to do to get 256 colors on a Mac are: > > 1) run tmux from iTerm2 > 2) add t

getting 256 colors

2012-10-30 Thread Mark Volkmann
Just finished reading the excellent book "tmux: Productive Mouse-Free Development"! I'm working on a Mac. The book indicates that the only things I have to do to get 256 colors on a Mac are: 1) run tmux from iTerm2 2) add this to my .tmux.conf: set -g default-terminal "screen-256color" However, i

Re: Special characters in the status bar

2012-10-30 Thread Adrian Luff
Can you just use the desired characters directly in your .tmux.conf? With UTF-8 support enabled for my (Mac) terminal and in tmux.conf I am able to use characters successfully. Here's what I mean... .tmux.conf > # Expect UTF-8 sequences to appear in this window > set-window-option -g utf8 on > #

Special characters in the status bar

2012-10-30 Thread ian m
Hello, I am running tmux on an embedded linux system. I have been trying to add special characters to my status bar in tmux for a few days. This was made difficult because when I attempt to set the status bar in my config file through something like set -g status-right "#(echo -e '\xnn\xnn)'"