[Info-vax] getting pixel dimensions of monitor
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Sun Feb 3 09:06:29 EST 2013
On 2013-02-03 13:50:06 +0000, Phillip Helbig---undress to reply said:
> In SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM...
> The numbers come from trial and error. Using them on a different
> monitor sometimes results in stretched images, so the ratio is probably
> not the same.
I'd strike the word "probably" there.
> Is there some standard way to find out what the ratio really is?
This is one of the various areas where VMS is weak, and lacks a
user-oriented user interface.
Automatic determination of the aspect ratio and refresh rates? No.
If there were a simple means, it'd have been implemented.
In practice, you'll have to read the manual for the particular graphics
controller.
Then read the VMS command procedure assocated with the device.
Details vary by graphics controller.
If you want the your own same OpenVMS customizations to work
everywhere, you'll have to find something else to key off of here, and
likely also make some assumptions around the particular controller
configuration that's in place. A key-value database, or explicit code,
or otherwise.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list