Re: new dialog/libdialog testing

From: Nathan Whitehorn <nwhitehorn_at_freebsd.org>
Date: Wed, 09 Feb 2011 10:20:15 -0600
On 02/09/11 10:15, Garrett Cooper wrote:
> On Wed, Feb 9, 2011 at 7:28 AM, David Boyd<David.Boyd_at_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
Received on Wed Feb 09 2011 - 15:20:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC