[Info-vax] getting pixel dimensions of monitor

AEF spamsink2001 at yahoo.com
Mon Feb 4 21:27:26 EST 2013


On Feb 3, 8:50 am, hel... at astro.multiCLOTHESvax.de (Phillip Helbig---
undress to reply) wrote:
> In SYS$MANAGER:DECW$PRIVATE_SERVER_SETUP.COM I have stuff like
>
> [...]
> $ if node .eqs. f$getsyi("NODENAME") then goto DO_'node'
> [...]
> $DO_FOO:
> $ dwd0 = f$edit(f$extract(0,2,f$element(0,",",DECW$DEVICE)),"UPCASE")
> $ if (dwd0 .eqs. "GY")
> $ then
> $!maybe values aren't correct
> $   decw$xsize_in_pixels == "1280"
> $   decw$ysize_in_pixels == "1024"
> $   define /system /executive_mode decw$server_pixel_depth 24
> $   define /system /executive_mode decw$server_refresh_rate 60
> $ endif
>
> 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.  Is there some standard way to find out what the ratio
> really is?  (Probably not, otherwise one could set it on the fly.)

Uh oh, another case of aspect-ratio disease! Phillip, I wish you luck
on your endeavor to eradicate this instance of the disease. But it's a
plague. I've even seen TV's (LG's) with the picture over-stretched!
That means it would have fit as is but was somehow stretched even
more.

All this modern whiz-bang technology and there are ridiculous
problems. For example, syncing picture with sound, a problem solved by
the movie industry ca. 1930, is now a problem again. OK, I better stop
here.

AEF



More information about the Info-vax mailing list