hrp@boring.cray.com (Hal Peterson) (10/13/89)
I am using Ghostscript 1.4 on Sun-3/280s and Sun-3/50s under SunOS 3.5 and X11R4alpha, compiled with GCC 1.36, and an old bug has resurfaced: on startup, gs opens two windows and only uses the second one. The problem is in ghost.ps and the patch is below. *** ghost-DIST.ps Thu Aug 3 01:31:44 1989 --- ghost.ps Tue Oct 3 14:19:11 1989 *************** *** 309,315 **** % Map the screen height to an 11" page. % This is not necessarily the best compromise. DISPLAYING ! { defaultdevice setdevice .device.height 72 11 mul div [1 index .aspect.ratio mul 0 0 4 index neg 0 .device.height] .device.width 8 idiv .device.height { } framedevice pop --- 309,315 ---- % Map the screen height to an 11" page. % This is not necessarily the best compromise. DISPLAYING ! { % defaultdevice setdevice .device.height 72 11 mul div [1 index .aspect.ratio mul 0 0 4 index neg 0 .device.height] .device.width 8 idiv .device.height { } framedevice pop -- Hal Peterson Domain: hrp@cray.com Cray Research Old style: hrp%cray.com@uc.msc.umn.edu 1440 Northland Dr. UUCP: uunet!cray!hrp Mendota Hts, MN 55120 USA Telephone: +1 612 681 3145