Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!agate!shelby!morrow.stanford.edu!hekla.stanford.edu!steve From: steve@hekla.stanford.edu (Steve Cole) Newsgroups: comp.windows.open-look Subject: NeWS graphics in X11 program Message-ID: <1991Jan22.232410.11100@morrow.stanford.edu> Date: 22 Jan 91 23:24:10 GMT Sender: news@morrow.stanford.edu (News Service) Reply-To: steve@hekla.stanford.edu (Steve Cole) Organization: Stanford Exploration Project Lines: 22 I want to display NeWS graphics in an X11 program. With the X11/NeWS server that comes with OpenWindows, this should be possible. The most difficult part is telling NeWS which X11 window to display in. In my OpenWindows version 2: X11/NeWS server guide, there are some hints as to how to do this. Unfortunately the hints are brief, and the reader is referred to a demo program included in the OpenWindows source distribution ($OPENWINHOME/share/src/xnews/client/X11/logo.c) for more details. Apparently this is a program that mixes X11 and NeWS graphics in just the way I'd like. The problem is that my source distribution has no such example (at least not the source). Probably my manual is out of date and that program was included in some pre-release version of OpenWindows. Does anyone have any advice - code that shows how to tell the NeWS server to draw in a particular X11 window, the source to the program I mentioned, a pointer to better advice in a newer manual, etc? Thanks for any replies. ----------------------------------------------------------------- Steve Cole (steve@hanauma.stanford.edu, apple!hanauma!steve) Department of Geophysics, Stanford University, Stanford, CA 94305