* On Tue, Dec 27, 2011 at 06:38:04PM -0200, Tiago Resende <trese...@lavabit.com> wrote:
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.
Thank you. I stumbled onto FAQ later. I went with custom terminfo. However, I had some issue with terminfo -- thing is some applications check if it is a 256 terminal by pattern matching against TERM variable for 256color :D So I recreated terminfo with 256color in its name. That fixed it.
------------------------------------------------------------------------------ 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
-------------------------- Raghavendra Prabhu GPG Id : 0xD72BE977 Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977 www: wnohang.net
pgpRwVcW82zEl.pgp
Description: PGP signature
------------------------------------------------------------------------------ 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