Prior to 1.3-20180621 cdialog would fill unused space at the end of the
line with the background color. However, starting with 1.3-20180621
it doesn't. Instead, it seems to fill with whatever the terminal's
background color was prior to starting dialog.
Steps to reproduce on FreeBSD current:
cat /etc/rc.conf | cdialog --programbox 23 76
With older versions of dialog the box's background is a consistent
color. With 1.3-20180621, the trailing unused part of each
line is filled with (on my terminal at least) black.
Details here https://lists.gnu.org/archive/html/bug-ncurses/2019-02/msg00010.html
The problem is evident in FreeBSD's ports tree's version.
The latest upstream version of dialog 1.3.20191210 fixes this problem for me.
Can someone update the version of devel/cdialog port?
Created attachment 209907 [details]
Update to 1.3.20191210
With such changes when building and installing the port, I get the following:
Registering installation for cdialog-1.3.20191210,2
(cdialog-1.3.20191210,2) /usr/ports/devel/cdialog/work/stage//usr/local/bin/cdialog - required shared library libncursesw.so.8 not found
(cdialog-1.3.20191210,2) /usr/ports/devel/cdialog/work/stage//usr/local/bin/cdialog - required shared library libc.so.7 not found
However, after this, a new cdialog works.
Sorry. I tried again to patch, make and install. And everything turned out without errors.
Tested the patch and it works correctly on 12.1-RELEASE-p1 and 11.3-RELEASE-p5.
The issue reported no longer happens on either.