| United States-English |
|
|
|
![]() |
HP-UX Starbase Device Drivers Manual - Vol1: HP 9000 Series 700 Computers > Chapter 2 HP VMX Device Driver To Open and Initialize the Device for Output |
|
The VMX usage example in the section "How Do You Use HP VMX?" gives an example of how you might run an application with HP VMX in the X11 environment. This section describes in more detail the X11 environment setup necessary to run HP VMX remotely. The DISPLAY environment variable must be set on the HP VMX server side. The value of the environment variable is the host, display, and screen of the targeted VMX client on which the Starbase application is to be displayed. By setting this environment variable, the application will direct X11 protocol to the HP VMX client. Two methods exist to gopen a window using HP VMX. One method for gopening HP VMX is to specify hpvmx as the driver parameter to gopen(). The second method is to set the driver parameter to NULL and let Starbase choose the appropriate device driver. See the gopen(3G) and inquire_device_driver(3g) man pages for details on device driver selection. If you specify NULL as the driver parameter, Starbase will choose HP VMX if:
In each of the examples below, assume that the window[5]:
has been created on a remote X11 server with the following xwcreate command:
The gopen procedure has four parameters: path, kind, driver, and mode.
[5] The actual path names of directories in angle brackets depend on the file system structure. See the Graphics Administration Guide for details. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||