24.05.2014 Views

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

AIX Version 4.3 Differences Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XPCONFIGDIR<br />

Environment variable specifying alternative location of the print server<br />

configuration files.<br />

The print server is configured through a directory of configuration files that define<br />

printer model types and instances of printer models. An example configuration<br />

tree is provided.<br />

By convention, clients locate the print server using the environment variable<br />

XPRINTER. The syntax of XPRINTER is an augmented DISPLAY:<br />

printerName@host:display<br />

where printerName is one of the printer instances listed in the print server<br />

configuration files. The use of XPRINTER, and its syntax, is an application<br />

convention only; there is nothing in the supplied libraries that uses (or parses)<br />

this environment variable.<br />

8.2.15 Xlib Vertical Writing and User-Defined Characters<br />

The Xlib output method implementation has been enhanced to support the XOM<br />

drawing direction XOMOrientation_TTB_RTL. Vertical writing information, and<br />

other locale specific information, is read from the file<br />

/%L/XLC_LOCALE.<br />

The X[mb|wc]TextEscapement functions now return the text escapement in pixels<br />

for the vertical or horizontal direction depending on the XNOrientation XOCValue.<br />

The X[mb|wc]DrawString functions will now render a character string in the<br />

vertical or horizontal direction depending on the XNOrientation XOCValue.<br />

The Xlib NLS database implementation has been enhanced to support extended<br />

segments used for interchanging non-standard code sets. Support has been<br />

added for control sequences and encoding names used in extended segments<br />

and conversion of glyph indexes when interchanging data in extended segments.<br />

8.2.16 Xlib Library<br />

Xlib now supports multi-threaded access to a single display connection. Xlib<br />

functions lock the display structure, causing other threads calling Xlib functions to<br />

be suspended until the first thread unlocks. Threads inside Xlib waiting to read to<br />

or write from the X-server do not keep the display locked, so, for example, a<br />

thread hanging on XNextEvent() will not prevent other threads from doing output<br />

to the server.<br />

The display and GC structures have been made opaque to normal application<br />

code; references to private fields will get compiler errors. You can work around<br />

some of these by compiling with -DXLIB_ILLEGAL_ACCESS, but it is better to fix<br />

the offending code.<br />

The Xlib implementation has been changed to support a form of asynchronous<br />

replies, meaning that a request can be sent to the server, and then other requests<br />

can be generated without waiting for the first reply to come back. This is used to<br />

an advantage in two new functions, XInternAtoms() and XGetAtomNames(),<br />

which reduce what would otherwise require multiple round trips to the server<br />

Graphical Environment Enhancements 201

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!