Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sgi!arisia!janssen@parc.xerox.com From: janssen@parc.xerox.com (Bill Janssen) Newsgroups: comp.windows.x Subject: Re: Xnews startup Message-ID: <3877@arisia.Xerox.COM> Date: 2 Nov 89 03:16:07 GMT References: <149@ndl.UUCP> Sender: news@arisia.Xerox.COM Reply-To: janssen@parc.xerox.com (Bill Janssen) Organization: PARC.Xerox.COM Lines: 32 In-reply-to: gilley@ndl.COM (Greg Gilley) In article <149@ndl.UUCP>, gilley@ndl (Greg Gilley) writes: >I am trying to start up Xnews in an X11ONLY mode. The problem is I >cannot find a way to gracefully exit xnews. In other words, with a >'normal' X server, you start it something like: > > xinit xterm -- Xsun You can do the same thing with xnews. I package the call to start the server in a script (sunX): #!/bin/sh OPENWINHOME=${OPENWINHOME:-"/import/openwin"} export OPENWINHOME X11ONLY=t export X11ONLY LD_LIBRARY_PATH="${OPENWINHOME}/lib:${LD_LIBRARY_PATH:-/usr/lib}" export LD_LIBRARY_PATH PATH=${PATH}:${OPENWINHOME}/bin export PATH exec xnews then use xinit myxtools -- sunX to start the server. Bill -- Bill Janssen janssen.pa@xerox.com (415) 494-4763 Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto, California 94304