Path: utzoo!attcan!uunet!husc6!mailrus!ncar!ames!pasteur!ucbvax!BRILLIG.UMD.EDU!don From: don@BRILLIG.UMD.EDU (Don Hopkins) Newsgroups: comp.windows.news Subject: psterm and neatwin bug fixes Message-ID: <8811160433.AA17464@brillig.umd.edu> Date: 16 Nov 88 11:08:50 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 25 Here's a fix for psterm to make it work with neatwin.ps, or any other window class that doesn't have its own BorderRight class variable: In psterm.ps, in the definition of the PSTermWindow class: replace "DefaultWindow /BorderRight get" with "/BorderRight DefaultWindow send". Also there is a bug in netwin.ps that is tickled by psterm's overriding the flipiconic method. (Which neatwin should use but doesn't.) The fix: Replace the definition of the /flipmove method in neatwin.ps with the following: /flipmove { gsave flipiconic framebuffer setcanvas CurrentEvent begin XLocation YLocation end Iconic? { exch IconWidth 2 div sub exch IconHeight 2 div sub } { exch FrameWidth 2 div sub exch FrameHeight 2 div sub } ifelse move slide grestore } def -Don