bug-ncurses
[Top][All Lists]
Advanced

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

Re: Display difference between ncurses version 5.7 and version 6.0.0.201


From: Thomas Dickey
Subject: Re: Display difference between ncurses version 5.7 and version 6.0.0.20170708
Date: Wed, 19 Jul 2017 04:22:41 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jul 18, 2017 at 06:51:49PM -0700, Rich Burridge wrote:
> On 07/18/2017 06:45 PM, Rich Burridge wrote:
> >...
> >Any red flags for you with this terminfo file?
> 
> I did diff the Solaris one against the Ubunto one and got:
> 
> $ gdiff -urN solaris-terminfo.txt linux-terminfo.txt
> --- solaris-terminfo.txt    2017-07-18 18:56:24.204081755 +0000
> +++ linux-terminfo.txt    2017-07-18 18:55:00.479256768 +0000
> @@ -1,18 +1,18 @@
> -$ /usr/gnu/bin/infocmp xterm-color
> -#       Reconstructed via infocmp from file:
> /usr/gnu/share/terminfo/x/xterm-color
> -xterm-color|nxterm|generic color xterm,
> +infocmp xterm-color
> +#    Reconstructed via infocmp from file: /lib/terminfo/x/xterm-color
> +xterm-color|generic "ANSI" color xterm (X Window System),
>      am, km, mir, msgr, xenl,
>      colors#8, cols#80, it#8, lines#24, ncv@, pairs#64,

That's simple: don't use "xterm-color".

http://invisible-island.net/ncurses/ncurses.faq.html#xterm_color

The screenshot seemed to show that you're using some version of
gnome-terminal.  For anything "recent" (since around 2000), and probably
any version of Solaris that you're using, it copies the "bce" feature
done in Linux console (early 1990s) and XFree86 xterm (mid-1990s).

When an application clears the screen, the terminal will fill in with
the currently-set colors.  Depending on the details, that might be
the color you expect, or it might be the (uncolored) default colors
for the terminal.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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