Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!BRILLIG.UMD.EDU!don From: don@BRILLIG.UMD.EDU (Don Hopkins) Newsgroups: comp.windows.news Subject: GoodNeWS bug fix: drawps & dvi2ps Message-ID: <8907011256.AA21574@brillig.umd.edu> Date: 1 Jul 89 13:32:55 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17 In the file tools/drawps/obj.c, to the function "read_char_from_file()", add the following statement to the end of the function: return(c); It just happened to work without that on a 68K because c was the only local variable of the function, but drawps would bomb with a "stack underflow" error on a SPARC. (it's a mini PostScript interpreter!) You will also have to remake dvi2ps, too, since it grabs the obj.o binary from $(DRAWPSDIR). Has anybody made a class of Thing to wrap up drawings in so you can use them as menu keys, item labels, etc? -Don