bug-ncurses
[Top][All Lists]
Advanced

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

Re: Issue with wbkgrnd and wide chars on ncurses 6.2


From: Thomas Dickey
Subject: Re: Issue with wbkgrnd and wide chars on ncurses 6.2
Date: Sun, 7 Feb 2021 08:20:23 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Sat, Jan 30, 2021 at 03:30:07PM -0500, Thomas Dickey wrote:
> On Sat, Jan 30, 2021 at 08:21:26PM +0100, Anton Vidovic wrote:
> > Hello Thomas,
> > 
> > I contacted you last April [0] about a bug I encountered while working on
> > a Common Lisp binding for ncurses.
> 
> thanks (I didn't forget this - it was one of two regressions that I'd
> like to repair before ncurses 6.3)

I still have a bug report from Mike Aubury which I was not able to resolve.
  
> > As far as I could, I tracked down the source of the bug to the following
> > line 209 in ncurses/base/lib_bkgd.c
> 
> offhand, I'd have thought this was the issue (given the comments),
> 
>       /* SVr4 limits background character to printable 7-bits */
>       if (!Charable(new_bkgd)) {
>           new_char = old_char;
>       }

that's part.  I spent some time yesterday, and your example now seems to
work as expected.  However, I noticed that there wasn't a good test-program
for this area, and on starting to develop one, ran into an older bug which
I expect to address "soon".

> > In ncurses 6.1, instead of the call to SetChar2, we directly set the
> > character at y,x to the character set by the call to wbkgrndset.

The basic reason for the change was to make the attributes follow the
SVr4 pattern.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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