Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!mephisto!udel!burdvax!ubbpc!wgh From: wgh@ubbpc.UUCP (William G. Hutchison) Newsgroups: comp.windows.x Subject: Young's Motif version of his 'coloredit' program Keywords: X OSF Motif GUI Young color editor example Message-ID: <699@ubbpc.UUCP> Date: 3 May 90 15:25:14 GMT Organization: Unisys UNIX Portation Center, Blue Bell, PA Lines: 30 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