|
Post by dominicraf on Mar 21, 2022 10:56:20 GMT 1
Is there a way in vDos to change the number of screen lines on-the-fly, in effect amending the 'TEXT=nnx80' setting in config.txt?
VBDOS has a command WIDTH 80,nn which works on NTVDM (for permitted values e.g. 25, 43, 50) - but not so well under vDos
Under vDos if you specify a larger value than the initial setting the window does not get larger (i.e. the number of lines does not change) and the application crashes. For example if you have TEXT=43x80 in config.txt and then execute WIDTH 80,50 in VBDOS.
Under vDos if you specify a smaller number of lines than the initial setting it 'works' but the window itself does not change size, just the bottom part of it becomes unused - again this is different from NTVDM where the actual window is resized to fit the new lines parameter.
|
|
|
Post by Jos on Mar 21, 2022 11:18:48 GMT 1
TEXT = lines x columns is only effective in config.txt. So you have to set that to what your program expects or supports. No on-the-fly changing of that, a WIDTH 80,nn VBDOS command is just ignored.
It’s indeed different from NTVDM, but in config.txt you can use values that surpass the standard options like 25,43,50x80.
Jos
|
|
|
Post by dominicraf on Mar 21, 2022 14:20:07 GMT 1
Thanks Jos, yes it is very cool that vDos can support widths other than 80 columns, which NTVDM cannot, but TBH it would be too big an exercise to recode my programs to make use of this. Shame about the inability to alter lines on the fly, but not a breaker.
|
|