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

coroberti <[email protected]> Tue, 19 Dec 2023 22:02:35 +0200
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <CAE-Nr6xsi8151bkMJwXrB57AmHU97kApGUUOXs42z8OUVmQttg@mail.gmail.com>
On Tue, Dec 19, 2023 at 8:55=E2=80=AFPM Michael Eager <[email protected]> =
wrote:
>
> On 12/19/23 10:33, coroberti wrote:
> > On Tue, Dec 19, 2023 at 8:06=E2=80=AFPM Michael Eager <[email protected]=
om> 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).
> >>>
> >>> On a large 4K monitor,
> >
> >>> Is there any way to increase the source window since there is plenty =
of
> >>> space on the 4K monitor?
> >>
> >> It may be that I don't understand what you are doing or what problem y=
ou
> >> 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 a=
bout 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 decreasin=
g the
vertical space for the source window.

I've tried to increase the rows for the source and decrease of the
console, respectively.

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.

Robert