On Friday, 2011-06-10, at 22:59:59 +0200, clemens fischer wrote:
> Tiago Resende wrote:
> > Try 
> > 
> > $ infocmp screen | grep -o '\(smso\|sgr\)=[^,]*,'
> > 
> > and you'll see the problem (3s instead of 7s).
> 
> I don't understand, because there's neither here in my output:
> 
>   $ infocmp screen | grep -o '\(smso\|sgr\)=[^,]*,'
>   
> sgr=\E[0%?%p6%t;1%;%?%p1%t;3%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
>   smso=\E[3m,

No, that's exactly it. For reverse video, they should read:

sgr=\E[0%?%p6%t;1%;%?%p1%t;7%; (...)
smso=\E[7m

that is, \E[7m (reverse video), not \E[3m (italics).

> My problem actually wasn't missing italics:  when using the highligthing
> search in manuals, where "man <something>" uses the less pager, the
> first thing I noticed was the prompt area:  all italics, barely
> readable, and instead of highligthed substrings italics which just
> cannot be found as easily (read: almost impossible to spot, making
> searches more trouble instead of less).

Yeah, I know. The problem is less asking for standout and getting
italics instead of reverse. But tmux doesn't really know when those
italics are coming from an application getting italics from a correct
terminfo entry, or getting standout from a wrong entry, so it just
passes the \E[3m along to urxvt, which renders it as italics.

> I used a simpler workaround which gave me back what I grew accustomed
> to:
>
> terminal-overrides 
> "*:sitm@,ritm@,bce,colors=88,*88col*:colors=88,*256col*:colors=256"

I didn't pay attention on your first email, but this workaround fixes it
by making urxvt italics-incapable, instead of changing screen's wrong
standout, which I guess really is a better fix, if you don't want
italics at all. Thanks.


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to