I'm looking for a DOS function that I can call under text mode in DOS to tell me the text dimensions of the current window.
Normally it is 80 x 25 or 80 x 43 or 80 x 50. In some video BIOSes you can set it up to 132 by 60. VDOS http://sourceforge.net/projects/vdos/
also permits unusual settings and I can get Turbo Pascal to do 132 by 60 there (brief test only).
So does anyone know what I'd call in DOS to get those dimensions? NOT how to set those dimensions. That's a totally different game and not one I want to attempt. I'm presuming that an offbeat text window has been set by some other application and I want to be able to read what it has been set to.