Path: utzoo!utgpu!watserv1!watmath!att!dptg!ulysses!andante!mit-eddie!snorkelwacker!usc!samsung!uunet!mcsun!ukc!strath-cs!turing.ac.uk!news From: rudolf@morlich.turing.ac.uk (Jim Rudolf) Newsgroups: comp.windows.news Subject: Finding xnews version outside xnews? Message-ID: <1990Jul22.135206.455@postmaster@turing.ac.uk> Date: 22 Jul 90 13:52:06 GMT Organization: The Turing Institute, Glasgow, Scotland. Lines: 31 For configuration purposes I'm trying to find out what version of xnews a machine has from within a shell script. I tried something like the following line, but I got an error message voicing xnews's displeasure: morlich% xnews 'version =' Process: 0x1b9094 (Unnamed process) Error: unimplemented Stack: Executing: 'version' At: Reading file(?,R) Sic transit gloria PostScript Using the -init flag and/or double quotes didn't seem to help. In fact, I always get the "Sic.." line, for example: morlich% xnews '2 3 add =' 5 Sic transit gloria PostScript BTW, I'm running OpenWindows1.0.1. So my questions are: a) Why am I having trouble passing PostScript as an arg to xnews? b) Is there an alternate way to find out the version? Thanks for the help, -- Jim -- ----------------------------------------------------------------------------- Jim Rudolf The Turing Institute rudolf@turing.ac.uk