Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Feb 2011 10:20:15 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: new dialog/libdialog testing
Message-ID:  <4D52BEBF.2070209@freebsd.org>
In-Reply-To: <AANLkTi=DcCn2mibgQ3E7-tmbqCeQK1mXdJEiQep3F6vE@mail.gmail.com>
References:  <OJEBKOFDEOADELCOBJCGEEFHDKAA.David.Boyd@insightbb.com> <AANLkTi=DcCn2mibgQ3E7-tmbqCeQK1mXdJEiQep3F6vE@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/09/11 10:15, Garrett Cooper wrote:
> On Wed, Feb 9, 2011 at 7:28 AM, David Boyd<David.Boyd@insightbb.com>  wrote:
>> Having some time to test 9.0-CURRENT with the new dialog command has
>> uncovered only one major omission (for us): prgbox/dialog_prgbox.
>>
>> This is used in most (if not all) of our installation/management scripts.
>>
>> Was prgbox omitted for any particular reason?
>>
>> I realize that change is inevitable.
>>
>> Is there a better approach to running a program in a window?
>>
>> We like many of the new features presented, but are wary of problems down
>> the road due to the omission of prgrbox.
>>
>> I notice that sysinstall uses dialog_prgbox in 8.1-RELEASE.
> A good chunk of stuff isn't in the new libdialog. Part of the reason
> why is that libodialog is hacked from what it was originally by
> various parties and wasn't carried over to the [now supported]
> upstream maintainer, or because support for other APIs was deprecated
> and abandoned.
>
> That being said, other APIs should easily fill this gap in a more
> generic manner. You may have to specify a few more libdialog API calls
> to achieve the same result though.

Right (and apologies for breakage). You can get something similar and 
somewhat more flexible by piping the command into dialog --progressbox. 
You might also want to look at the tailbox command.
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D52BEBF.2070209>