bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANN: terminfo-20140607.src.gz


From: Nicholas Marriott
Subject: Re: ANN: terminfo-20140607.src.gz
Date: Fri, 20 Jun 2014 12:34:28 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Jun 20, 2014 at 12:10:25PM +0100, Christian Ebert wrote:
> * Christian Ebert on Friday, June 20, 2014 at 01:04:00 +0100
> > * Nicholas Marriott on Thursday, June 19, 2014 at 22:56:35 +0100
> >> Well, everything looks fine to me with latest terminfo but my xterm is
> >> quite a lot older.
> >> 
> >> I guess your problem is that less is ending up with italics because
> >> xterm-256color now has sitm.
> >> 
> >> If so, you can either tell tmux to ignore sitm in xterm with something
> >> like:
> >> 
> >>   set -ag terminal-overrides ',xterm*:sitm@:ritm@'
> >> 
> >> Or look at the "vim displays reverse video instead of italics" entry in
> >> the tmux FAQ which also covers less.
> > 
> > Thanks. I went for the second option and it seems to do the
> > trick.
> 
> From a layman's perspective it's obviously hard to understand why
> one has to resort to such gymnastics when it works in screen
> without unchanged entry. What's the advantage of the tmux
> approach?

Well, the advantage is you can have italics if you want them.

I expect you can probably get them in screen too by playing similar
games with termcap or terminfo, but italics for SGR 3 is right and
standout is wrong, so I'm reluctant to emulate screen.

Now that xterm has this we may have to rethink things because it will be
more much common, up until now it was mostly just rxvt users. This may
mean finally writing TERM=tmux, although that doesn't help most people
for a few years...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]