questions relating to ncurses and dialog(1)

Eitan Adler lists at eitanadler.com
Fri Dec 31 18:39:25 UTC 2010


Thank you. I was stuck for a week on the ncurses issue - but now I
don't think I will have that problem anymore. :-}

On Fri, Dec 31, 2010 at 5:49 AM, Eygene Ryabinkin <rea at freebsd.org> wrote:
> Thu, Dec 30, 2010 at 07:03:44PM -0500, Eitan Adler wrote:
>> 2) The "help" screen just doesn't show up despite having text and a
>> border and not generating any errors (which are all checked)
>
> You're using 'frameCols' while calculating
> windowStatList[HELP].rowStart, so your window is starting somewhere
> around line 76 at the 80x25 terminal, thus it is just invisible.
> Use 'frameRows' and you'll get something that will be top-aligned
> with the buttons.
>
> There's one more thing: the lone 'dialog4ports --hfile=<foo>'
> will dump core, because prev is NULL in this case.
>
> The attached patch should fix the first item and will apply
> a quick-fix for the second one.
> --
> Eygene Ryabinkin                                        ,,,^..^,,,
> [ Life's unfair - but root password helps!           | codelabs.ru ]
> [ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
>



-- 
Eitan Adler


More information about the freebsd-hackers mailing list