Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!njin!princeton!phoenix!pucc!NMKATZ From: NMKATZ@pucc.Princeton.EDU (Nicholas M. Katz) Newsgroups: comp.sys.next Subject: Eagle, Yap, and pft Message-ID: <8557@pucc.Princeton.EDU> Date: 4 Jun 89 05:10:36 GMT References: <6545@sdcsvax.UCSD.Edu> <9640@polya.Stanford.EDU> Reply-To: NMKATZ@pucc.Princeton.EDU Organization: Princeton University, NJ Lines: 25 Disclaimer: Author bears full responsibility for contents of this article In a recent posting, Ali Ozer wrote >A better way to use pft might be to run an existing stand-alone PostScript >program like eagle without having to go through Yap... Then you simply >do >pft -f amovie.ps >Oh, one more thing which might bite you when playing with PostScript: >File names to PS operators like "run" or file arguments to "pft -f" usually >need to be fully specified; because the server isn't connected to the directory >you are in, relative path names usually won't work. Many thanks to Ali for letting us know about pft. By adding the three lines h /myWin 0 0 800 800 Retained window def Above 0 myWin orderwindow myWin windowdeviceround to the beginning of my baby postscript programs, right after the top line %! I just type pft -f myfile in a shell window, where "myfile" is the above-modification of the postscript program in question (the one I used to watch happen in 0.8 Yap), and now I watc h it happen once again, happy as a clam. Of course, one could automate the inse rtion of the three lines above with a little shell script...but for now, just a big thank you to Ali. By the way, would it be possible in 1.0 Yap to give the user a choice betwee n running it the "0.8 way" or the "0.9 way"? Nick Katz nmkatz@pucc