Re: xterm + tmux 256 colors

2010-02-17 Thread J.C. Roberts
On Wed, 17 Feb 2010 15:48:42 -0800 "J.C. Roberts" wrote: > On Wed, 17 Feb 2010 23:38:22 +0100 frantisek holop > wrote: > > > i am trying to make tmux use 256 colors. > > > > i have found this: > > http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html > > > > i have done

Re: xterm + tmux 256 colors

2010-02-17 Thread J.C. Roberts
On Wed, 17 Feb 2010 23:38:22 +0100 frantisek holop wrote: > i am trying to make tmux use 256 colors. > > i have found this: > http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html > > i have done step 2: > > $ xterm > $ echo TERM > $ TERM=xterm-256color > $ tput colors >

Re: xterm + tmux 256 colors

2010-02-17 Thread Ryan Flannery
On Wed, Feb 17, 2010 at 6:17 PM, Ted Unangst wrote: > Nice catch, I missed that. > I know getting 256 color support working requires touching a few things. I don't know if that commit says "it now works" or simply "it's one step closer" So ya, I was really asking. :)

Re: xterm + tmux 256 colors

2010-02-17 Thread Ryan Flannery
On Wed, Feb 17, 2010 at 5:58 PM, Ted Unangst wrote: > On Wed, Feb 17, 2010 at 5:38 PM, frantisek holop wrote: >> i am trying to make tmux use 256 colors. >> >> i have found this: >> http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html >> >> i have done step 2: >> >> $ xter

Re: xterm + tmux 256 colors

2010-02-17 Thread Ted Unangst
On Wed, Feb 17, 2010 at 5:58 PM, Ted Unangst wrote: > It's probably worth noting at this point that the xterm shipped with > OpenBSD doesn't support 256 colors. Oh never mind, I missed a commit. If you're running current, you do get 256 colors.

Re: xterm + tmux 256 colors

2010-02-17 Thread frantisek holop
hmm, on Wed, Feb 17, 2010 at 05:58:12PM -0500, Ted Unangst said that > On Wed, Feb 17, 2010 at 5:38 PM, frantisek holop wrote: > > i am trying to make tmux use 256 colors. > > > > i have found this: > > http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html > > > > i have don

Re: xterm + tmux 256 colors

2010-02-17 Thread joshua stein
> It's probably worth noting at this point that the xterm shipped with > OpenBSD doesn't support 256 colors. it is supported in snapshots after january 13th; it was enabled following nicm's ncurses update: http://www.openbsd.org/cgi-bin/cvsweb/xenocara/app/xterm/xtermcfg.h

Re: xterm + tmux 256 colors

2010-02-17 Thread Nicholas Marriott
The two common ways are to set default-terminal and not touch TERM elsewhere, or to do something like [ -n "$TMUX" ] && export TERM=screen-256color. in .profile or whatnot. You can do it whichever way you like. On Wed, Feb 17, 2010 at 11:38:22PM +0100, frantisek holop wrote: > hi there

Re: xterm + tmux 256 colors

2010-02-17 Thread Ted Unangst
On Wed, Feb 17, 2010 at 5:38 PM, frantisek holop wrote: > i am trying to make tmux use 256 colors. > > i have found this: > http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html > > i have done step 2: > > $ xterm > $ echo TERM > $ TERM=xterm-256color It's probably worth no

Re: xterm + tmux 256 colors

2010-02-17 Thread James Records
Here is how I handle this, *make sure you have vim and colorls packages installed, then for your .vimrc do something like this:* syntax on set nocompatible set autoindent set smartindent set tabstop=4 set shiftwidth=4 set showmatch set vb t_vb= set ruler set incsearch set number *put this in you

xterm + tmux 256 colors

2010-02-17 Thread frantisek holop
hi there, i am trying to make tmux use 256 colors. i have found this: http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg707066.html i have done step 2: $ xterm $ echo TERM $ TERM=xterm-256color $ tput colors 256 but it is not clear to me how can i do step 1. what is the proper w