Operation
When an X workstation is opened the device handler connects to the default X display (defined by the
DISPLAY environment variable) and searches the display for a GWM (Graphics Window Manager)
window with the name GKS_nnnn , where nnnn is the workstation type. If the window is not found it is
created. The connection identifier is ignored and only one workstation of a particular workstation
type can be open at one time.
The size, number of colours and other properties of the window can be controlled either by using the
X resources database or by creating the window with the xmake command as described in SUN/130.
The colours of colour table entries 0 and 1 are defined by the background and foreground colours of
the window.
Changing the size of the window after the window has been created does not alter the size of the
plotting area.
When the workstation is closed, the window remains on the display and opening another workstation
with the same workstation type will reconnect to the same window.
An overlay workstation is only available if the window has been created with an overlay plane (see
SUN/130).
Input devices
-
Locator
- A cross hair cursor. Press any mouse button except the right hand button to indicate a
point. A break is indicated by pressing the right hand mouse button.
-
Choice
- A single digit typed on the keyboard. Any other key is a break.
Deficiencies
- Pick device not implemented.
- String device not implemented.
- Valuator device not implemented.
- Hardware text not implemented.
- Initialization of input devices (except locator position) not implemented.
- Read pixel and read pixel array not implemented
|