Re: DDD on a Large Monitor - How to Increase the Vertical Size of Source Window Beyond 35 Rows
Michael Eager <[email protected]> Tue, 19 Dec 2023 12:28:08 -0800
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
On 12/19/23 12:02, coroberti wrote: > On Tue, Dec 19, 2023 at 8:55 PM Michael Eager <[email protected]> wrote: >> >> On 12/19/23 10:33, coroberti wrote: >>> On Tue, Dec 19, 2023 at 8:06 PM Michael Eager <[email protected]> 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 plenty 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. Please follow the previous suggestions. The value of Ddd*source_text_w.rows is set to whatever the source window size was when you closed DDD. -- Michael Eager