[Top][All Lists]

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

Re: Display difference between ncurses version 5.7 and version

From: Rich Burridge
Subject: Re: Display difference between ncurses version 5.7 and version
Date: Wed, 19 Jul 2017 06:19:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/19/2017 01:22 AM, Thomas Dickey wrote:
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:
-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".


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.

Okay thanks, but what should I use (on Solaris)?

I tried:

  $ TERM=xterm-256color python test_userscreen.py

and get the same result. Trussing it shows that it is using:


In a previous reply you mention:

 "I have a to-do note dealing with "xterm+256color" on Solaris (it's
 completely wrong)."

so that's probably the problem. Is there anything I can do to help you fix that?

In the meantime, what would you suggest we can use (on Solaris)
instead, to get the desired result?

I also tried:

$ TERM=sun python test_userscreen.py

but that complained that there wasn't color support.

reply via email to

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