🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #96

Point to Focus

#96
From: Dwight Shih
Date: Fri, 30 Oct 1992 01:57
48 lines
1851 bytes
Ok, I finally remembered to bring in this in from home.

It appears to me that in going to the 3.0 CD, someone deleted all
the comments and indentation from /usr/lib/NextStep/windowPackage.ps
Therefore, patch never had a chance.  BTW, this also means that if
you think you might want to window server hack in the future, I would
be prudent to save your 2.x windowPackage.ps

Since I'm fortunate to have both 2.2 and 3.0 on hard disk right now,
I was able to poke around and recreate the patch.  Unfortunately,
I've lost the original posting, so I can not make the appropriate
attribution for this patch.

No guarantees, but this hasn't given me any problems yet.

dwight


*** windowPackage.ps.orig	Wed Jul 29 21:47:25 1992
--- windowPackage.ps	Sat Oct  3 17:10:53 1992
***************
*** 1335,1341 ****
  activeApp 0 eq {
  /beep winexec
  }{
! activeApp true /postByContext winexec
  } ifelse
  } ifelse
  } _NXDefProc
--- 1335,1352 ----
  activeApp 0 eq {
  /beep winexec
  }{
!            0 currentmouse
!     Above 0 findwindow 4 2 roll pop pop
!     { dup dup dup currentwindowbounds exch pop add
! 		% win win win x y
!       1 3 1 roll 0 0 6 -1 roll 0 0
! 		% win win 1 x y 0 0 win 0 0
!       9 -1 roll currentowner
! 		% win 1 x y 0 0 win 0 0 context
!       9 copy /transmitEvent winexec
!       2 9 1 roll /transmitEvent winexec pop
!     currentowner true /postByContext winexec
!     }{ 10 {pop} repeat } ifelse
  } ifelse
  } ifelse
  } _NXDefProc
Technical Details
Message-ID: <1992Oct30.015735.20367@s1.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!usenet.ins.cwru.edu!agate!overload.lbl.gov!s1.gov!dwight

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!usenet.ins.cwru.edu!agate!overload.lbl.gov!s1.gov!dwight
From: dwight@s1.gov (Dwight Shih)
Subject: Point to Focus
Message-ID: <1992Oct30.015735.20367@s1.gov>
Sender: usenet@s1.gov
Nntp-Posting-Host: s1.gov
Organization: LLNL
Date: Fri, 30 Oct 1992 01:57:35 GMT
Lines: 48