erik@srava.sra.JUNET (Erik M. van der Poel) (05/25/89)
The last few pages of the book
The Definitive Guides to the X Window System
Volume Two - Xlib Reference Manual (for Version 11)
O'Reilly & Associates, Inc.
contain extremely useful quick reference "At-a-glance" tables about
window attributes and GC's.
A quick reference card that we have found helpful here is one that
explains how the X resource database is loaded. I am posting it in the
hope that others may find it handy.
--- Start ---
For clients using the R3 X Toolkit, the resource database is loaded and
merged in the following order.
1. /usr/lib/X11/app-defaults/<class>
2. if XAPPLRESDIR set
$XAPPLRESDIR/<class>
else
<home>/<class>
3. if server's RESOURCE_MANAGER property set (by xrdb)
contents of RESOURCE_MANAGER
else
<home>/.Xdefaults
4. if XENVIRONMENT set
$XENVIRONMENT
else
<home>/.Xdefaults-<host>
5. command line (e.g. -geometry, -xrm)
--- End ---
The above information is the sort of thing you want to give to beginners
who are baffled when their .Xdefaults files don't seem to work since
they are (also) using xrdb without knowing about it.
An at-a-glance card that I would really like to have is one that
indicates which GC values are used by each drawing function. What I have
in mind is a 2-dimensional table with the GC members along the top and
the drawing functions down the left side. The entries could be * to mean
that it is used, ? to mean "depending on function", and space for not
used. Has anyone got something like that?
--
Erik M. van der Poel erik@sra.junet (Japan)
SRA, 1-1-1 Hirakawa-cho, Chiyoda-ku erik%sra.junet@uunet.uu.net (USA)
Tokyo 102 Japan. TEL +81-3-234-2692 erik%sra.junet@mcvax.uucp (Europe)kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (05/25/89)
> 2. if XAPPLRESDIR set > $XAPPLRESDIR/<class> It is actually: 2. if XAPPLRESDIR set $XAPPLRESDIR<class> ^ | No "/" is appended. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213
tim@ora.UUCP (Tim O'Reilly) (05/29/89)
In article <2198@srava.sra.JUNET>, erik@srava.sra.JUNET (Erik M. van der Poel) writes: > The last few pages of the book > > The Definitive Guides to the X Window System > Volume Two - Xlib Reference Manual (for Version 11) > O'Reilly & Associates, Inc. > > contain extremely useful quick reference "At-a-glance" tables about > window attributes and GC's. > . . . > An at-a-glance card that I would really like to have is one that > indicates which GC values are used by each drawing function. What I have > in mind is a 2-dimensional table with the GC members along the top and > the drawing functions down the left side. The entries could be * to mean > that it is used, ? to mean "depending on function", and space for not > used. Has anyone got something like that? We are currently working on a quick-reference guide akin to our UNIX in a Nutshell, which we will call "The X Window System In a Nutshell." We hope to have as many other useful such compendia as possible, as well as synopses of all xlib and xt functions and macros. We will do our best to include the above suggestion, and would appreciate any other requests for useful quick-reference tables. Suggestions should be mailed to dale@ora.uu.net. -- Tim O'Reilly (617) 354-5800 or (800) 338-NUTS O'Reilly & Associates, Inc., Publishers of Nutshell Handbooks 90 Sherman Street, Cambridge, MA 02140 UUCP: uunet!ora!tim ARPA: tim@ora.uu.net