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.

On 31 Oct 2012, at 01:38, John Schmitt <marmalo...@gmail.com> wrote:

> 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 this to my .tmux.conf: set -g default-terminal "screen-256color"
>> 
>> However, it seems I need one more thing:
>> 
>> 3) start tmux with "tmux -2"
>> 
>> Is that last part really required?
>> ...
> 
> I found that it is required and that there's no setting for ~/.tmux.conf that 
> will remove the need for invoking tmux with "tmux -2".
> 
> John
> 
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to