The sample code for Athena Widget Set is supposed to be found in contrib/examples/mit/Xaw but they are neither installed nor distributed with libXaw.tar.bz2.
Whatever these examples may have once been, they seem to be long lost
now - I can't find them in http://ftp.x.org/contrib/ which is what
contrib normally refers to. Will update the Xaw documentation to
remove the references.
It looks like these were last in the actual X distribution in X11R4 in 1989,
were in the X11R5 contrib release in 1991, then dropped for X11R6 in 1994.
(Have we mentioned yet how very out of date libXaw is?)
You can find them in http://www.x.org/releases/X11R5/contrib-1.tar.Z
Fixed the docs to reflect this:
Author: Alan Coopersmith <email@example.com>
Date: Fri May 27 20:35:28 2011 -0700
Bug 37536: Documentation refers to invalid contrib/examples/mit/Xaw
Update text to point to the latest distributed copy I found, in the
X11R5 contrib archives.
Signed-off-by: Alan Coopersmith <firstname.lastname@example.org>
diff --git a/specs/CH2.xml b/specs/CH2.xml
index 08f0ff5..6e30a35 100644
@@ -1880,11 +1880,12 @@ can be used, as in the first approach, for easier code m
The best way to understand how to use any programming library is by
trying some simple examples. A collection of example programs that
introduces each of the widgets in that Athena widget set, as well as many
-important toolkit programming concepts, is available in the X11R6
+important toolkit programming concepts, is available in the X11R5 contrib
release as distributed by the X Consortium. It can be found in the
-distribution directory <function>contrib/examples/mit/Xaw</function>, but see y
-site administrator for the exact location of these files on your system.
-See the README file from that directory for a guide to the examples.
+directory <filename>contrib/examples/mit/Xaw</filename> in the archive
+at <ulink url="http://www.x.org/releases/X11R5/contrib-1.tar.Z" />
+See the <filename>README</filename> file from that directory for a guide
+to the examples.
(In reply to comment #2)
> +directory <filename>contrib/examples/mit/Xaw</filename> in the archive
it is actually <filename>contrib/examples/Xaw</filename>
Oops - fixed:
Thanks for double-checking my update.