Re: Italics in tmux

2011-04-08 Thread Tiago Resende
Here's the terminfo file, based on the screen-256color one from screen-4.0.3-11 in Arch's extra repository. Compile with: $ mkdir ~/.terminfo/ $ tic tmux.terminfo Then add to ~/.tmux.conf: set -g default-terminal 'tmux' Or just try it out with: $ export TERM=tmux # Reconstructed via inf

Re: Italics in tmux

2011-04-08 Thread Tiago Resende
On Friday, 2011-04-08, at 23:46:38 +0100, Nicholas Marriott wrote: > I think it would be better if this only uses sitm if it exists and > uses smso if it does not. I have no idea why I didn't think of this the first time. I have urxvt and the console displaying the same session right now, urxvt sh

Re: Italics in tmux

2011-04-08 Thread Nicholas Marriott
Hi I think it would be better if this only uses sitm if it exists and uses smso if it does not. Cheers On Fri, Apr 08, 2011 at 03:19:06PM -0300, Tiago Resende wrote: > Hey, guys. > > I'm trying to get italics working under tmux (cvs), especially for > editing html files in vim. I use rxvt-unic

Italics in tmux

2011-04-08 Thread Tiago Resende
Hey, guys. I'm trying to get italics working under tmux (cvs), especially for editing html files in vim. I use rxvt-unicode as my main terminal and it supports italics through its [ANSI escape code][1] (scroll down to SGR parameters): ] Code Effect ] ] 3 Italic: on [1]: htt