Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:42 PM, Rob wrote: > On 5 November 2011 19:21, Octoploid wrote: >> I switched to tmux yesterday and it's mostly working fine. >> There are however two small issues that came across: >> >> 2. When I edit a file in vim and (horizontally) split the window >>   and then close

Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:52 PM, Octoploid wrote: > On Sat, Nov 5, 2011 at 8:42 PM, Rob wrote: >> On 5 November 2011 19:21, Octoploid wrote: >>> I switched to tmux yesterday and it's mostly working fine. >>> There are however two small issues that came across: >>> >>> 2. When I edit a file in vim

Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:45 PM, Octoploid wrote: > On Sat, Nov 5, 2011 at 8:39 PM, Nicholas Marriott > wrote: >> mc is an ncurses program, yes? What does it's -x flag do? Thanks for the hint. I just switched to the slang implementation and the problem is gone: # USE="-ncurses slang" emerge mc

Re: Two small problems with vim and mc

2011-11-06 Thread Octoploid
On Sat, Nov 5, 2011 at 8:39 PM, Nicholas Marriott wrote: > mc is an ncurses program, yes? What does it's -x flag do? Yes. From the man page: -x, --xterm Force xterm mode. Used when running on xterm-capable terminals (two screen modes, and able to send mouse escape s

Re: Color issue with rxvt-unicode, freebsd and tmux

2011-11-06 Thread Natacha Porté
Hello, > On Sun, Nov 06, 2011 at 11:55:23AM +, Nicholas Marriott wrote: > > Your termcap entries do not have either AX or op, so they will both be > > missing. This means tmux can't tell that the terminal supports default > > colours and has to fallback on assuming the default is white on blac

Typo in tmux.vim

2011-11-06 Thread Bastien Dejean
Hi, syn keyword tmuxOptsSetw word-separators window-status-alert-alert should be syn keyword tmuxOptsSetw word-separators window-status-alert-attr Greetings, -- Bastien -- RSA(R) Conference 2012 Save $700 by N

Re: Color issue with rxvt-unicode, freebsd and tmux

2011-11-06 Thread Nicholas Marriott
looks like your freebsd is too old, latest termcap.src i have has op in rxvt-256color: # Termcap entry for rxvt-unicode, taken from http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.html#I_need_a_termcap_file_entry rxvt-unicode|rxvt-unicode terminal (X Window System):\ :SF=\E[%dS:SR=\E[%dT:bw

Re: Color issue with rxvt-unicode, freebsd and tmux

2011-11-06 Thread Nicholas Marriott
tmux will always use terminfo, whether that is converted internally from termcap by ncurses or what is not that important, it'll do the same for the stuff tmux gets as for infocmp if they are linked against the same ncurses. Actually the best way to check what tmux is using is probably to look at t

Re: Color issue with rxvt-unicode, freebsd and tmux

2011-11-06 Thread Natacha Porté
Hello, on Sunday 06 November 2011 at 10:14, Nicholas Marriott wrote: > Yes terminals have a default colour pair (if they have AX or op in > terminfo anyway), it's set with \033[39m and \033[49m or sgr0. I was expecting terminal emulators like rxvt-unicode to have a default color pair, but I thoug

Re: Color issue with rxvt-unicode, freebsd and tmux

2011-11-06 Thread Nicholas Marriott
Yes terminals have a default colour pair (if they have AX or op in terminfo anyway), it's set with \033[39m and \033[49m or sgr0. \033[38;5;7m is right for rxvt-unicode-256color if tmux wants to set colour 7 (it's the same as tput setaf 7|cat -v) but tmux should not be setting colour 7, it should