Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ucdavis!csusac!usenet From: severyn@athena.ecs.csus.edu (Niles Severyn) Newsgroups: comp.sys.next Subject: Postscript Message-ID: <1991Apr22.212326.26982@csusac.csus.edu> Date: 22 Apr 91 21:23:26 GMT Sender: usenet@csusac.csus.edu (News account (alt)) Organization: California State University, Sacramento Lines: 20 I've been working with the file operator in postscript trying to open files for writing (for debugging purposes). The interpreter is quite happy to do it, however when I go out and try to find the file, it doesn't exist. I've even tried creating the file and letting write to that. No effect. I've been trying something like this: (/Users/staff/severyn/file) (w) file dup (Hello) writestring dup flushfile closefile I must be doing something wrong. Also, I tried opening (%stderr) for writing, it does it, but when it gets to the writestring, it returns an invalid access for that operator. Also, I was wondering (perhaps this question should go in comp.emacs), does anyone know of a mode for emacs for editing Postscript files?