bug-ncurses
[Top][All Lists]
Advanced

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

Re: Ncurses panel library (6.2 on freebsd)


From: Thomas Dickey
Subject: Re: Ncurses panel library (6.2 on freebsd)
Date: Mon, 18 Jan 2021 20:45:32 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, Jan 18, 2021 at 01:22:50PM +0000, Mike Aubury wrote:
> Are there any known issues with borders on the panel library ?
> 
> I've downloaded the latest 6.2 and compiled it (in a non-standard location
> if that makes any difference)

that could be - the odd problems that I've seen occasionally reported are
due to accidentally mixing the 5.9 and 6.x headers versus the libraries.

The reason is that the 6.x WINDOW structure and cchar_t are both a little
larger -- video attributes get trashed.

> 
> And now when running programs - the panel doesn't seem to have the correct
> border.
> 
> Here is is with one of the demo programs :
> 
>           +-+
>           |           Window Number 1            |
>           ^-^
>           @      +-+
>           |      |           Window Number 2            |
>           |      ^-^
>           |      @      +-+
>           |      |      |           Window Number 3            |
>           |      |      ^-^
>           +------|      @                                      |
>                  |      |                                      |
>                  |      |                                      |
>                  +------|                                      |
>                         |                                      |
>                         |                                      |
>                         +-+
> 
> If I use the "stock" ncurses (5.9 patch 20140222) :
> 
>           +--------------------------------------+
>           |           Window Number 1            |
>           +--------------------------------------+
>           |      +--------------------------------------+
>           |      |           Window Number 2            |
>           |      +--------------------------------------+
>           |      |      +--------------------------------------+
>           |      |      |           Window Number 3            |
>           |      |      +--------------------------------------+
>           +------|      |                                      |
>                  |      |                                      |
>                  |      |                                      |
>                  +------|                                      |
>                         |                                      |
>                         |                                      |
>                         +--------------------------------------+
> 
> 
> But then I get a segfault in "wmove" in my "proper" application.
> Any pointers would be much appreciated!

-- 
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]