I never thought I would see italics text in terminal, but I did. I didn't realize what change made this happening when I suddenly saw searching highlights in less had been rendered in italics text. Later, I found out it's the tmux update 1.4->1.5.
A second later, I knew I hate that. It's so hard to see the highlights, I can only be sure there is one hit at the first line of current view. If there is more in the same view, I wouldn't be able to see it. Regular text and italic text look so alike in terminal at first 1000 glances.
Anyway, I found a backward solution, I chose "screen-noit."
I still don't know whose fault is, but clearly it's not as if tmux broke something. In fact, it fixed something what we used to think that's right. However, after all, that really felt suck, and I didn't read anything about it from tmux's changelog 1.4->1.5.
Using
Updated on 2011-07-22
I decided to drop screen-noit and got back to normal screen terminfo with resource setting:
I think it's better and prettier, though you might not agree with my color choice. (I ain't no artist!) Anyway, it's now rendered in italic and bloody red style. I can't be missing any highlighted text.
A second later, I knew I hate that. It's so hard to see the highlights, I can only be sure there is one hit at the first line of current view. If there is more in the same view, I wouldn't be able to see it. Regular text and italic text look so alike in terminal at first 1000 glances.
Anyway, I found a backward solution, I chose "screen-noit."
I still don't know whose fault is, but clearly it's not as if tmux broke something. In fact, it fixed something what we used to think that's right. However, after all, that really felt suck, and I didn't read anything about it from tmux's changelog 1.4->1.5.
Using colorIT
resource
Updated on 2011-07-22
I decided to drop screen-noit and got back to normal screen terminfo with resource setting:
Rxvt*colorIT: #ff0000
I think it's better and prettier, though you might not agree with my color choice. (I ain't no artist!) Anyway, it's now rendered in italic and bloody red style. I can't be missing any highlighted text.
It is really less's problem for choosing to use italics in the first place. If you'd run it outside tmux in rxvt or some other terminals it would always have been italics.
ReplyDeleteIt must have been accidentally omitted from tmux's change log but nobody pretends that is exhaustive, it's just a summary; we have better things to do than spend too much time on it :-).
Actually, what I see when I run urxvt/xterm without tmux is reverse video not italic. That's how I realized that is tmux has changed something.
ReplyDeleteYes, it would be just a summary, but user can be award what has been changed for such behavior. It's a major change even it removes few lines of code, it changes how stuff is rendered.
We indeed have better things to do but you have to get your tools working well and as usual for you first, don't you?
I found this in the link you posted, this brought back the highlighting for me, and required a detach-reattach to reflect the changes:
ReplyDeletetmux set -g terminal-overrides "rxvt-unicode:sitm@"
Just tried it, it didn't work for me, I even restarted tmux. I think I have tried once before, not sure if it's same override.
ReplyDeleteOh man, thanks for this post, this italic highlighting was killing me.
ReplyDeleteAfter googling a bit, I came up with this:terminal-overrides"*:sitm@,ritm@,bce,colors=88,*88col*:colors=88,*256col*:colors=256"no more italics in less, more and man !
ReplyDelete