From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Tue, 2 Feb 2010 06:17:22 -0200 Message-ID: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: [9fans] contrib/gui Topicbox-Message-UUID: cbfef12e-ead5-11e9-9d60-3106f5b1d025 after talking about it for some time I got tired of talking and wrote a simple gui installer for contrib so if you pull contrib, you'll get a contrib/gui here's a shot: http://lab-fgb.com/contrib.png ah, the code is not the best, but it gets the job done -- Federico G. Benavento From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 2 Feb 2010 02:20:43 -0700 Message-Id: <87ock8j8no.fsf@marvin.902northland.adams.home> From: madams@phantomware.ca (Matt Adams) To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> (benavento@gmail.com) References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc0a4542-ead5-11e9-9d60-3106f5b1d025 Nice work, Federico! This is very useful. Thank you. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <87ock8j8no.fsf@marvin.902northland.adams.home> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> <87ock8j8no.fsf@marvin.902northland.adams.home> Date: Tue, 2 Feb 2010 07:33:05 -0800 Message-ID: <3e1162e61002020733v46cd996ar38c263ff7908d120@mail.gmail.com> From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=000e0cd4c08e77017f047e9fd1d3 Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc10cfac-ead5-11e9-9d60-3106f5b1d025 --000e0cd4c08e77017f047e9fd1d3 Content-Type: text/plain; charset=ISO-8859-1 Great! How many hours do you think this took you to do? I'm just curious as I've not really tried Plan 9 GUI programming yet, and think it would be interesting to compare to how long it takes me to do Qt or even Cocoa GUIs. Dave On Tue, Feb 2, 2010 at 1:20 AM, Matt Adams wrote: > Nice work, Federico! This is very useful. Thank you. > > --000e0cd4c08e77017f047e9fd1d3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Great!

How many hours do you think this took you to do?<= /div>

I'm just curious as I've not really tried = Plan 9 GUI programming yet, and think it would be interesting to compare to= how long it takes me to do Qt or even Cocoa GUIs.

Dave

On Tue, Feb 2, 2= 010 at 1:20 AM, Matt Adams <madams@phantomware.ca> wrote:
Nice work, Federico! =A0This is very useful. =A0Thank you.


--000e0cd4c08e77017f047e9fd1d3-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> Date: Tue, 2 Feb 2010 09:23:56 -0800 Message-ID: <13426df11002020923n7b6c9d3aw210394165ab34071@mail.gmail.com> From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc164428-ead5-11e9-9d60-3106f5b1d025 It's really neat -- give it a try. One thing that is not apparent is that the packages are set up as iso's, and they are pulled down as such, i.e. it's way faster to pull them down than running replica against far-away sources. ron From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 2 Feb 2010 12:31:29 -0500 Message-ID: <87wryvpmry.wl%john@zoidberg> From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: <13426df11002020923n7b6c9d3aw210394165ab34071@mail.gmail.com> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> <13426df11002020923n7b6c9d3aw210394165ab34071@mail.gmail.com> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc1c9a30-ead5-11e9-9d60-3106f5b1d025 At Tue, 2 Feb 2010 09:23:56 -0800, ron minnich wrote: > > It's really neat -- give it a try. One thing that is not apparent is > that the packages are set up as iso's, and they are pulled down as > such, i.e. it's way faster to pull them down than running replica > against far-away sources. > > ron > Definitely worth a shot. The speed is fantastic and the UI is just simple enough to be nice. Maybe a search function comes next? John From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <13426df11002020923n7b6c9d3aw210394165ab34071@mail.gmail.com> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> <13426df11002020923n7b6c9d3aw210394165ab34071@mail.gmail.com> Date: Tue, 2 Feb 2010 18:34:42 +0100 Message-ID: From: hiro <23hiro@googlemail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc25ac24-ead5-11e9-9d60-3106f5b1d025 On Tue, Feb 2, 2010 at 6:23 PM, ron minnich wrote: > It's really neat -- give it a try. One thing that is not apparent is > that the packages are set up as iso's, and they are pulled down as > such, i.e. it's way faster to pull them down than running replica > against far-away sources. > > ron > > what's the advantage of using iso over other packaging formats here? From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <3e1162e61002020733v46cd996ar38c263ff7908d120@mail.gmail.com> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> <87ock8j8no.fsf@marvin.902northland.adams.home> <3e1162e61002020733v46cd996ar38c263ff7908d120@mail.gmail.com> Date: Tue, 2 Feb 2010 23:21:11 -0200 Message-ID: <32d987d51002021721g3e65fd2ay998795afc77d8e51@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc2c7aea-ead5-11e9-9d60-3106f5b1d025 the whole thing took around 4 or 5 hours, because there isn't a lot reference material on control(2) and I haven't used it much. so I checked auth/fgui and games/juke to see how things get done. notice that the event handling and the layout code are almost nil. I'd have taken me a lot more on windows or cocoa trying to find out how to fork and pipe the output of the programs and all the magic that's involved with who knows what. anyways, this is the source if you want to scan it http://plan9.bell-labs.com/sources/contrib/fgb/root/sys/src/cmd/contrib/gui= .c On Tue, Feb 2, 2010 at 1:33 PM, David Leimbach wrote: > Great! > How many hours do you think this took you to do? > I'm just curious as I've not really tried Plan 9 GUI programming yet, and > think it would be interesting to compare to how long it takes me to do Qt= or > even Cocoa GUIs. > Dave > > On Tue, Feb 2, 2010 at 1:20 AM, Matt Adams wrote: >> >> Nice work, Federico! =C2=A0This is very useful. =C2=A0Thank you. >> > > --=20 Federico G. Benavento From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> <13426df11002020923n7b6c9d3aw210394165ab34071@mail.gmail.com> Date: Tue, 2 Feb 2010 23:40:38 -0200 Message-ID: <32d987d51002021740x3e264c60lfa8e03c431f878f7@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc428a56-ead5-11e9-9d60-3106f5b1d025 that you can create a .iso with a proto file, which is just handy. there wouldn't be a problem in using a different packaging format if it has the infrastructure, tar doesn't cut it as it doesn't support Plan 9 specific metadata, long names... On Tue, Feb 2, 2010 at 3:34 PM, hiro <23hiro@googlemail.com> wrote: > On Tue, Feb 2, 2010 at 6:23 PM, ron minnich wrote: >> It's really neat -- give it a try. One thing that is not apparent is >> that the packages are set up as iso's, and they are pulled down as >> such, i.e. it's way faster to pull them down than running replica >> against far-away sources. >> >> ron >> >> > > what's the advantage of using iso over other packaging formats here? > > -- Federico G. Benavento From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <23e2673c561242112d366a0a8a547009@9netics.com> To: 9fans@9fans.net Date: Tue, 2 Feb 2010 23:17:35 -0800 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: cc48314a-ead5-11e9-9d60-3106f5b1d025 cool! just tried it. nice. > after talking about it for some time > I got tired of talking and wrote a simple > gui installer for contrib > so if you pull contrib, you'll get a contrib/gui > > here's a shot: > http://lab-fgb.com/contrib.png > > ah, the code is not the best, but > it gets the job done > > -- > Federico G. Benavento From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> Date: Thu, 4 Feb 2010 10:03:05 +0100 Message-ID: <4ecada1e1002040103r3e5614f1h725a78f2c0293f97@mail.gmail.com> From: Bela Valek To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: ccac8334-ead5-11e9-9d60-3106f5b1d025 Great tool, I just downloaded and tried it. I found a bug: if you click at the 'Info' menu item before you select any items, it dies. 2010/2/2 Federico G. Benavento : > after talking about it for some time > I got tired of talking and wrote a simple > gui installer for contrib > so if you pull contrib, you'll get a contrib/gui > > here's a shot: > http://lab-fgb.com/contrib.png > > ah, the code is not the best, but > it gets the job done > > -- > Federico G. Benavento > > From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4ecada1e1002040103r3e5614f1h725a78f2c0293f97@mail.gmail.com> References: <32d987d51002020017p19c6abc6u4f15b7b61bcd153a@mail.gmail.com> <4ecada1e1002040103r3e5614f1h725a78f2c0293f97@mail.gmail.com> Date: Thu, 4 Feb 2010 10:27:48 -0200 Message-ID: <32d987d51002040427l55216faar7367a68e9797efea@mail.gmail.com> From: "Federico G. Benavento" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: ccc2ebd8-ead5-11e9-9d60-3106f5b1d025 fixed, thanks On Thu, Feb 4, 2010 at 7:03 AM, Bela Valek wrote: > Great tool, I just downloaded and tried it. I found a bug: if you > click at the 'Info' menu item before you select any items, it dies. > > 2010/2/2 Federico G. Benavento : >> after talking about it for some time >> I got tired of talking and wrote a simple >> gui installer for contrib >> so if you pull contrib, you'll get a contrib/gui >> >> here's a shot: >> http://lab-fgb.com/contrib.png >> >> ah, the code is not the best, but >> it gets the job done >> >> -- >> Federico G. Benavento >> >> > > -- Federico G. Benavento From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Mon, 16 May 2011 09:36:34 -0700 From: Bakul Shah Message-Id: <20110516163634.1CE14B827@mail.bitblocks.com> Subject: [9fans] contrib/gui Topicbox-Message-UUID: e47ff4cc-ead6-11e9-9d60-3106f5b1d025 I finally used contrib/gui and love its simple, intuitive interface! I did run into a couple of issues -- not sure if they are specific to 9vx. - resizing or bringing it back on top seems to make it hang. Just a blank screen. I have to kill it. - install is rather slow - looks like it is using replica? I thought the original version was supposed to be faster? From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20110516163634.1CE14B827@mail.bitblocks.com> References: <20110516163634.1CE14B827@mail.bitblocks.com> Date: Mon, 16 May 2011 09:43:54 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: e4881332-ead6-11e9-9d60-3106f5b1d025 On Mon, May 16, 2011 at 9:36 AM, Bakul Shah wrote: > - install is rather slow - looks like it is using replica? if it uses replica, it will be slow, and contrib uses replica. ron From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20110516163634.1CE14B827@mail.bitblocks.com> References: <20110516163634.1CE14B827@mail.bitblocks.com> Date: Mon, 16 May 2011 11:15:22 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: e48ce3da-ead6-11e9-9d60-3106f5b1d025 i think the hanging problem is because the ui and the network activity are in the same thread. the ui comes back once the slow activity has completed. On Mon, May 16, 2011 at 9:36 AM, Bakul Shah wrote: > I finally used contrib/gui and love its simple, intuitive > interface! > > I did run into a couple of issues -- not sure if they are > specific to 9vx. > > - resizing or bringing it back on top seems to make it hang. > =A0Just a blank screen. I have to kill it. > - install is rather slow - looks like it is using replica? > =A0I thought the original version was supposed to be faster? > > From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Mon, 16 May 2011 20:27:31 +0100 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: e49259e6-ead6-11e9-9d60-3106f5b1d025 > > - install is rather slow - looks like it is using replica? > > if it uses replica, it will be slow, and contrib uses replica. > I believe fgb added the feature that all new packages created or updated create an ISO image. on pull or install contrib checks for the presence of the iso first. This should mean replica's failings (many RTTs using 9p which doesn't cope well with high latencies) are avoided; you just download the iso and unpack it with replica locally. This is how I understand it works but don't take it as gospel, "Fede knows". -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Mon, 16 May 2011 11:15:22 PDT." References: <20110516163634.1CE14B827@mail.bitblocks.com> Date: Tue, 17 May 2011 17:22:31 -0700 From: Bakul Shah Message-Id: <20110518002231.D27D8B827@mail.bitblocks.com> Subject: Re: [9fans] contrib/gui Topicbox-Message-UUID: e5658e9c-ead6-11e9-9d60-3106f5b1d025 On Mon, 16 May 2011 11:15:22 PDT Skip Tavakkolian wrote: > i think the hanging problem is because the ui and the network activity > are in the same thread. the ui comes back once the slow activity has > completed. It hangs on resizing or panning the window even where there is no network activity. It does seem to handle exposure right. Haven't had time to track this down. On Mon, 16 May 2011 20:27:31 BST "Steve Simon" wrote: > I believe fgb added the feature that all new packages created or updated > create an ISO image. on pull or install contrib checks for the presence of the > iso first. This should mean replica's failings (many RTTs using 9p which > doesn't cope well with high latencies) are avoided; you just download the iso > and unpack it with replica locally. This didn't happen when I fetched python through the gui. contrib/remove python doesn't remove it (goes in an infinite loop). Ah well! Thanks for your comments.