bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: dialog --infobox


From: Thomas Dickey
Subject: RE: dialog --infobox
Date: Thu, 29 Jul 2004 17:00:41 -0400 (EDT)

On Thu, 29 Jul 2004, Vinesh Christopher wrote:

>
> dialog --infobox "hello" 3 10
> behaves differently in different versions.
> So what is the fix?

The fix is to pass the pauseopt flag in msgbox down to show_message and
use that to override the chunk of code that's ifdef'd with
NCURSES_VERSION.

(for a quick check, disabling that will show the effect for infobox's)

>
> Also I found that 1.0 the radiobox and
> list box returns selected values inside
> quotes,whereas in dialog_0.9b-20031207-1_arm.deb
> it is returned as it is (without quotes)

yes - someone reported that and I uploaded a new version last night.

>
> Try dialog --radiolist "hello" 10 20 2 0 eth0 on 1 eth1 off 2>res
>
> When eth1 is selected, in 1.0 res file has "1" and 0.9 has 1
>
> Thanks
> Vinesh
>
>
>
> -----Original Message-----
> From: Thomas Dickey [mailto:address@hidden
> Sent: Thursday, July 29, 2004 3:46 PM
> To: Vinesh Christopher
> Cc: Ncurses Mailing List
> Subject: Re: dialog --infobox
>
> On Thu, 29 Jul 2004, Vinesh Christopher wrote:
>
> > Infobox does not work correctly in dialog version
> > 1.0 and some 0.9b versions. It displays a box with a
> > text "0%" at the end of the box. The given text
> > is not displayed
>
> looking again, I see what you're talking about.  It's a simple fix (to
> suppress the percentage shown when there's no ok-button).
>
> --
> Thomas E. Dickey
> http://invisible-island.net
> ftp://invisible-island.net
>

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]