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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 8. Graphical Environment Enhancements<br />

Prior to the release of <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong>, IBM shipped X11 Release 5 and additional<br />

backward-compatibility libraries plus Motif <strong>Version</strong> 1.2. <strong>AIX</strong> <strong>Version</strong> <strong>4.3</strong> provides<br />

graphics updates to two existing products. The first update, release 6 of the<br />

X-window system (X11R6), allows developers to use new extensions and<br />

enhancements to existing extensions. The second update, MotifNext or Motif 2.1,<br />

provides a range of new function including thread safe libraries and 64-bit<br />

enablement.<br />

8.1 X-Windows Architecture Review<br />

The X-windows architecture consists of three basic components: The client,<br />

protocol, and server. These components will be the subject of the following<br />

sections.<br />

8.1.1 Client<br />

8.1.2 Protocol<br />

The X Client is a software application that requests services from another<br />

application called the server, possibly across a network. A typical example would<br />

be a stock control application that used the services of an X Station to display<br />

output and accept user input from a keyboard or other input device. It is normally<br />

written in a high-level language, commonly C, and is linked with one or more of<br />

the X libraries. The instructions that the application developer uses to interact<br />

with the server are very low-level and allow them to open a connection with the<br />

server, create and manipulate windows, draw elementary shapes (lines,<br />

rectangles, circles, characters, and so on), and handle events, such as mouse<br />

movements or keystrokes. To increase productivity, toolkits have been developed<br />

that perform complex operations by calling several elementary subroutines. The<br />

most elaborate toolkits, such as Athena or Motif, also contain widgets. Widgets<br />

are program objects with a predefined appearance and behavior, such as a menu<br />

push button. The standard toolkits provided with <strong>AIX</strong> are:<br />

Xt<br />

Xaw<br />

Xmu<br />

Xext<br />

Xi<br />

Xm<br />

The basic X toolkit with hundreds of standard functions, also called<br />

intrinsics.<br />

The Athena Widget set from the X Consortium.<br />

Miscellaneous utilities.<br />

The extension library.<br />

The input extension library. It manages the peripherals, that is,<br />

keyboard and mouse.<br />

The Motif library of widgets with a 3D-look.<br />

The protocol is a formal description of the conversation that is carried out<br />

between the client and the server. The server and clients exchange information<br />

using messages. These messages are contained in packets that can be<br />

transported over a network if necessary. There are four packet types:<br />

Request Used by the client to ask the server to perform an action.<br />

Reply<br />

Used by the server to answer the client after a request has been<br />

received.<br />

© Copyright IBM Corp. 1998 191

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

Saved successfully!

Ooh no, something went wrong!