Path: utzoo!mnetor!uunet!oddjob!hao!noao!arizona!modular!hagen From: hagen@modular.UUCP (Jeff Hagen) Newsgroups: comp.windows.news Subject: NeWS on a SUN, bug in translate? Message-ID: <539@modular.UUCP> Date: 28 Jan 88 00:41:53 GMT Distribution: comp Organization: Modular Mining Systems, Tucson, Arizona, USA Lines: 27 Keywords: NeWS RE: NeWS on Sun Is there a limit to the size NeWS allows on the scale and translate functions? For example, % this draws a 45 degree line gsave -10 -20 translate 10 20 moveto 82 92 lineto stroke grestore % but this doesn't: gsave -100000 -200000 translate 100000 200000 moveto 100144 200144 lineto stroke grestore This doesn't cause an error, but it seems to be ignored. I found that translate on the order of 10000 will work as advertized. The problem can be fixed of course by prescaling the data before plotting, but I don't see any reason ( at least from the NeWS manuals ) why this shouldn't work. Also, has anybody gone to the trouble of writing a key-repeat function in NeWS? I suspect it is possible by waiting for the up-transition a certain time after the down transition... Jeff Hagen arizona!modular!hagen Modular Mining Systems (602) 746-9127 1210 E. Pennsylvania St. Tucson, Az 85714