From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <6ef91f1149bcb15fc3f307c5bec98c41@swtch.com> References: <6ef91f1149bcb15fc3f307c5bec98c41@swtch.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Paul Lalonde Subject: Re: [9fans] Plan9Ports libdraw open-in-same-window Date: Thu, 9 Mar 2006 20:26:06 -0800 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 112e727e-ead1-11e9-9d60-3106f5b1d025 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Makes me dislike X11's design even more. My "solution" works well enough for libdraw apps, but falls apart in the presence of standard X11. Grump. Paul On 9-Mar-06, at 7:34 PM, Russ Cox wrote: >> I've been recycling the drawable, but I need to keep a cross-process >> lock there; what's a good way to keep a lock in P9P? > > I don't know how you keep a cross-process lock anywhere. > > In Plan 9, rio provides the terminal windows - there is no 9term. > If an app opens /dev/mouse (which rio provides), then rio knows > an app is taking over the window and stops doing the terminal > things for that window. You can't run sam inside acme - only > one program can open /dev/mouse at a time. > > I'm less worried about sam inside acme than I am about > programs fighting over windows because of lack of coordination. > It sounds like this requires significant coordination between > the programs. > > Russ > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEEP/fpJeHo/Fbu1wRAj2XAJ0V9LORlIWta6YSiPuhEdbw+PKksgCeI7qX s+LFHSr1tRIMW3ZIh2W/YOA= =U+Ht -----END PGP SIGNATURE-----