Thanks, applied. I made some minor tweaks and changed ~/.screen.conf to
~/.tmux.conf ;-).


On Sat, Apr 09, 2011 at 01:52:37PM -0300, Tiago Resende wrote:
> OK, now this is embarrassing. This time I got it right, I swear. Sorry
> for cluttering everyone's mailboxes!
> 
> ----FAQ----
> 
> * vim or $otherprogram displays reverse video instead of italics, even though
>   tmux displays italics just fine in the status line. What's wrong?
> 
> Screen's terminfo description lacks italics mode and has standout mode in its
> place. To make applications aware that tmux supports italics, you'll need to
> create its own terminfo file:
> 
>       $ mkdir $HOME/.terminfo/
>       $ screen_terminfo="screen"
>       $ infocmp "$screen_terminfo" | sed \
>               -e 's/^screen[^|]*\|[^,]*,/screen-it|screen with italics 
> support,/' \
>               -e 's/smso=[^,]*,/smso=\\E[7m,/' \
>               -e 's/rmso=[^,]*,/rmso=\\E[27m,/' \
>               -e '$s/$/ sitm=\\E[3m, ritm=\\E[23m,/' > /tmp/screen.terminfo
>       $ tic /tmp/screen.terminfo
> 
> Now add to ~/.screen.conf:
>       
>       set -g default-terminal "screen-it"
> 
> If your terminal supports 256 colors, use
> 
>       $ screen_terminfo="screen-256color"
> 
> instead of "screen". See the FAQ entry about 256 colors support for more info.
> Also note that tmux will still display reverse video on terminals that do not
> support italics.
> 
> ------ EOFAQ -------
> 
> 
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to