JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris X Window System Developer's Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction to the Solaris X Server

About the Solaris X Server

X11R6 Sample Server

DPS Extension

X Consortium Extensions

X Input Extension

Double Buffer Extension

Shape Extension

Shared Memory Extension

XTEST Extension

Miscellaneous Extension

XC-MISC

X Imaging Extension

AccessX

Shared Memory Transport

Visual Overlay Windows

X11 Libraries

64-bit X11 Libraries

Applications That Run With the Solaris X Server

Supported X11 Applications

Unsupported Applications

OpenWindows Directory Structure

Notes on X11 Programming

Compose Key Support

NumLock Key Support

Color Name Database

Color Recommendations

Further Reading

2.  DPS Features and Enhancements

3.  Visuals on the Solaris X Server

4.  Font Support

5.  Server Overlay Windows

6.  Transparent Overlay Windows

7.  Security Issues

A.  Reference Display Devices

Glossary

Index

Notes on X11 Programming

Common X11 programming issues are discussed in the following sections.

Compose Key Support

The OpenWindows version of Xlib supports Compose Key processing through calls to XLookupString.


x86 only - On IA keyboards, use the Control-Shift-F1 key sequence for the Compose Key functionality.


NumLock Key Support

The OpenWindows version of Xlib supports NumLock Key processing through calls to XLookupString. This change does not affect the NumLock processing that exists in XView, OLIT, Motif, or X applications.


x86 only - On IA keyboards, the NumLock Key resides in the top line of the keypad section of the keyboard.


Color Name Database

The color name database provides a mapping between ASCII color names and RGB color values. This mapping increases the portability of color programs and eases programming. Note that this mapping is subjective and has no objective scientific basis.

The source of the database is /usr/openwin/lib/X11/rgb.txt. This file is identical to the one provided in X11R6 from the X Consortium. rgb.txt is compiled into the dbm(3) database files, rgb.dir and rgb.pag. When the server starts up, it builds an internal representation of rgb.dir and rgb.pag used to map a color name to a color value.

X11 clients use XLookupColor or XAllocNamedColor to map a color name to a color value. The color name string passed to these routines is converted to lowercase before it is looked up in the database.

Color Recommendations

This section contains recommendations for using the Solaris X server color support facilities. Use these hints to maximize portability and color sharing: