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 <<a href=3D"mailto:[email protected]">eager@eagerco= n.com</a>> 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> > On Tue, Dec 19, 2023 at 8:55=E2=80=AFPM Michael Eager <<a href=3D"m= ailto:[email protected]" target=3D"_blank">[email protected]</a>> wrot= e:<br> >><br> >> On 12/19/23 10:33, coroberti wrote:<br> >>> On Tue, Dec 19, 2023 at 8:06=E2=80=AFPM Michael Eager <<a h= ref=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt; wrote:<br> >>>><br> >>>> On 12/19/23 03:42, coroberti wrote:<br> >>>>> Hi,<br> >>>>> Thank you for the excellent UI for gdb!<br> >>>>><br> >>>>> Using ddd on debian,<br> >>>>> 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> >>>>><br> >>>>> On a large 4K monitor,<br> >>><br> >>>>> Is there any way to increase the source window since t= here is plenty of<br> >>>>> space on the 4K monitor?<br> >>>><br> >>>> It may be that I don't understand what you are doing o= r what problem you<br> >>>> see.<br> >>>><br> >>>> I can enlarge the DDD window and move the split between so= urce and<br> >>>> console window to display more than 35 rows.=C2=A0 See att= ached image.<br> >>><br> >>>> Michael Eager<br> >>><br> >>><br> >>> Thank you for your reply. This is the issue.<br> >>><br> >>> I can move the split between the source and console windows on= ly till about the<br> >>> half of the vertical space. Thus, what I have is only 35 rows = for the<br> >>> source window<br> >>> and too large space for the console.<br> >>><br> >>> See the images attached.<br> >><br> >> I can't tell how many lines are in the source window when no s= ource<br> >> is displayed.=C2=A0 Please reproduce this with a source file.=C2= =A0 Set line<br> >> numbering on.<br> >><br> >>> Trying to play with the ~/.ddd/init file:<br> >>> *Ddd*source_text_w.rows: 35<br> >>> and rows of the console window don't work as well.<br> >><br> >> If you have forced the size of the source window to 35 rows,<br> >> I expect that will constrain the split bar.<br> > <br> >> Please rename your ~/.ddd directory and reproduce this problem<br> >> with a default ~/.ddd directory.=C2=A0 You can restore your .ddd<b= r> >> directory afterwards.<br> > <br> > 35 - is the number from the default init file on my system.<br> > Deleted .ddd, and in the created init once more only 35<br> > which never goes up, but it goes down if you are decreasing it by decr= easing the<br> > vertical space for the source window.<br> > <br> > I've tried to increase the rows for the source and decrease of the= <br> > console, respectively.<br> <br> How?=C2=A0 By editing the .ddd/init file?<br> <br> > After running it, I do not see changes in source rows, and the number<= br> > set to init returns to 35.<br> > Console window rows decreased have the effect and remain the same<br> > decreased in the init.<br> > <br> > So, unless you have any suggestions, I'm gonna build it from sourc= es<br> > to debug it and<br> > see how it comes to the 35 rows only - it may be the result of some<br= > > 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--