[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: terminfo-20140607.src.gz
From: |
Thomas Dickey |
Subject: |
Re: ANN: terminfo-20140607.src.gz |
Date: |
Mon, 16 Jun 2014 18:18:37 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Jun 16, 2014 at 05:15:32PM +0100, Nicholas Marriott wrote:
> Hi
>
> When tmux gets SGR 3 inside it will use sitm outside if the terminal has
> it, otherwise it'll use smso. I don't remember why, possibly to make
> rxvt users happier.
>
> It's the same for SGR 7 - rev if it exists, otherwise smso.
>
> But I'm not clear what problem you're seeing, if you want to show me the
> new terminfo entry and tell me how to reproduce the problem (preferably
> off-list), I'll have a look. Perhaps we should go back to doing the same
> as screen here since we are using its terminfo entry.
That's not necessarily a Good Thing.
You might consider making a special case on initialization to detect if it's
got TERM=screen{whatever} and/or smso containing SGR 3.
screen equates SGR 3 to standout, has done this for more than twenty years,
and doesn't support italics (unless someone's going to modify screen).
On the other hand, ncurses can support italics - not a lot of feedback on that
though.
An application that sends SGR 3 (hardcoded ECMA-48 italics for instance) will
get standout.
Likewise, an application using screen's terminal description will send SGR 3
for standout.
So you can only do this reliably for applications using the terminal
description.
>
>
> On Mon, Jun 16, 2014 at 12:51:16PM +0100, Christian Ebert wrote:
> > * Christian Ebert on Monday, June 16, 2014 at 12:08:02 +0100
> > > * Thomas Dickey on Tuesday, June 10, 2014 at 04:24:11 -0400
> > >> On Tue, Jun 10, 2014 at 06:09:30AM +0100, Christian Ebert wrote:
> > >>> Hm. I only have TERM=screen-256color set, no bce as far as I know of.
> > >>
> > >> The detail that made it seem to work for me was that I normally run with
> > >>
> > >> TERM=screen-bce.xterm-new
> > >>
> > >> which was setting sitm/ritm (because it inherits from xterm-new, which
> > >> I'd just updated...), making screen decide that smso/rmso were set.
> > >> The screen-bce entry - or screen-256color - didn't do that. Instead,
> > >> I had moved screen's bogus SGR 3 for sitm to a more conventional SGR 7.
> > >> (As you noted, that didn't work...)
> > >>
> > >>> This fixes the problem for me in screen. However, tmux now has a
> > >>> similar problem with italics. Maybe it has something builtin
> > >>> meant as a workaround which now fails.
> > >>
> > >> I'll take a look - hadn't really studied tmux before...
> > >
> > > Looks like this is fixed in ncurses-5.9-20140614 - thank you very
> > > much!
> >
> > Sorry, spoke too soon (wishful thinking) - the italics problem is
> > still there for tmux, so I stick with ncurses-5.9-20140524 for
> > the time being.
> >
> > --
> > theatre - books - texts - movies
> > Black Trash Productions at home: http://www.blacktrash.org
> > Black Trash Productions on Facebook:
> > http://www.facebook.com/blacktrashproductions
> >
> > _______________________________________________
> > Bug-ncurses mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/bug-ncurses
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
- Re: ANN: terminfo-20140607.src.gz, (continued)
- Re: ANN: terminfo-20140607.src.gz, Christian Ebert, 2014/06/09
- Re: ANN: terminfo-20140607.src.gz, balducci, 2014/06/09
- Re: ANN: terminfo-20140607.src.gz, Thomas Dickey, 2014/06/09
- Re: ANN: terminfo-20140607.src.gz, Thomas Dickey, 2014/06/09
- Re: ANN: terminfo-20140607.src.gz, Christian Ebert, 2014/06/10
- Re: ANN: terminfo-20140607.src.gz, Christian Ebert, 2014/06/10
- Re: ANN: terminfo-20140607.src.gz, Thomas Dickey, 2014/06/10
- Re: ANN: terminfo-20140607.src.gz, Christian Ebert, 2014/06/16
- Re: ANN: terminfo-20140607.src.gz, Christian Ebert, 2014/06/16
- Re: ANN: terminfo-20140607.src.gz, Nicholas Marriott, 2014/06/16
- Re: ANN: terminfo-20140607.src.gz,
Thomas Dickey <=
- Re: ANN: terminfo-20140607.src.gz, Egmont Koblinger, 2014/06/16
- Re: ANN: terminfo-20140607.src.gz, Nicholas Marriott, 2014/06/17
- Re: ANN: terminfo-20140607.src.gz, Thomas Dickey, 2014/06/17
- Re: ANN: terminfo-20140607.src.gz, Christian Ebert, 2014/06/18
- Re: ANN: terminfo-20140607.src.gz, Nicholas Marriott, 2014/06/18
- Re: ANN: terminfo-20140607.src.gz, Nicholas Marriott, 2014/06/19
- Re: ANN: terminfo-20140607.src.gz, Christian Ebert, 2014/06/19
- Re: ANN: terminfo-20140607.src.gz, balducci, 2014/06/10
- Re: ANN: terminfo-20140607.src.gz, Thomas Dickey, 2014/06/10
Re: ANN: terminfo-20140607.src.gz, Nicholas Marriott, 2014/06/19