[comp.windows.x] Young's Motif version of his 'coloredit' program

wgh@ubbpc.UUCP (William G. Hutchison) (05/03/90)

 I am having an 'interesting' problem with the coloredit example program
from Young's book:
 
Young, Doug. "The X Window System: Applications and Programming with Xt (Motif 
Version)," Prentice Hall, 1989 (ISBN 0-13-497074-8). The excellent tutorial 
"X Window Systems Programming and Applications with Xt," (ISBN 0-13-972167-3) 
updated for Motif. [The examples from the Motif version are available on expo 
in ~ftp/contrib/young.motif.tar.Z]	From: xug@ICS.COM (X User's Group)

 I got the program from the osu-cis archive site and compiled and linked it
with Motif and X11R3 on a 80386-based system with no problems.  When I run it on
a 4-plane (16 color) workstation, it works fine.

 When I run the same binary of coloredit on an 8-plane (256) 80386 workstation,
it hangs the system for 2-3 minutes while setting up the array of colors
and putting the color numbers on top of the color squares.  Recompiling and 
relinking the program on this system makes no difference

 The 8-plane system should be faster (per color) since it has a graphics
co-processor.

 Any idea what the program is doing in setting up its the color squares?
-- 
Bill Hutchison, DP Consultant	rutgers!cbmvax!burdvax!ubbpc!wgh (work)
Unisys UNIX Portation Center	uunet!eidolon!wgh (home)
P.O. Box 500, M.S. B121         "X does not just have bells and whistles --
Blue Bell, PA 19424		it has carillons and calliopes" - me, 1990

caf@omen.UUCP (WA7KGX) (05/06/90)

In article <699@ubbpc.UUCP> wgh@ubbpc.UUCP (William G. Hutchison) writes:
...
: When I run the same binary of coloredit on an 8-plane (256) 80386 workstation,
:it hangs the system for 2-3 minutes while setting up the array of colors
:and putting the color numbers on top of the color squares.  Recompiling and 
:relinking the program on this system makes no difference

Coloredit starts up in about 6 seconds (SCO Unix, Xsight, Microfield server,
16 mb 33 mHz Micronics).  180 seconds is definitely over the top.