On Wednesday, 2011-12-28, at 00:21:55 +0530, Raghavendra D Prabhu wrote:
> The reverse-video seems to be broken with tmux. I tried with
> rxvt-unicode, tmux and TERM=screen-256color that reverse-video as
> seen in search highlighting in less,man etc is not working.
> I updated my tmux after sometime so I may be noticing this late. Is
> this a bug or is there a workaround this ? I tried it the same
> combination (rxvt .. ) with screen and it works well.

You're probably seen italics instead of reverse and your urxvt isn't
configured with an italics capable font. Screen makes a mess out of
italics and reverse, and tmux doesn't anymore (since 1.5). If you want
to know more, you can read about it in our previous discussion here:

http://sourceforge.net/mailarchive/forum.php?thread_name=ioag1a%24g2k%241%40dough.gmane.org&forum_name=tmux-users

Now you have two choices:

a) fix your terminfo entries and get reverse + italics (a bit worksome);
or
b) just get rid of italics altogether and always get reverse (quite
easy).

If you choose a), follow the instruction in the FAQ:
http://tmux.svn.sourceforge.net/viewvc/tmux/trunk/FAQ
It's the last question, titled "vim displays reverse video instead of
italics, while less displays italics (or just regular text) instead of
reverse. What's wrong?"

If you choose b), just add to your .tmux.conf:

set -g terminal-overrides 'rxvt-unicode*:sitm@,ritm@'

(and don't forget to restart the server)

Hope that helps.
Cheers.


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to