setting size of XDRIVER

Michael Shapiro shapiro at zorro.cecer.army.mil
Fri Oct 23 11:49:04 EDT 1992


>
>Also, is there a way to get the d.mon provided window sized
>automatically, i.e. without benefit of mouse interaction?
>
The XDRIVER released with 4.0 didn't have any way to do this.
This has since been added and probably the latest driver on
moon.cecer.army.mil has the mechanism in it.

You have to set the following Unix environment variables before you
run d.mon:

These control the size of the window
    XDRIVER_HEIGHT
    XDRIVER_WIDTH

These control the placement. 
    XDRIVER_LEFT
    XDRIVER_TOP

They are all in units of pixels. If you don't set them,
they default as follows:
    XDRIVER_HEIGHT 400
    XDRIVER_WIDTH  450
    XDRIVER_LEFT    10
    XDRIVER_TOP     10
-----------------------------------------------------------------
Michael Shapiro                        U.S. Army CERL                  
email:   shapiro at zorro.cecer.army.mil  Environmental Division          
phone:   (217) 373-7277                P.O. Box 9005                   
fax:     (217) 373-7222                Champaign, Ill. 61826-9005
-----------------------------------------------------------------




More information about the grass-dev mailing list