Table Of ContentThe Definitive Gui
to the X Window S:
Volume Three
Motif Edition
X Window System
User’s Guide
by Valerie Quercia and Tim O'Reilly
O'Reilly & Associates, Inc.
X Window System
User’s Guide
The X Window System
Tia tanks me X Windoy Sysien Sota ue baad ip on Be onal MIT X Window Syram
doeuneation buts ote conpebu, eye, dare lta wher, eile
{ie Over mao rpm vendre recommend oer vlan ena, nse er se he
ecove guide to Be X Window Sytem.
Volume 0:
X Protocol Reference Manual
‘Acompits rogaine eX Nota Prtacl he lnguge of ommsiion between eX
eve ae Xcens, R50 page. $20
Volumes 1 and2:
Xtib Programming Manual
‘ib Reference Manval
evsedfor Release’, Compl guide and sesene to pogunaing Wtthe Xba (alone ievel
Voiune 5:
X Window System User's Guide (stanar and Matt tors)
RoveedandenlagedmincideX1 Relate 4, Deter wine ym conse sooo ct
per espa casomiing ie Kenviearen. Sundar’ Esco he em window mara
SBN, Mou Eton nghiphr mum. 60 popes S306
Volumes 4 and §:
X Toolkit Intrinsies Programming Manual (Stndar snd Wot Eston)
X Toolkit Intrinsics Reference Manual
Couple gidestoprogrannigvita th Tuo. Th? rogranmins Manual vier curereandenarles
‘oasng ides aed or ee cnsple sk of wag sew foges. Ts SuaaréFion snows Att
sagt #24 pps, S000. Tho Mou Elion seen Mout wi naples. 612 pags.
efunce Manual pvideareeence apes fr Xt Reng ant Xtand Athens wigae. TSnages. $0.
Votume 7:
View Programming Manuat
‘ewan amy-ae lk ht is nti fr Sn developer, is aveabloon MIT Re
‘Vasa ar weller eng peta San# Open Winsowspacengs, Tis man oie orp
on XView, om eooml io rang splcters selene page. 672 ager. $3000,
The X Window System in a Nutshell
Forte experience X programmer, coming esi nlrmaion fom oe Vlas fine sean aoe.
num. ikrefese frm tt mas teat Sn he anewers sds ne ofan. 3 age. SDA
For orders rte lag of al oar hooks, please conte,
O'Reilly & Associates, Inc.
RT Po RT
anc (VRIES = FOES OS FREY NDIA
Volume Three
X Window System
User’s Guide
OSF/Motif Edition
by Valerie Quercia and Tim O’Reilly
O'Reilly & Associates, Inc.
Copyright © 1990 O'Reilly & Associates, Inc.
‘All Rights Reserved
Printing and Revision History
Sep 1988: Fist Eaton
July 989: Second Edition. Revised wreert Release 3,
‘Oct 1989: Minor careeons,
‘May 1990: Third Eicon. Revised a reet Release 4.
an. 198t Mout Ein,
‘Small Print
Many oe sents Wy mutt od a ining i pac we cial a emt
‘Wie te sgn apa as bn Hey sod Ann ae arene oma cle
eg var nad pe rl
Pans fi mama pei wring oP Theo let it alco
(Set Reape wa we pr © 19, 8H, 84 Oe Manan a esa
Sty Cant nnn Dig Equrmen Caporoe, Mars Manes
‘eve i ial a ee a op ch ge aber ling Sn
"Permian cp, ly a date ay Smmim h ina MIE
‘niga mara) ty pea tn Domy eel oe a
‘Sore peice paw alps ah a yagi ne
‘Sino avn penn oping Soca nda ane o MOT Dg
‘ete! nsivering rab penning co be ear int en
‘a yr grin MIT an Digi leno eins tet ensayo
|B ste Secs tn oy popes pond wide epee
‘Bole rm"
‘No wore tot we pron of isonet hi we bted on ei! X11 ose md ee
‘eu nal en gusty mre ar cas pegy © 99H 9,
(Onna Aone enact en propery rn cab pra me fy pyle EE
‘ecm mata beet spying oe ose ot elowe. Sry fb doug
“Yaak cv pectin Sa er ken she pep of hr ak, ne sae espn fo ret
(etc, Neer yy rod fer emer aug fame horus! Noe
1SBN 0-937175.61-7
Table of Contents
Preface
Assumptions
(Organization
‘ul Sales formation
sshow(onie and Other Fre Programs
PART ONE: Using X
2 Getting Started ..
Staring X
‘Logging Oa'in te Special xd Window
‘Logging In ata FullScreen Prompt
“Typing Ina Window Once mom is Ruoning
3 Working in the X Environment
Creating Otber Windows
‘sing the Pointer
‘alsing, Moving, and fconilying Windows
Raising a Window oon
‘Moving a Window
‘Converting a Window to an Icon
CConvering an loon 1 Window
‘Moving afc
"Butog from an aero Window
“Logging Ino a Remote System
‘Monitering the Load on a Remote Systm
Other Command Line Options.
Puting it All Topediee
Cuxiomising he X Environment Specifying Resources
‘Where Go From Here
4 More about the mvm Window Manager ..
sing Special Key
Input Focus and the Window Manager
Focusing Input onan Teoa
“Tafetng the Focus with Keysuakes
‘What to dof mwem Diss andthe Focus is Last
Using the mom Window Frame.
‘Maximizing a Window
‘The Maximize Buta”
Resizing a Window
‘The Window Mona Basar Display « Mena o Close be Window
Using he Window Mena.
Tvoking Window Mena Tams
Poirier Commands 9 Manage Icons
Using he Window Menu on eons.
‘The Root Mem
$ The xterm Terminal Emulator ..
‘Terminal Emulation and the stem Terminal Type
Resizing an xizrm Window
Using be Scrollbar
Copying and Pasting Text Selections
Selecting Text wo Copy
Pasting Text Selections
Moe About Text Selections
Copying and Pasting between Release
Saving Multiple Selections: xclipboard —
Problems wid Large Selections
‘Editing Text Saved in the xclipooard .....
Running a Program ina Temporary xern Window
The ERR Mens nnn
‘The Main Options Mens —
Tek Options Meni eommnmm—
6 Font Specification
Font Naming Conventions nnn
oat Families
"Making the Server Aware of Aliases
‘Utes for Displaying Information aboot Fons
“The Font Displayerxfd
Seleeng 2 Font Name
(Changing Font in term Windows
"The Great Escape ana
“The Selection Meat lem =a
7 Graphies Utilities aaa,
(Creating Ions and Other Bismaps ur
“Bima Eating Commands
Pointer Commands
Biunap Command Boxes =
‘Acting one Ene Grict Car All, Set All lave
‘Acing onan Area” Clear Area Set Area vert Are
Copy Area, ove Area, Oveay Area
‘Drawing: Line, Cle, Filed Circe
Filling in 2 Shape: Flood Fil
ot Spots: Set Hot Spot, Cear Hot Spot
‘Saving and Quizing: Wie Out, Quit
Diaiog Bores and Command Busons
‘Creating 2 Bianap fom a Cus
Magnifying Porons of the Sere mag ——
‘Quicing mag,
‘What umag Shows You
Dynamically Choosing a Dilfeeat Source Aes
‘The Parable Bismup Toot —
Browsing Reference Pages: x7ta0
‘The net Tex Edie.
Kiling'a Cleat Window wid ll
Problens with King Client
Window and Display lnfermasion Cents
‘Displaying nfermaton about a Window: <winiago
sing te Window Tree: slsvins
sing he Camenly Ring Cleats: alscions
(Generating Information sbout he Display RApyIN@ nna
‘Usercontibued Cleus
Previewing Colors for Your Monizor. xl
Radio Rores and Toggle Batons
PART TWO: Customizing X
9 Command Line Options
Staring a Cleat Window as an leon
Specifying Fons on he Command Line