Re: [9fans] 9vx

2008-06-28 Thread erik quanstrom
> Well, unless I'm missing something either obvious > or clever, the answer is no. A Linux special file > looks like a zero length regular file to 9vx. I > probably should have expected that. the bits from p9p's _p9dir.c which were discussed the other day could be used to solve that problem. i

Re: [9fans] 9vx

2008-06-28 Thread lucio
> i've not had a chance to look through the sources. is a windows port > feasible? I haven't looked at anything at all, but I've also never seen such a happy reception on this list. Please excuse the possible stupidity of this question: is a Plan 9 port feasible? ++L

Re: [9fans] 9vx

2008-06-28 Thread Russ Cox
Replying to many messages/threads ... -- > i've not had a chance to look through the sources. is a windows port > feasible? It should be doable. You need equivalents of mmap, mprotect, munmap, signal handlers, timer signals, and some function to install new segment descriptors. All of t

Re: [9fans] 9vx

2008-06-28 Thread David Leimbach
So I guess that rules out linux :-) On Fri, Jun 27, 2008 at 5:23 PM, Uriel <[EMAIL PROTECTED]> wrote: > Life is so boring when your OS doesn't break compatibility with > existing APIs every other release... but my heart is torn between > FreeBSD and OS X; ah I got the solution: whoever breaks bac

Re: [9fans] space glenda - in acrylic

2008-06-28 Thread kix
Great! T-shirts I need a new Plan9 t-shirts. -- kix - http://www.kix.es On Jun 28, 2008, at 5:11, "Rob Pike" <[EMAIL PROTECTED]> wrote: http://flickr.com/photos/redlense/2429073822/

Re: [9fans] 9vx

2008-06-28 Thread Pietro Gagliardi
Yes. It's a single line of code: exec rc -c '{ newns; rio }' On Jun 28, 2008, at 1:03 AM, [EMAIL PROTECTED] wrote: i've not had a chance to look through the sources. is a windows port feasible? I haven't looked at anything at all, but I've also never seen such a happy reception on t

Re: [9fans] 9vx

2008-06-28 Thread Pietro Gagliardi
On Jun 28, 2008, at 11:23 AM, Russ Cox wrote: Instead of starting over, just drop in the drawterm code and adjust until it fits. It's almost exactly the same interface. Interesting. I'll try that and find out how it goes. (I was starting to use Interface Builder and Xcode!) There is one bug

Re: [9fans] 9vx

2008-06-28 Thread Pietro Gagliardi
scratch that - no newns. (what is it's name?) On Jun 28, 2008, at 1:28 PM, Pietro Gagliardi wrote: Yes. It's a single line of code: exec rc -c '{ newns; rio }' On Jun 28, 2008, at 1:03 AM, [EMAIL PROTECTED] wrote: i've not had a chance to look through the sources. is a windows por

[9fans] 9vx 0.11

2008-06-28 Thread Russ Cox
There is a new 9vx, version 0.11. http://swtch.com/9vx/ It includes the #S device I mentioned earlier, it includes the previously-missing darwin-asm.S, and it fixes the cpu-chewing bug on OS X. The sources are at the usual (other) place http://pdos.csail.mit.edu/~baford/vm/ Rus

[9fans] 9vx native OS X gui

2008-06-28 Thread Russ Cox
The 9vx 0.11 source code includes OS X gui code, a severely cleaned-up version of the drawterm code. It is not built by default, but you can build it by using make 9vx/9vx PLAN9GUI=osx Unfortunately, it seems to have one problem: the Carbon app event loop appears to install its own handl

Re: [9fans] 9vx native OS X gui

2008-06-28 Thread Russ Cox
> Unfortunately, it seems to have one problem: the > Carbon app event loop appears to install its own > handler for EXC_BAD_ACCESS, the Mach equivalent It looks like this might be fixed in 10.5, according to http://developer.apple.com/technotes/tn2004/tn2123.html#SECLIMITATIONS Of course, if you

Re: [9fans] 9vx native OS X gui

2008-06-28 Thread Pietro Gagliardi
Running the new native 9vx (which I was almost done doing myself, had it not been for that missing file): The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALI

Re: [9fans] 9vx native OS X gui

2008-06-28 Thread underspecified
Russ, Great work with 9vx. I haven't played around with it too much, but I did successfully build your native gui code cleanup. When I start 9vx, I get the following messages dumped to terminal repeatedly and the app hangs: cpu10: runproc spurious wakeup idlehands spurious wakeup Perhaps this ha

Re: [9fans] 9vx native OS X gui

2008-06-28 Thread Anant Narayanan
Hi, First off, 9vx is incredible! Thanks Russ and Bryan :) When I start 9vx, I get the following messages dumped to terminal repeatedly and the app hangs: cpu10: runproc spurious wakeup idlehands spurious wakeup I got the new 0.11 source to build, but run into a similar error: cpu3: runproc

Re: [9fans] 9vx native OS X gui

2008-06-28 Thread Pietro Gagliardi
On Jun 28, 2008, at 6:17 PM, Anant Narayanan wrote: Running 9vx with the -F flag makes that error go away (tried on 10.5.3) That helped, but I get the spurious error.

Re: [9fans] 9vx

2008-06-28 Thread lucio
>> I haven't looked at anything at all, but I've also never seen such a >> happy reception on this list. Please excuse the possible stupidity of >> this question: is a Plan 9 port feasible? > > Not with Plan 9 as it stands right now. The virtual memory > system is really not set up for page-at-a

Re: [9fans] space glenda - in acrylic

2008-06-28 Thread Lorenzo Fernando Bivens de la Fuente
I love it... I am waiting to see that on Guggenheim Museoa soon... ;) Perhaps some glenda stickers too... I am sure there is enough artwork to have some nice "merchandise" On Sat, Jun 28, 2008 at 11:46 AM, kix <[EMAIL PROTECTED]> wrote: > Great! > > T-shirts I need a new Plan9 t-shirts. > >