Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!wind.Eng.Sun.COM From: naughton@wind.Eng.Sun.COM (Patrick Naughton) Newsgroups: comp.windows.news Subject: Re: Finding the version of OpenWindows Message-ID: <139530@sun.Eng.Sun.COM> Date: 24 Jul 90 23:56:11 GMT References: <28176@pprg.unm.edu> Sender: news@sun.Eng.Sun.COM Reply-To: naughton@wind.Eng.Sun.COM (Patrick Naughton) Organization: Sun Microsystems, Inc. - Mountain View, CA Lines: 25 In article <28176@pprg.unm.edu>, siegel@pprg.unm.edu (Josh Siegel) writes: |> |> Newsgroups: comp.windows.news |> Subject: Re: Finding xnews version outside xnews? |> |> In article <1990Jul22.135206.455@postmaster@turing.ac.uk> rudolf@morlich.turing.ac.uk (Jim Rudolf) writes: |> >For configuration purposes I'm trying to find out what version |> >of xnews a machine has from within a shell script. This should do the trick... (older versions may not need the -init.) xnews -init " /currentpacking false def /setpacking { pop } def (NeWS/basics.ps) (r) file cvx exec version = shutdownserver " ______________________________________________________________________ Patrick J. Naughton ARPA: naughton@sun.com Window Systems Group UUCP: ...!sun!naughton Sun Microsystems, Inc. AT&T: (415) 336 - 1080