MAL wrote:
Andrew Gaffney wrote:
Is there anyone here who is very good with the dialog program? I'm trying to get it to display a static progress bar with a tailbox. I'm trying something like:
dialog --tailboxbg /dev/zero 15 60 --and-widget --begin 40 50 --gauge "Install Progress" \ 6 40 10
but the tailbox doesn't update. Does anyone know how to do this?
I think the program reads the whole file in first, then waits for more. As /dev/zero doesn't have an end, it hangs. Try using a standard file, then append to the file with:
echo -e "\nMore text!" >>filename
I just used that as an example. I had a process running in another terminal that was appending data to a temp file and had that temp file in place of /dev/zero in the above.
Does indeed look like it doesn't update.. can you emulate the progress bar increments, to see if it updates when the gauge does?
MAL
-- [EMAIL PROTECTED] mailing list