Re: [Tutor] Is this the preferred way to change terminal screen color using curses?

2019-03-02 Thread Cameron Simpson
On 02Mar2019 22:32, boB Stepp wrote: BTW, my Linux Mint installation did *not* have the man pages for ncurses, even though it was installed. I had to manually fetch the man pages myself. Maybe they're in a separate -dev or -doc package? Sometimes the base package (eg "libncurses") contains o

Re: [Tutor] Is this the preferred way to change terminal screen color using curses?

2019-03-02 Thread boB Stepp
On Sat, Mar 2, 2019 at 4:28 PM Cameron Simpson wrote: > Is the painting of the screen with spaces actually required? I would > have thought not (again, untested). The main window (stdscr) should > start filled with spaces. I had read this along the way, but had forgotten it. > [Reads more close

Re: [Tutor] Is this the preferred way to change terminal screen color using curses?

2019-03-02 Thread Cameron Simpson
On 02Mar2019 15:16, boB Stepp wrote: I wanted to be able to change the background screen color of a terminal window using curses. My weak Google-Foo did not turn up a clear example of how to do this despite much searching. The two _obvious_curses methods to attempt this seemed to be window.bkg

[Tutor] Is this the preferred way to change terminal screen color using curses?

2019-03-02 Thread boB Stepp
I wanted to be able to change the background screen color of a terminal window using curses. My weak Google-Foo did not turn up a clear example of how to do this despite much searching. The two _obvious_curses methods to attempt this seemed to be window.bkgdset(ch, attr) to initially set a window