Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ulysses!cjc From: cjc@ulysses.homer.nj.att.com (Chris Calabrese[mav]) Newsgroups: comp.lang.postscript Subject: Re: Request for Postscript display for a Sun Summary: butterflies don't work under NeWS also psview and stdin Message-ID: <12047@ulysses.homer.nj.att.com> Date: 17 Aug 89 14:52:58 GMT References: <4163@udccvax1.acs.udel.EDU> <17139@ut-emx.UUCP> <1566@ns.network.com> Distribution: usa Organization: AT&T Bell Laboratories, Murray Hill Lines: 30 In article <1566@ns.network.com>, hughes@ns.network.com (Jim Hughes x1676) writes: > About viewing PS files using NeWS, Yesterday there was a posting of > butterflies in color. I tried to display that using NeWS psh and > psview and got only the autograph. The problem seems to be that the code relies on being able to do a 'translate' on a matrix, which doesn't seem to work under NeWS. > Also using psview will not read from stdin as documented. Well, actually it works fine - it will read from stdin, just not the way you want it to. The problem is that your code is not going directly to the translator but is being stored in an executable array in between. When the read is executed, the code has finished reading in and you're reading from the end of the file. You must use psh instead. > Can you give me a tip on how to get the butterflies displayed? > I am intrested because the butterflies (and my terminal) are in > color. > > Email the response, and if it is not obvious(I am not too embarrased > by my mistake), I will post the result. I didn't email because there is no solution as far as I can tell. -- Name: Christopher J. Calabrese Brain loaned to: AT&T Bell Laboratories, Murray Hill, NJ att!ulysses!cjc cjc@ulysses.att.com Obligatory Quote: ``Anyone who would tell you that would also try and sell you the Brooklyn Bridge.''