* Fwd: [9fans] Re: request: native graphics on OS X [not found] ` <3e1162e60701101151m38efec2do8027141a8ac4115c@mail.gmail.com> @ 2007-01-10 20:03 ` David Leimbach 2007-01-11 22:43 ` andrey mirtchovski 0 siblings, 1 reply; 27+ messages in thread From: David Leimbach @ 2007-01-10 20:03 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs Meant for this to go to 9fans. ---------- Forwarded message ---------- From: David Leimbach <leimy2k@gmail.com> Date: Jan 10, 2007 11:51 AM Subject: Re: [9fans] Re: request: native graphics on OS X To: Skip Tavakkolian <skip@9netics.com> On 1/10/07, David Leimbach <leimy2k@gmail.com> wrote: > On 1/10/07, David Leimbach <leimy2k@gmail.com> wrote: > > On 1/10/07, Skip Tavakkolian <skip@9netics.com> wrote: > > > > ranlib: file: ../libmachdep.a(md5block.o) has no symbols > > > > ranlib: file: ../libmachdep.a(sha1block.o) has no symbols > > > > > > for your machine it should have picked posix-386 as machinedep. > > > was it able to build that library? > > > > > > > > > > It did pick the 386 directory, and produced no symbols. > > > > sha1block.s is an empty file, same with md5block.s > > > > gcc -E uses the .spp files to produce these and comes up with nothing > > in the output. > > > > Dave > > > And the reason it has no output is because gcc on Apple thinks that > .spp or .sp files are linker input files, which will be ignored due to > the -E option, since linking isn't done. > > The following makefile change to the posix-386 directory fixes it: > > Index: Makefile > =================================================================== > RCS file: /cvs/drawterm/posix-386/Makefile,v > retrieving revision 1.6 > diff -u -r1.6 Makefile > --- Makefile 9 Jan 2007 22:17:21 -0000 1.6 > +++ Makefile 10 Jan 2007 19:40:37 -0000 > @@ -20,8 +20,8 @@ > $(AS) -o $*.$O $*.s > > md5block.s: md5block.spp > - gcc -E md5block.spp >md5block.s > + cat md5block.spp | gcc -E - >md5block.s > > sha1block.s: sha1block.spp > - gcc -E sha1block.spp >sha1block.s > + cat sha1block.spp | gcc -E - >sha1block.s > Ok this patch seems to get me 100% compiled :-) I had to replace __Darwin__ with __APPLE__ because gcc doesn't set __Darwin__ anymore. And even after that, it behaves just as Andrey's binary did, it just gives me the "spinny beachball of doom" on Mac OS X that causes me to force quit. I suppose I'll have to break out the debug tools sometime. >8------------------------------->8 Index: Makefile =================================================================== RCS file: /cvs/drawterm/posix-386/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 9 Jan 2007 22:17:21 -0000 1.6 +++ Makefile 10 Jan 2007 19:48:58 -0000 @@ -20,8 +20,8 @@ $(AS) -o $*.$O $*.s md5block.s: md5block.spp - gcc -E md5block.spp >md5block.s + cat md5block.spp | gcc -E - >md5block.s sha1block.s: sha1block.spp - gcc -E sha1block.spp >sha1block.s + cat sha1block.spp | gcc -E - >sha1block.s Index: md5block.spp =================================================================== RCS file: /cvs/drawterm/posix-386/md5block.spp,v retrieving revision 1.2 diff -u -r1.2 md5block.spp --- md5block.spp 9 Jan 2007 22:17:21 -0000 1.2 +++ md5block.spp 10 Jan 2007 19:48:58 -0000 @@ -116,7 +116,7 @@ .text .p2align 2,0x90 -#ifdef __Darwin__ +#ifdef __APPLE__ .globl __md5block __md5block: #else Index: sha1block.spp =================================================================== RCS file: /cvs/drawterm/posix-386/sha1block.spp,v retrieving revision 1.2 diff -u -r1.2 sha1block.spp --- sha1block.spp 9 Jan 2007 22:17:21 -0000 1.2 +++ sha1block.spp 10 Jan 2007 19:48:58 -0000 @@ -1,7 +1,7 @@ .text .p2align 2,0x90 -#ifdef __Darwin__ +#ifdef __APPLE__ .globl __sha1block __sha1block: #else 8<-----------------8< ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 20:03 ` Fwd: [9fans] Re: request: native graphics on OS X David Leimbach @ 2007-01-11 22:43 ` andrey mirtchovski 2007-01-11 22:48 ` David Leimbach 0 siblings, 1 reply; 27+ messages in thread From: andrey mirtchovski @ 2007-01-11 22:43 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs new binaries on 9grid fix a problem with the cat-tongued ibm mouse we all love and fixes del keys to send interrupts. russ has the diff so cvs is probably updated already. http://9grid.net/andrey/p9/drawterm-osx-intel.gz http://9grid.net/andrey/p9/drawterm-osx-power.gz russ, you're welcome to put them on swtch.com if you want. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-11 22:43 ` andrey mirtchovski @ 2007-01-11 22:48 ` David Leimbach 2007-01-11 22:53 ` andrey mirtchovski 2007-01-11 22:54 ` David Leimbach 0 siblings, 2 replies; 27+ messages in thread From: David Leimbach @ 2007-01-11 22:48 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs Are these from the same CVS? On 1/11/07, andrey mirtchovski <mirtchovski@gmail.com> wrote: > new binaries on 9grid fix a problem with the cat-tongued ibm mouse we > all love and fixes del keys to send interrupts. > > russ has the diff so cvs is probably updated already. > > http://9grid.net/andrey/p9/drawterm-osx-intel.gz > http://9grid.net/andrey/p9/drawterm-osx-power.gz > > russ, you're welcome to put them on swtch.com if you want. > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-11 22:48 ` David Leimbach @ 2007-01-11 22:53 ` andrey mirtchovski 2007-01-11 22:54 ` David Leimbach 1 sibling, 0 replies; 27+ messages in thread From: andrey mirtchovski @ 2007-01-11 22:53 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs yes, but the patch hasn't made it there yet (i just checked). everything else is the same. On 1/11/07, David Leimbach <leimy2k@gmail.com> wrote: > Are these from the same CVS? > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-11 22:48 ` David Leimbach 2007-01-11 22:53 ` andrey mirtchovski @ 2007-01-11 22:54 ` David Leimbach 1 sibling, 0 replies; 27+ messages in thread From: David Leimbach @ 2007-01-11 22:54 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs I just found out my spinny beachball of doom goes away if I run as root vs running as a normal user... I wonder if my filesystem permissions are dorked up. I ran a ktrace on this and saw a ton of syscalls to sigprocmask... Dave On 1/11/07, David Leimbach <leimy2k@gmail.com> wrote: > Are these from the same CVS? > > On 1/11/07, andrey mirtchovski <mirtchovski@gmail.com> wrote: > > new binaries on 9grid fix a problem with the cat-tongued ibm mouse we > > all love and fixes del keys to send interrupts. > > > > russ has the diff so cvs is probably updated already. > > > > http://9grid.net/andrey/p9/drawterm-osx-intel.gz > > http://9grid.net/andrey/p9/drawterm-osx-power.gz > > > > russ, you're welcome to put them on swtch.com if you want. > > > ^ permalink raw reply [flat|nested] 27+ messages in thread
* [9fans] request: native graphics on OS X @ 2006-12-10 22:33 Russ Cox 2006-12-10 23:01 ` [9fans] " Russ Cox 0 siblings, 1 reply; 27+ messages in thread From: Russ Cox @ 2006-12-10 22:33 UTC (permalink / raw) To: 9fans If there is someone out there who has a Mac and some spare cycles, please Please PLEASE look into writing a Carbon-based (not X11-based) back end for drawterm or for Plan 9 ports (if you do one, I'll do the other!). The only hard part is finding out how to interface with Carbon from C. The demands that Plan 9 graphics make on the underlying system are really very minimal, the X implementation notwithstanding. As a simple example take a look at the win32 code in drawterm, which is only 646 lines to deal with mouse, keyboard, and graphics window. http://cvs.pdos.csail.mit.edu/cvs/drawterm/gui-win32/screen.c?annotate=1.4 Ron's mention of a /dev/fb-based draw setup is similar proof. If you know of good documentation but don't have time, please post any links to docs that might help someone else. Thanks. Russ ^ permalink raw reply [flat|nested] 27+ messages in thread
* [9fans] Re: request: native graphics on OS X 2006-12-10 22:33 [9fans] " Russ Cox @ 2006-12-10 23:01 ` Russ Cox 2006-12-10 23:23 ` Paul Lalonde 2006-12-11 1:38 ` Paul Lalonde 0 siblings, 2 replies; 27+ messages in thread From: Russ Cox @ 2006-12-10 23:01 UTC (permalink / raw) To: 9fans Paul Lalonde points out http://www.mactech.com/macintosh-c/online.html Russ ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2006-12-10 23:01 ` [9fans] " Russ Cox @ 2006-12-10 23:23 ` Paul Lalonde 2006-12-10 23:41 ` Russ Cox 2006-12-11 1:38 ` Paul Lalonde 1 sibling, 1 reply; 27+ messages in thread From: Paul Lalonde @ 2006-12-10 23:23 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ok, my guilt is getting me to spend a couple of hours on this this afternoon. I'm assuming I just need to reimplement src/cmd/devdraw? Paul On 10-Dec-06, at 3:01 PM, Russ Cox wrote: > Paul Lalonde points out http://www.mactech.com/macintosh-c/online.html > > Russ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFfJbUpJeHo/Fbu1wRAhDUAKCKFSaHFjO0K1BRPoATMhxftcihWgCgkwKB ik6h+0JEejqBUf9ub1E9kdM= =2FKc -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2006-12-10 23:23 ` Paul Lalonde @ 2006-12-10 23:41 ` Russ Cox 2006-12-11 0:05 ` Paul Lalonde 0 siblings, 1 reply; 27+ messages in thread From: Russ Cox @ 2006-12-10 23:41 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs > Ok, my guilt is getting me to spend a couple of hours on this this > afternoon. > I'm assuming I just need to reimplement src/cmd/devdraw? I didn't mean to guilt anyone into action. Working on either src/cmd/devdraw or a new drawterm/gui-mac directory would be fine. You should look at the drawterm/gui-win32 directory either way, since it shows how much simpler the hook code can be if you're not trying to make remote network graphics work well. Russ ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2006-12-10 23:41 ` Russ Cox @ 2006-12-11 0:05 ` Paul Lalonde 0 siblings, 0 replies; 27+ messages in thread From: Paul Lalonde @ 2006-12-11 0:05 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It's not a deep guilt. I can stand to throw a little back to the community. And wow, that is miles simpler. I'll see if I can't get it going. Paul On 10-Dec-06, at 3:41 PM, Russ Cox wrote: >> Ok, my guilt is getting me to spend a couple of hours on this this >> afternoon. >> I'm assuming I just need to reimplement src/cmd/devdraw? > > I didn't mean to guilt anyone into action. > Working on either src/cmd/devdraw or a new > drawterm/gui-mac directory would be fine. > > You should look at the drawterm/gui-win32 > directory either way, since it shows how > much simpler the hook code can be if you're > not trying to make remote network graphics > work well. > > Russ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFfKDmpJeHo/Fbu1wRAh7XAJ9Zh9P+RPWj0+7Xts3+z4gRPtNnVwCcCcy7 55XgwasogzwEZayJikzETU4= =h88i -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2006-12-10 23:01 ` [9fans] " Russ Cox 2006-12-10 23:23 ` Paul Lalonde @ 2006-12-11 1:38 ` Paul Lalonde 2007-01-09 21:39 ` David Leimbach 1 sibling, 1 reply; 27+ messages in thread From: Paul Lalonde @ 2006-12-11 1:38 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 And I'd forgotten how long it has been since I did any mac coding; my world has been deprecated. OSX 10.4 has taken all of quickdraw and marked it deprecated, and invited us to use hardware-accelerated Quartz instead. Back on the learning curve. Paul On 10-Dec-06, at 3:01 PM, Russ Cox wrote: > Paul Lalonde points out http://www.mactech.com/macintosh-c/online.html > > Russ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFfLaGpJeHo/Fbu1wRAvyeAJ9ylSuDIFfsHZBMFCvKlFHt+RvvxwCgnMfj 6sO/pEsQjjZ/kgzcK5dS/aM= =ancM -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2006-12-11 1:38 ` Paul Lalonde @ 2007-01-09 21:39 ` David Leimbach 2007-01-09 22:22 ` Russ Cox 0 siblings, 1 reply; 27+ messages in thread From: David Leimbach @ 2007-01-09 21:39 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs Any update here? On 12/10/06, Paul Lalonde <plalonde@telus.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > And I'd forgotten how long it has been since I did any mac coding; my > world has been deprecated. > OSX 10.4 has taken all of quickdraw and marked it deprecated, and > invited us to use hardware-accelerated Quartz instead. Back on the > learning curve. > > Paul > > On 10-Dec-06, at 3:01 PM, Russ Cox wrote: > > > Paul Lalonde points out http://www.mactech.com/macintosh-c/online.html > > > > Russ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > > iD8DBQFFfLaGpJeHo/Fbu1wRAvyeAJ9ylSuDIFfsHZBMFCvKlFHt+RvvxwCgnMfj > 6sO/pEsQjjZ/kgzcK5dS/aM= > =ancM > -----END PGP SIGNATURE----- > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-09 21:39 ` David Leimbach @ 2007-01-09 22:22 ` Russ Cox 2007-01-09 22:42 ` Paul Lalonde ` (2 more replies) 0 siblings, 3 replies; 27+ messages in thread From: Russ Cox @ 2007-01-09 22:22 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs > Any update here? Paul got the native OS X graphics code working a few weeks ago. I have just checked it into the CVS repository. The tarball at http://swtch.com/drawterm/ is up to date. If before you used make 'CONF=osx' to get the OS X/X11 build, you should now use make 'CONF=osx-x11'. Using plain make 'CONF=osx' will now build the native Carbon version. There are still some things that could be done in the graphics code. In particular, it would be nice if the keyboard modifiers that X11 uses to get alternate mouse buttons worked here too -- otherwise on laptops you have a one-button drawterm. The changes I have just pushed out are untested by me (I tested an earlier version of them) and may not even compile (I am not at a Mac right now). Mail me and Paul if you have any problems. Russ ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-09 22:22 ` Russ Cox @ 2007-01-09 22:42 ` Paul Lalonde 2007-01-10 0:05 ` Brantley Coile 2007-01-10 9:20 ` Skip Tavakkolian 2 siblings, 0 replies; 27+ messages in thread From: Paul Lalonde @ 2007-01-09 22:42 UTC (permalink / raw) To: Russ Cox; +Cc: Fans of the OS Plan 9 from Bell Labs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I might add that I witnessed a crash bug today (first in several days of use); of course I didn't have OS X set to generate a core dump. Grr. I'll happily accept core dumps :-) Paul On 9-Jan-07, at 2:22 PM, Russ Cox wrote: >> Any update here? > > Paul got the native OS X graphics code working a few weeks ago. > I have just checked it into the CVS repository. The tarball at > http://swtch.com/drawterm/ is up to date. > > If before you used make 'CONF=osx' to get the OS X/X11 build, > you should now use make 'CONF=osx-x11'. Using plain make 'CONF=osx' > will now build the native Carbon version. > > There are still some things that could be done in the graphics code. > In particular, it would be nice if the keyboard modifiers that X11 > uses to get alternate mouse buttons worked here too -- otherwise > on laptops you have a one-button drawterm. > > The changes I have just pushed out are untested by me (I tested > an earlier version of them) and may not even compile (I am not at > a Mac right now). Mail me and Paul if you have any problems. > > Russ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFpBpFpJeHo/Fbu1wRAqZWAJ9HBvGSGuaWWgYKAZGMdcI8aI5N7gCgxp4v kLYO0brO4tEqfwvlECLm/vM= =nC/e -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-09 22:22 ` Russ Cox 2007-01-09 22:42 ` Paul Lalonde @ 2007-01-10 0:05 ` Brantley Coile 2007-01-10 0:58 ` andrey mirtchovski 2007-01-10 16:39 ` Abhey Shah 2007-01-10 9:20 ` Skip Tavakkolian 2 siblings, 2 replies; 27+ messages in thread From: Brantley Coile @ 2007-01-10 0:05 UTC (permalink / raw) To: 9fans is there a binary anywhere? >> Any update here? > > Paul got the native OS X graphics code working a few weeks ago. > I have just checked it into the CVS repository. The tarball at > http://swtch.com/drawterm/ is up to date. > > If before you used make 'CONF=osx' to get the OS X/X11 build, > you should now use make 'CONF=osx-x11'. Using plain make 'CONF=osx' > will now build the native Carbon version. > > There are still some things that could be done in the graphics code. > In particular, it would be nice if the keyboard modifiers that X11 > uses to get alternate mouse buttons worked here too -- otherwise > on laptops you have a one-button drawterm. > > The changes I have just pushed out are untested by me (I tested > an earlier version of them) and may not even compile (I am not at > a Mac right now). Mail me and Paul if you have any problems. > > Russ ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 0:05 ` Brantley Coile @ 2007-01-10 0:58 ` andrey mirtchovski 2007-01-10 1:01 ` Brantley Coile ` (2 more replies) 2007-01-10 16:39 ` Abhey Shah 1 sibling, 3 replies; 27+ messages in thread From: andrey mirtchovski @ 2007-01-10 0:58 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs i just compiled one on an intel powerbook, i can send that to russ or to you if you need it. On 1/9/07, Brantley Coile <brantley@coraid.com> wrote: > is there a binary anywhere? > > >> Any update here? > > > > Paul got the native OS X graphics code working a few weeks ago. > > I have just checked it into the CVS repository. The tarball at > > http://swtch.com/drawterm/ is up to date. > > > > If before you used make 'CONF=osx' to get the OS X/X11 build, > > you should now use make 'CONF=osx-x11'. Using plain make 'CONF=osx' > > will now build the native Carbon version. > > > > There are still some things that could be done in the graphics code. > > In particular, it would be nice if the keyboard modifiers that X11 > > uses to get alternate mouse buttons worked here too -- otherwise > > on laptops you have a one-button drawterm. > > > > The changes I have just pushed out are untested by me (I tested > > an earlier version of them) and may not even compile (I am not at > > a Mac right now). Mail me and Paul if you have any problems. > > > > Russ > > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 0:58 ` andrey mirtchovski @ 2007-01-10 1:01 ` Brantley Coile 2007-01-10 1:05 ` andrey mirtchovski 2007-01-10 1:05 ` Paul Lalonde 2 siblings, 0 replies; 27+ messages in thread From: Brantley Coile @ 2007-01-10 1:01 UTC (permalink / raw) To: 9fans Send me a copy. > i just compiled one on an intel powerbook, i can send that to russ or > to you if you need it. > > On 1/9/07, Brantley Coile <brantley@coraid.com> wrote: >> is there a binary anywhere? >> >> >> Any update here? >> > >> > Paul got the native OS X graphics code working a few weeks ago. >> > I have just checked it into the CVS repository. The tarball at >> > http://swtch.com/drawterm/ is up to date. >> > >> > If before you used make 'CONF=osx' to get the OS X/X11 build, >> > you should now use make 'CONF=osx-x11'. Using plain make 'CONF=osx' >> > will now build the native Carbon version. >> > >> > There are still some things that could be done in the graphics code. >> > In particular, it would be nice if the keyboard modifiers that X11 >> > uses to get alternate mouse buttons worked here too -- otherwise >> > on laptops you have a one-button drawterm. >> > >> > The changes I have just pushed out are untested by me (I tested >> > an earlier version of them) and may not even compile (I am not at >> > a Mac right now). Mail me and Paul if you have any problems. >> > >> > Russ >> >> ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 0:58 ` andrey mirtchovski 2007-01-10 1:01 ` Brantley Coile @ 2007-01-10 1:05 ` andrey mirtchovski 2007-01-10 1:07 ` Brantley Coile 2007-01-10 1:05 ` Paul Lalonde 2 siblings, 1 reply; 27+ messages in thread From: andrey mirtchovski @ 2007-01-10 1:05 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs err, make that an intel macbook. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 1:05 ` andrey mirtchovski @ 2007-01-10 1:07 ` Brantley Coile 2007-01-10 1:24 ` andrey mirtchovski 0 siblings, 1 reply; 27+ messages in thread From: Brantley Coile @ 2007-01-10 1:07 UTC (permalink / raw) To: 9fans > err, make that an intel macbook. works for me. I've a Core Solo MacMini. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 1:07 ` Brantley Coile @ 2007-01-10 1:24 ` andrey mirtchovski 2007-01-10 5:09 ` David Leimbach 0 siblings, 1 reply; 27+ messages in thread From: andrey mirtchovski @ 2007-01-10 1:24 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs http://9grid.net/andrey/p9/drawterm-osx-intel.gz http://9grid.net/andrey/p9/drawterm-osx-power.gz both include the locking fix Paul was talking about. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 1:24 ` andrey mirtchovski @ 2007-01-10 5:09 ` David Leimbach 2007-01-10 5:18 ` andrey mirtchovski 0 siblings, 1 reply; 27+ messages in thread From: David Leimbach @ 2007-01-10 5:09 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On 1/9/07, andrey mirtchovski <mirtchovski@gmail.com> wrote: > http://9grid.net/andrey/p9/drawterm-osx-intel.gz > http://9grid.net/andrey/p9/drawterm-osx-power.gz > > both include the locking fix Paul was talking about. > I'm having 0 luck with 9grid.net. Not sure whom to tell. ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 5:09 ` David Leimbach @ 2007-01-10 5:18 ` andrey mirtchovski 0 siblings, 0 replies; 27+ messages in thread From: andrey mirtchovski @ 2007-01-10 5:18 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs me. fossil is hung after i put the binaries on and people started downloading them. it'll reboot tomorrow morning :( On 1/9/07, David Leimbach <leimy2k@gmail.com> wrote: > On 1/9/07, andrey mirtchovski <mirtchovski@gmail.com> wrote: > > http://9grid.net/andrey/p9/drawterm-osx-intel.gz > > http://9grid.net/andrey/p9/drawterm-osx-power.gz > > > > both include the locking fix Paul was talking about. > > > > I'm having 0 luck with 9grid.net. Not sure whom to tell. > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 0:58 ` andrey mirtchovski 2007-01-10 1:01 ` Brantley Coile 2007-01-10 1:05 ` andrey mirtchovski @ 2007-01-10 1:05 ` Paul Lalonde 2 siblings, 0 replies; 27+ messages in thread From: Paul Lalonde @ 2007-01-10 1:05 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There's already a bug fix in (Thanks Charles), where I missed the qlock around flushmemscreen - you might want to wait until it shows up in cvs before distributing an executable. Paul On 9-Jan-07, at 4:58 PM, andrey mirtchovski wrote: > i just compiled one on an intel powerbook, i can send that to russ or > to you if you need it. > > On 1/9/07, Brantley Coile <brantley@coraid.com> wrote: >> is there a binary anywhere? >> >> >> Any update here? >> > >> > Paul got the native OS X graphics code working a few weeks ago. >> > I have just checked it into the CVS repository. The tarball at >> > http://swtch.com/drawterm/ is up to date. >> > >> > If before you used make 'CONF=osx' to get the OS X/X11 build, >> > you should now use make 'CONF=osx-x11'. Using plain make >> 'CONF=osx' >> > will now build the native Carbon version. >> > >> > There are still some things that could be done in the graphics >> code. >> > In particular, it would be nice if the keyboard modifiers that X11 >> > uses to get alternate mouse buttons worked here too -- otherwise >> > on laptops you have a one-button drawterm. >> > >> > The changes I have just pushed out are untested by me (I tested >> > an earlier version of them) and may not even compile (I am not at >> > a Mac right now). Mail me and Paul if you have any problems. >> > >> > Russ >> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFpDvmpJeHo/Fbu1wRAoYwAKC08DA3N5Z1Fp+3jX/sHTjOuU5NlACg30Df Z5PPMfFPTdtvYkeenEQsOow= =p57Y -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 0:05 ` Brantley Coile 2007-01-10 0:58 ` andrey mirtchovski @ 2007-01-10 16:39 ` Abhey Shah 2007-01-10 16:46 ` David Leimbach 1 sibling, 1 reply; 27+ messages in thread From: Abhey Shah @ 2007-01-10 16:39 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs because of CGImageCreateWithImageInRect it looks like it's 10.4 only which might be why it's not working on the imac? On 10 Jan 2007, at 00:05, Brantley Coile wrote: > is there a binary anywhere? > >>> Any update here? >> >> Paul got the native OS X graphics code working a few weeks ago. >> I have just checked it into the CVS repository. The tarball at >> http://swtch.com/drawterm/ is up to date. >> >> If before you used make 'CONF=osx' to get the OS X/X11 build, >> you should now use make 'CONF=osx-x11'. Using plain make 'CONF=osx' >> will now build the native Carbon version. >> >> There are still some things that could be done in the graphics code. >> In particular, it would be nice if the keyboard modifiers that X11 >> uses to get alternate mouse buttons worked here too -- otherwise >> on laptops you have a one-button drawterm. >> >> The changes I have just pushed out are untested by me (I tested >> an earlier version of them) and may not even compile (I am not at >> a Mac right now). Mail me and Paul if you have any problems. >> >> Russ > > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 16:39 ` Abhey Shah @ 2007-01-10 16:46 ` David Leimbach 0 siblings, 0 replies; 27+ messages in thread From: David Leimbach @ 2007-01-10 16:46 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On 1/10/07, Abhey Shah <as234@york.ac.uk> wrote: > because of CGImageCreateWithImageInRect it looks like it's 10.4 only > which might be why it's not working on the imac? I've got 10.4 :-) It's an Intel iMac. > > On 10 Jan 2007, at 00:05, Brantley Coile wrote: > > > is there a binary anywhere? > > > >>> Any update here? > >> > >> Paul got the native OS X graphics code working a few weeks ago. > >> I have just checked it into the CVS repository. The tarball at > >> http://swtch.com/drawterm/ is up to date. > >> > >> If before you used make 'CONF=osx' to get the OS X/X11 build, > >> you should now use make 'CONF=osx-x11'. Using plain make 'CONF=osx' > >> will now build the native Carbon version. > >> > >> There are still some things that could be done in the graphics code. > >> In particular, it would be nice if the keyboard modifiers that X11 > >> uses to get alternate mouse buttons worked here too -- otherwise > >> on laptops you have a one-button drawterm. > >> > >> The changes I have just pushed out are untested by me (I tested > >> an earlier version of them) and may not even compile (I am not at > >> a Mac right now). Mail me and Paul if you have any problems. > >> > >> Russ > > > > > > ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-09 22:22 ` Russ Cox 2007-01-09 22:42 ` Paul Lalonde 2007-01-10 0:05 ` Brantley Coile @ 2007-01-10 9:20 ` Skip Tavakkolian 2007-01-10 16:07 ` David Leimbach 2 siblings, 1 reply; 27+ messages in thread From: Skip Tavakkolian @ 2007-01-10 9:20 UTC (permalink / raw) To: 9fans > Paul got the native OS X graphics code working a few weeks ago. > I have just checked it into the CVS repository. The tarball at > http://swtch.com/drawterm/ is up to date. nice! thanks. compiled right out of the box on a dual g4 box (10.4.8) so far it is good enough to send messages to 9fans! ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 9:20 ` Skip Tavakkolian @ 2007-01-10 16:07 ` David Leimbach 2007-01-10 16:39 ` Paul Lalonde 0 siblings, 1 reply; 27+ messages in thread From: David Leimbach @ 2007-01-10 16:07 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs On 1/10/07, Skip Tavakkolian <9nut@9netics.com> wrote: > > Paul got the native OS X graphics code working a few weeks ago. > > I have just checked it into the CVS repository. The tarball at > > http://swtch.com/drawterm/ is up to date. > > nice! thanks. compiled right out of the box on a dual g4 box (10.4.8) > so far it is good enough to send messages to 9fans! > > Hmm I got a binary from andrey and when I run it on my iMac it just hangs when trying to connect to mordor. Can't enter anything to authenticate. Actually that happens if I just launch it in general it seems too. This wasn't the case on my macbook though.... odd. Dave ^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: [9fans] Re: request: native graphics on OS X 2007-01-10 16:07 ` David Leimbach @ 2007-01-10 16:39 ` Paul Lalonde 0 siblings, 0 replies; 27+ messages in thread From: Paul Lalonde @ 2007-01-10 16:39 UTC (permalink / raw) To: Fans of the OS Plan 9 from Bell Labs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm running it on my MBP just fine; I'll try it on my mini when I get back to Victoria. Paul On 10-Jan-07, at 8:07 AM, David Leimbach wrote: > On 1/10/07, Skip Tavakkolian <9nut@9netics.com> wrote: >> > Paul got the native OS X graphics code working a few weeks ago. >> > I have just checked it into the CVS repository. The tarball at >> > http://swtch.com/drawterm/ is up to date. >> >> nice! thanks. compiled right out of the box on a dual g4 box >> (10.4.8) >> so far it is good enough to send messages to 9fans! >> >> > > Hmm I got a binary from andrey and when I run it on my iMac it just > hangs when trying to connect to mordor. Can't enter anything to > authenticate. > > Actually that happens if I just launch it in general it seems too. > This wasn't the case on my macbook though.... odd. > > Dave -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFpRa1pJeHo/Fbu1wRAkRXAKCWhUKl91W57+GoJg67r84IdbQQAwCdEBz8 jXY48+i9S6VIjhEVSZxjx5w= =AQbe -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2007-01-11 22:54 UTC | newest] Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <3e1162e60701100853g5fdfcd3biee499db044d08c2d@mail.gmail.com> [not found] ` <000623fb1023a5f733c3334516192f41@9netics.com> [not found] ` <3e1162e60701101131h71bbfc70oee234fc314fc0ade@mail.gmail.com> [not found] ` <3e1162e60701101140y441d2d88w85dbce3611149084@mail.gmail.com> [not found] ` <3e1162e60701101151m38efec2do8027141a8ac4115c@mail.gmail.com> 2007-01-10 20:03 ` Fwd: [9fans] Re: request: native graphics on OS X David Leimbach 2007-01-11 22:43 ` andrey mirtchovski 2007-01-11 22:48 ` David Leimbach 2007-01-11 22:53 ` andrey mirtchovski 2007-01-11 22:54 ` David Leimbach 2006-12-10 22:33 [9fans] " Russ Cox 2006-12-10 23:01 ` [9fans] " Russ Cox 2006-12-10 23:23 ` Paul Lalonde 2006-12-10 23:41 ` Russ Cox 2006-12-11 0:05 ` Paul Lalonde 2006-12-11 1:38 ` Paul Lalonde 2007-01-09 21:39 ` David Leimbach 2007-01-09 22:22 ` Russ Cox 2007-01-09 22:42 ` Paul Lalonde 2007-01-10 0:05 ` Brantley Coile 2007-01-10 0:58 ` andrey mirtchovski 2007-01-10 1:01 ` Brantley Coile 2007-01-10 1:05 ` andrey mirtchovski 2007-01-10 1:07 ` Brantley Coile 2007-01-10 1:24 ` andrey mirtchovski 2007-01-10 5:09 ` David Leimbach 2007-01-10 5:18 ` andrey mirtchovski 2007-01-10 1:05 ` Paul Lalonde 2007-01-10 16:39 ` Abhey Shah 2007-01-10 16:46 ` David Leimbach 2007-01-10 9:20 ` Skip Tavakkolian 2007-01-10 16:07 ` David Leimbach 2007-01-10 16:39 ` Paul Lalonde
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).