WIN(4S)

NAME
win - Sun window system

CONFIG
pseudo-device winnumber
pseudo-device dtopnumber

DESCRIPTION

The win pseudo-device accesses the system drivers supporting the Sun window system. number, in the device description line above, indicates the maximum number of windows supported by the system. number is set to 128 in the GENERIC system configuration file used to generate the kernel used in Sun systems as they are shipped. The dtop pseudo-device line indicates the number of separate ``desktops'' (frame buffers) that can be actively running the Sun window system at once. In the GENERIC file, this number is set to 4.

Each window in the system is represented by a /dev/win* device. The windows are organized as a tree with windows being subwindows of their parents, and covering/covered by their siblings. Each window has a position in the tree, a position on a display screen, an input queue, and information telling what parts of it are exposed.

The window driver multiplexes keyboard and mouse input among the several windows, tracks the mouse with a cursor on the screen, provides each window access to information about what parts of it are exposed, and notifies the manager process for a window when the exposed area of the window changes so that the window may repair its display.

Full information on the window system functions is given in the

FILES
/dev/win[0-9]
/dev/win[0-9][0-9]

SEE ALSO