Date: Fri, 31 Dec 2010 13:39:03 -0500 From: Eitan Adler <lists@eitanadler.com> To: Eygene Ryabinkin <rea@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: questions relating to ncurses and dialog(1) Message-ID: <AANLkTimZ9ykFSSadzfPwXC2N%2BEQ4yEY=-ykO8Zu5Pp5u@mail.gmail.com> In-Reply-To: <mTCTzW2G0UPrQ1HQyzT/aSiKc%2B8@QsmfhJNucgI88DfvPJdT1/nyboE> References: <AANLkTi=EqukSOUOP0hvFHmR6=5%2BcNgiba5tQdmy-V8F-@mail.gmail.com> <mTCTzW2G0UPrQ1HQyzT/aSiKc%2B8@QsmfhJNucgI88DfvPJdT1/nyboE>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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=3D<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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0,,,^..^,,, > [ Life's unfair - but root password helps! =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 | codelabs.ru ] > [ 82FE 06BC D497 C0DE 49EC =C2=A04FF0 16AF 9EAE 8152 ECFB | freebsd.org ] > --=20 Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimZ9ykFSSadzfPwXC2N%2BEQ4yEY=-ykO8Zu5Pp5u>