OpenWindows Server Programmer's Guide
只搜寻这本书
以 PDF 格式下载本书

Preface

The OpenWindows Server Programmer's Guide provides detailed information on the OpenWindows(TM) server. It also provides an overview of the OpenWindows architecture and tells you where to look for more information.
This manual provides detailed information for software developers interested in interfacing with the OpenWindows server.

Who Should Use This Book

If you are interested in the components of the OpenWindows environment, read Chapter 1, "Overview of OpenWindows Architecture."
Programming in this environment primarily involves using a toolkit and possibly interfacing with the server and its protocols. The protocols and toolkits are documented elsewhere (see "Related Books" on page xvii). Read this manual if you need detailed information on the:
  • Features of the OpenWindows server
  • Differences from and enhancements to the MIT X sample server
  • DPS imaging system
  • Supported display devices
  • Authorization schemes and protocols for server connections

Before You Read This Book

Read New Features for important information about this release.
Check the following manuals for any corrections or updates to information in this manual:
This manual assumes that the reader has a programming background and familiarity with, or access to, appropriate documentation for:
  • Solaris 2.x
  • X window system
  • C programming language
  • PostScript
  • The Display PostScript System (DPS)
  • olwm window manager
  • OPEN LOOK Intrinsics Toolkit (OLIT)
  • XView toolkit

How This Book Is Organized

Although you can read this book in sequence, it is designed for you to read only those chapters of interest. This book serves both as an overview and as a reference document.
Chapter 1, "Overview of OpenWindows Architecture" describes the architecture and the components of OpenWindows, including definitions, pointers to other documents, and the directory structure.
Chapter 2, "Introduction to the OpenWindows Server" describes the architecture of the OpenWindows server, the X and DPS extensions, Sun's enhancements to MIT's libraries and extensions, notes on color-related issues, and a list of applications you can run with the server.
Chapter 3, "X Features and Enhancements" contains an overview of the X Window System and discussions of its features and SunSoft's enhancements to the sample server.
Chapter 4, "DPS Features and Enhancements" provides an introduction to the DPS system. It describes the DPS extension, how applications use DPS, SunSoft's font enhancements to the DPS extension, DPS libraries, applications modified to use DPS, DPS security issues, and how to access information from Adobe, Inc.
Chapter 5, "Font Support" describes the core set of fonts provided and how to use and add fonts.
Chapter 6, "Visuals and Display Devices" describes the visuals and graphics devices supported. It provides hints for programming on advanced graphics devices and discusses multiple hardware colormaps and the installation of colormaps.
Chapter 7, "Visual Overlay Windows" describes visual overlay windows.
Chapter 8, "Security Issues" describes the security features of the OpenWindows environment.
Appendix A, "Multi-Buffering Application Program Interface, Version 3.2" describes the C language API (application program interface) to the MBX (Multi-Buffering) extension.

Related Books

For information on this release of OpenWindows, consult the following:
For information on how to start up the OpenWindows environment, consult the following manuals:
To learn how to use the OpenWindows environment, consult the following manuals:
For more information on how to write applications in the OpenWindows environment, consult the following manuals:
The following X-related manuals are available through SunExpress or your local bookstore. Contact your SunSoft representative for information on ordering any of these books.
  • XView Reference Manual, O'Reilly & Associates
  • XView Programming Manual, O'Reilly & Associates
  • Xlib Reference Manual, O'Reilly & Associates
  • Xlib Programming Manual, O'Reilly & Associates
  • X Protocol Reference Manual, O'Reilly & Associates
  • Programmer's Supplement for Release 5, O'Reilly & Associates
  • X Toolkit Intrinsics Reference Manual, O'Reilly & Associates
  • X Window System, Third Edition, Digital Press
  • The X Window System Server, X Version 11, Release 5, Digital Press
The following PostScript and DPS-related manuals are available through SunExpress or your local bookstore. Contact your SunSoft representative for information on ordering.
  • PostScript Language Reference Manual, Second Edition, Adobe Systems Incorporated
  • PostScript Language Tutorial and Cookbook, Adobe Systems Incorporated
  • Programming the Display PostScript System with X, Adobe Systems Incorporated
  • PostScript Language Program Design, Adobe Systems Incorporated
  • Adobe Type I Font Format, Adobe Systems Incorporated

What Typographic Changes and Symbols Mean

The following table describes the type changes and symbols used in this book.
Table P-1
Typeface or SymbolMeaningExample
AaBbCc123The names of commands, files, and directories; on-screen computer outputEdit your .login file. Use ls -a to list all files. system% You have mail.
AaBbCc123What you type, contrasted with
on-screen computer output
system% su
password:
AaBbCc123PostScript programming language commandsUse the currentpath operator.
AaBbCc123Command-line placeholder: replace with a real name or valueTo delete a file, type rm filename.
AaBbCc123Book titles, new words or terms, or words to be emphasizedRead Chapter 6 in User's Guide. These are called class options. You must be root to do this.
Code samples are included in boxes and may display the following:
%UNIX C shell promptsystem%
$UNIX Bourne shell promptsystem$
#Superuser prompt, either shellsystem#