[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dialog problem with --programbox
From: |
Michael D. Setzer II |
Subject: |
Re: dialog problem with --programbox |
Date: |
Thu, 08 Aug 2013 23:55:53 +1000 |
On 8 Aug 2013 at 14:05, Gary Cowell wrote:
Date sent: Thu, 8 Aug 2013 14:05:35 +0100
Subject: Fwd: dialog problem with --programbox
From: Gary Cowell <address@hidden>
To: address@hidden
> Hello
>
> Hope this is the right list, it said on the dialog page to use the
> ncurses mail list so...
>
> I'm using
>
> $ ./dialog --version
> Version: 1.2-20130523
>
> This problem exhibits on my builds on AIX 6.1, Linux RHEL 6 and
> Solaris SPARC 10
>
> When using dialog for --programbox like this:
>
>
> ls | ./dialog --programbox 10 20
>
On my fedora16 machine, I do get output, but it only showed the
last part of what I expected.
This combination seems to give me what I think you are looking
for. I have never used the programbox option/
ls >output
dialog --textbox output 10 20
> We don't get any output, the screen flashes really quickly, no OK
> button is displayed so the output is cleared immediately.
>
> My understanding from the manpage is that this should display an OK
> prompt at program completion.
>
> This is how prgbox works:
>
> ./dialog --prgbox ls 10 20
>
> This does display the OK prompt, but really I need the flexibility of
> feeding in piped output, hence my desire to use --programbox
>
> Am I using it wrong? Or is there a bug? The 'samples' don't work
> either (they do the same thing) - the samples scroll the programbox
> output, then quit without waiting for 'OK' to be chosen.
>
> Thanks for any help
>
> Gary
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ncurses
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:address@hidden
mailto:address@hidden
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
address@hidden CREDITS
SETI 15662608.853207 | EINSTEIN 12631615.299852
ROSETTA 8161199.389977 | ABC 16207622.111209