Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!reading!rosemary!djd From: djd@rosemary.cs.reading.ac.uk (David Dawkins) Newsgroups: comp.lang.postscript Subject: Re: OpenWindows PageView problems Keywords: postscript Message-ID: <1990Nov13.092746.18753@csug.rdg.ac.uk> Date: 13 Nov 90 09:27:46 GMT References: <90Nov12.134718est.18498@me.utoronto.ca> Sender: news@csug.rdg.ac.uk Reply-To: adp@csug.cs.reading.ac.uk (David Dawkins) Organization: Comp. Sci. Dept., Reading Univ., UK. Lines: 41 In article <90Nov12.134718est.18498@me.utoronto.ca> sun@me.utoronto.ca (Andy Sun Anu-guest) writes: >Does anyone have problems in using pageview (a postscript viewer) from SUN's >OpenWindows? ... >..whenever I try to use the PostScript command "setscreen" >to change the greyscale patterns, pageview will hang. I've had the same problem with the "pstack" command - the machine just hangs ( an 'input queue lock', I think ). I guess this is just the result of unfinished software - it _is_ in the Demos !! The answer is not to use PageView, but to use psh instead. In case you didn't know, then you can create a PostScript/NeWS file with the top line #!$OPENWINHOME/bin/psh ^^^^^^^^^^^^ ie, insert the home directory of OpenWindows here; mine looks like '#!/openwin/bin/psh' (Assuming that's where psh actually is ! ) Remember to do a % chmod u+x and then just run it. Of course, this does mean you have to create your own canvas to work on. ( NeWS 2.1 Programmer's Guide tells all ). Hope this helps. David. ---------------------------------------------------------------------------- David J Dawkins | Use the following email address (mine is temp. screwed!) Reading University | adp@uk.ac.reading.cs.csug OR United Kingdom | adp%uk.ac.reading.cs.csug@uk.ac.nfs.net-relay ---------------------------------------------------------------------------- Newsgroups: comp.lang.postscript Subject: Re: OpenWindows PageView problems References: <90Nov12.134718est.18498@me.utoronto.ca> Reply-To: djd@rosemary.cs.reading.ac.uk (David Dawkins)