Re: DDD on a Large Monitor - How to Increase the Vertical Size of Source Window Beyond 35 Rows

coroberti <[email protected]> Fri, 22 Dec 2023 12:22:48 +0200
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <CAE-Nr6wQ3W9vz8ckS3OdwEaauUtnffkg0uxq-+Ba-_re3W6NxA@mail.gmail.com>
--000000000000a9966d060d169c52
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 19, 2023 at 10:28=E2=80=AFPM Michael Eager <[email protected]>=
 wrote:

> On 12/19/23 12:02, coroberti wrote:
> > On Tue, Dec 19, 2023 at 8:55=E2=80=AFPM Michael Eager <[email protected]=
om>
> wrote:
> >>
> >> On 12/19/23 10:33, coroberti wrote:
> >>> On Tue, Dec 19, 2023 at 8:06=E2=80=AFPM Michael Eager <eager@eagercon=
.com>
> wrote:
> >>>>
> >>>> On 12/19/23 03:42, coroberti wrote:
> >>>>> Hi,
> >>>>> Thank you for the excellent UI for gdb!
> >>>>>
> >>>>> Using ddd on debian,
> >>>>> GNU DDD 3.3.12 (x86_64-pc-linux-gnu).
>
> I recommend that you build and install ddd-3.4.0, released in May, 2023.
>
> Some distributions have the current DDD release in their repository.
> Debian does not appear to be one of them.
>
> >>>>>
> >>>>> On a large 4K monitor,
> >>>
> >>>>> Is there any way to increase the source window since there is plent=
y
> of
> >>>>> space on the 4K monitor?
> >>>>
> >>>> It may be that I don't understand what you are doing or what problem
> you
> >>>> see.
> >>>>
> >>>> I can enlarge the DDD window and move the split between source and
> >>>> console window to display more than 35 rows.  See attached image.
> >>>
> >>>> Michael Eager
> >>>
> >>>
> >>> Thank you for your reply. This is the issue.
> >>>
> >>> I can move the split between the source and console windows only till
> about the
> >>> half of the vertical space. Thus, what I have is only 35 rows for the
> >>> source window
> >>> and too large space for the console.
> >>>
> >>> See the images attached.
> >>
> >> I can't tell how many lines are in the source window when no source
> >> is displayed.  Please reproduce this with a source file.  Set line
> >> numbering on.
> >>
> >>> Trying to play with the ~/.ddd/init file:
> >>> *Ddd*source_text_w.rows: 35
> >>> and rows of the console window don't work as well.
> >>
> >> If you have forced the size of the source window to 35 rows,
> >> I expect that will constrain the split bar.
> >
> >> Please rename your ~/.ddd directory and reproduce this problem
> >> with a default ~/.ddd directory.  You can restore your .ddd
> >> directory afterwards.
> >
> > 35 - is the number from the default init file on my system.
> > Deleted .ddd, and in the created init once more only 35
> > which never goes up, but it goes down if you are decreasing it by
> decreasing the
> > vertical space for the source window.
> >
> > I've tried to increase the rows for the source and decrease of the
> > console, respectively.
>
> How?  By editing the .ddd/init file?
>
> > After running it, I do not see changes in source rows, and the number
> > set to init returns to 35.
> > Console window rows decreased have the effect and remain the same
> > decreased in the init.
> >
> > So, unless you have any suggestions, I'm gonna build it from sources
> > to debug it and
> > see how it comes to the 35 rows only - it may be the result of some
> > buggy calculations.
>
>
Dear Michael.
After  building ddd-3,4 from source, the issue is not reproducible anymore.

Thank you for your guidance.
Kind regards,
Robert

--000000000000a9966d060d169c52
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Dec 19, 2023 at 10:28=E2=80=
=AFPM Michael Eager &lt;<a href=3D"mailto:[email protected]">eager@eagerco=
n.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><div>On 12/19/23 12:02, coroberti wrote:<br>
&gt; On Tue, Dec 19, 2023 at 8:55=E2=80=AFPM Michael Eager &lt;<a href=3D"m=
ailto:[email protected]" target=3D"_blank">[email protected]</a>&gt; wrot=
e:<br>
&gt;&gt;<br>
&gt;&gt; On 12/19/23 10:33, coroberti wrote:<br>
&gt;&gt;&gt; On Tue, Dec 19, 2023 at 8:06=E2=80=AFPM Michael Eager &lt;<a h=
ref=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&=
gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 12/19/23 03:42, coroberti wrote:<br>
&gt;&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;&gt; Thank you for the excellent UI for gdb!<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Using ddd on debian,<br>
&gt;&gt;&gt;&gt;&gt; GNU DDD 3.3.12 (x86_64-pc-linux-gnu).<br>
<br>
I recommend that you build and install ddd-3.4.0, released in May, 2023.<br=
>
<br>
Some distributions have the current DDD release in their repository.<br>
Debian does not appear to be one of them.<br>
<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On a large 4K monitor,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Is there any way to increase the source window since t=
here is plenty of<br>
&gt;&gt;&gt;&gt;&gt; space on the 4K monitor?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; It may be that I don&#39;t understand what you are doing o=
r what problem you<br>
&gt;&gt;&gt;&gt; see.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I can enlarge the DDD window and move the split between so=
urce and<br>
&gt;&gt;&gt;&gt; console window to display more than 35 rows.=C2=A0 See att=
ached image.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Michael Eager<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thank you for your reply. This is the issue.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I can move the split between the source and console windows on=
ly till about the<br>
&gt;&gt;&gt; half of the vertical space. Thus, what I have is only 35 rows =
for the<br>
&gt;&gt;&gt; source window<br>
&gt;&gt;&gt; and too large space for the console.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; See the images attached.<br>
&gt;&gt;<br>
&gt;&gt; I can&#39;t tell how many lines are in the source window when no s=
ource<br>
&gt;&gt; is displayed.=C2=A0 Please reproduce this with a source file.=C2=
=A0 Set line<br>
&gt;&gt; numbering on.<br>
&gt;&gt;<br>
&gt;&gt;&gt; Trying to play with the ~/.ddd/init file:<br>
&gt;&gt;&gt; *Ddd*source_text_w.rows: 35<br>
&gt;&gt;&gt; and rows of the console window don&#39;t work as well.<br>
&gt;&gt;<br>
&gt;&gt; If you have forced the size of the source window to 35 rows,<br>
&gt;&gt; I expect that will constrain the split bar.<br>
&gt; <br>
&gt;&gt; Please rename your ~/.ddd directory and reproduce this problem<br>
&gt;&gt; with a default ~/.ddd directory.=C2=A0 You can restore your .ddd<b=
r>
&gt;&gt; directory afterwards.<br>
&gt; <br>
&gt; 35 - is the number from the default init file on my system.<br>
&gt; Deleted .ddd, and in the created init once more only 35<br>
&gt; which never goes up, but it goes down if you are decreasing it by decr=
easing the<br>
&gt; vertical space for the source window.<br>
&gt; <br>
&gt; I&#39;ve tried to increase the rows for the source and decrease of the=
<br>
&gt; console, respectively.<br>
<br>
How?=C2=A0 By editing the .ddd/init file?<br>
<br>
&gt; After running it, I do not see changes in source rows, and the number<=
br>
&gt; set to init returns to 35.<br>
&gt; Console window rows decreased have the effect and remain the same<br>
&gt; decreased in the init.<br>
&gt; <br>
&gt; So, unless you have any suggestions, I&#39;m gonna build it from sourc=
es<br>
&gt; to debug it and<br>
&gt; see how it comes to the 35 rows only - it may be the result of some<br=
>
&gt; buggy calculations.<br>
<br></div></blockquote><div>=C2=A0</div><div>Dear Michael.<br></div><div>Af=
ter=C2=A0 building ddd-3,4 from source, the issue is not reproducible anymo=
re.</div><div><br></div><div>Thank you for your guidance.</div><div>Kind re=
gards,</div><div>Robert<br></div></div></div>

--000000000000a9966d060d169c52--