NMKATZ@pucc.Princeton.EDU (Nicholas M. Katz) (06/04/89)
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