Path: utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!ulysses!csw From: csw@ulysses.homer.nj.att.com (Chris Warth) Newsgroups: comp.windows.news Subject: currentfile does not work Message-ID: <10204@ulysses.homer.nj.att.com> Date: 31 Mar 88 15:36:03 GMT Organization: AT&T Bell Laboratories, Murray Hill Lines: 24 Running NeWS version 1.1. Adobe specifies that `currentfile' "returns the file object from which the PostScript interpreter is currently or was most recently reading program input" (Red book, pg. 144). Yet this does not seem to work for psh or psview. Most commonly this seems to be used to read large bitmaps for the image operator. In fact, it seems one of the only ways the read images that are larger than about 65000 bytes, the maximum length of a string. There are workarounds, I think, for this particular application, but it would sure be nice to be able to run normal postscript programs without hacking the code so much. Is this a bug that I should report or is there some reason this cannot work in NeWS? In the mean time, does anyone have a nice way to handle bitmaps that are larger than 65000 bytes? Chris Warth ATT Ball Laboratories Murray Hill NJ ulysses!csw --