Re: [9fans] 9vx os x

2008-06-30 Thread Bakul Shah
On Sun, 29 Jun 2008 21:56:10 EDT "Russ Cox" <[EMAIL PROTECTED]> wrote: > > The native version is different from the x11 in the following ways: > > - Top right acme `term' window doesn't open > > - The top row in acme doesn't show win before newcol > > Haven't tried to reproduce these. Are you s

Re: [9fans] 9vx os x

2008-06-30 Thread David Leimbach
My caps lock problem is gone with this! Thanks Russ (nevermind my other message regarding it still starting in X11... I'm extra-scatterbrained today) Dave On Sun, Jun 29, 2008 at 10:00 AM, Russ Cox <[EMAIL PROTECTED]> wrote: > I have not bothered to create a new package, > but there is a new bin

Re: [9fans] 9vx os x

2008-06-30 Thread jas
On Jun 29, 8:56 pm, "Russ Cox" <[EMAIL PROTECTED]> wrote: > > When we do get to see a glenda icon for 9vx?:-) > > I made an icon and a 9vx.app directory, but I have not > gotten it completely working.  I have been using the 9ball > from second edition, because it is easier to recognize at > tiny s

Re: [9fans] 9vx os x

2008-06-29 Thread underspecified
The scroll wheel just works under the native OS-X Acme SAC. I will try to figure out why. --underspecified On Mon, Jun 30, 2008 at 10:57 AM, Russ Cox <[EMAIL PROTECTED]> wrote: >> I know you did not ask, but: on 10.4 it seems to work ok. >> >> two minor UI nits: >> >> - the native version doesn'

Re: [9fans] 9vx os x

2008-06-29 Thread underspecified
Greetings, It is running smoothly for me under 10.5.3 too. On Mon, Jun 30, 2008 at 10:56 AM, Russ Cox <[EMAIL PROTECTED]> wrote: >> Another bug in both x11 and native mode 9vx: occasionally, >> resizing the window can make it crash with a >> 9vx panic: sigsegv on cpu6 >> But of course when I

Re: [9fans] 9vx os x

2008-06-29 Thread a
On my 10.5 system, resizing the window causes the screen to get... wrong. The error makes it look like the lines aren't aligned; things come out slanted at about right of 10° vertical. If rio's running, windows sometimes have the left edge cropped to vertical and the left edge isn't updated with th

Re: [9fans] 9vx os x

2008-06-29 Thread Russ Cox
> Does anyone else get errors about missing files when pulling? Many > other files are copied successfully before this: > > error: copying /n/boot/sys/src/games/mp3dec/COPYING: > '/n/boot/sys/src/games' does not exist > > error: copying /n/boot/sys/src/games/mp3dec/COPYRIGHT: > '/n/boot/sys/src/g

Re: [9fans] 9vx os x

2008-06-29 Thread Russ Cox
> I know you did not ask, but: on 10.4 it seems to work ok. > > two minor UI nits: > > - the native version doesn't seem to support the scroll point(wheel?); >the X11 version does (but somehow responds a bit slowish to it). It tries. Feel free to have a look at the code. > - when I resiz

Re: [9fans] 9vx os x

2008-06-29 Thread Russ Cox
> Another bug in both x11 and native mode 9vx: occasionally, > resizing the window can make it crash with a > 9vx panic: sigsegv on cpu6 > But of course when I try to cause it, it doesn't happen! > Also, quickly dragging the corner on the x11 version can > render the window completely black.

Re: [9fans] 9vx os x

2008-06-29 Thread Fazlul Shahriar
> Does anyone else get errors about missing files when pulling? Many > other files are copied successfully before this: > > error: copying /n/boot/sys/src/games/mp3dec/COPYING: > '/n/boot/sys/src/games' does not exist > > error: copying /n/boot/sys/src/games/mp3dec/COPYRIGHT: > '/n/boot/sys/src/g

Re: [9fans] 9vx os x

2008-06-29 Thread Tom Lieber
Does anyone else get errors about missing files when pulling? Many other files are copied successfully before this: error: copying /n/boot/sys/src/games/mp3dec/COPYING: '/n/boot/sys/src/games' does not exist error: copying /n/boot/sys/src/games/mp3dec/COPYRIGHT: '/n/boot/sys/src/games' does not e

Re: [9fans] 9vx os x

2008-06-29 Thread Francisco J Ballesteros
Time to throw away parallels and vmware :) thanks a lot, once more. On Sun, Jun 29, 2008 at 9:50 PM, Axel Belinfante <[EMAIL PROTECTED]> wrote: > this is great! > >> Please try it on 10.5 and see how it works. > > I know you did not ask, but: on 10.4 it seems to work ok. > > two minor UI nits: >

Re: [9fans] 9vx os x

2008-06-29 Thread Axel Belinfante
this is great! > Please try it on 10.5 and see how it works. I know you did not ask, but: on 10.4 it seems to work ok. two minor UI nits: - the native version doesn't seem to support the scroll point(wheel?); the X11 version does (but somehow responds a bit slowish to it). - when I resize

Re: [9fans] 9vx os x

2008-06-29 Thread Pietro Gagliardi
This new release works. Thanks! Now to take my fossil/venti off QEMU and onto OS X. On Jun 29, 2008, at 1:00 PM, Russ Cox wrote: I have not bothered to create a new package, but there is a new binary available for OS X: hget -o 9vx.OSX.gz http://pdos.csail.mit.edu/~rsc/9vx.OSX.gz

Re: [9fans] 9vx os x

2008-06-29 Thread Bakul Shah
On Sun, 29 Jun 2008 14:16:10 EDT "Russ Cox" <[EMAIL PROTECTED]> wrote: > > Every time the option key is pressed, it generates 0xef8095 > > in addition to doing its button2 duty. > > Fixed. Yup. Just tested it. Another bug in both x11 and native mode 9vx: occasionally, resizing the window can

Re: [9fans] 9vx os x

2008-06-29 Thread Russ Cox
>> Please try it on 10.5 and see how it works. > > Every time the option key is pressed, it generates 0xef8095 > in addition to doing its button2 duty. Fixed. > Also, you can't use option+apple key to escape out of full > screen mode. This is on 10.5.3 That's because it was Ctl-Opt, not Opt-A

Re: [9fans] 9vx os x

2008-06-29 Thread Bakul Shah
> Please try it on 10.5 and see how it works. Every time the option key is pressed, it generates 0xef8095 in addition to doing its button2 duty. Also, you can't use option+apple key to escape out of full screen mode. This is on 10.5.3

Re: [9fans] 9vx os x

2008-06-29 Thread Francisco J Ballesteros
This one seems to work fine for me. (10.5.3). On Sun, Jun 29, 2008 at 7:00 PM, Russ Cox <[EMAIL PROTECTED]> wrote: > I have not bothered to create a new package, > but there is a new binary available for OS X: > >hget -o 9vx.OSX.gz http://pdos.csail.mit.edu/~rsc/9vx.OSX.gz >gunzip

[9fans] 9vx os x

2008-06-29 Thread Russ Cox
I have not bothered to create a new package, but there is a new binary available for OS X: hget -o 9vx.OSX.gz http://pdos.csail.mit.edu/~rsc/9vx.OSX.gz gunzip 9vx.OSX.gz chmod +x 9vx.OSX ./9vx.OSX -r your-root Please try it on 10.5 and see how it works. Sources ar

Re: [9fans] 9vx - os x fix

2008-06-27 Thread Russ Cox
Thanks. Will add the #define. > and darwin-asm.S just seems to be missing everywhere. in fact, there > is no definition for vx32_getcontext: Oops. That's on my Mac at home; guess I forgot to copy it off. Russ

Re: [9fans] 9vx - os x fix

2008-06-27 Thread David Leimbach
On Fri, Jun 27, 2008 at 10:00 AM, Russ Cox <[EMAIL PROTECTED]> wrote: > Replying to many messages... please read to find yours. > > > Yep that's working ok. Though I'm losing the ability to send capital > > letters to X11 in general, I'm not sure if that's an artifact of this or > > not. > > Almo

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
>make 9vx/9vx on 10.5.3 that fails with: gcc -g -O3 -MD -std=gnu99 -I. -I. -I9vx -I9vx/a -Wall -Wno-missing-braces -c -o 9vx/main.o 9vx/main.c 9vx/main.c: In function 'sigsegv': 9vx/main.c:491: error: 'struct __darwin_mcontext32' has no member named 'es' 9vx/main.c:492: error: 'struct __

Re: [9fans] 9vx - os x fix

2008-06-27 Thread Russ Cox
Replying to many messages... please read to find yours. > Yep that's working ok. Though I'm losing the ability to send capital > letters to X11 in general, I'm not sure if that's an artifact of this or > not. Almost certainly not. The -F workaround is about new fork semantics. The capital lett

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
trying to answer my own question about high cpu load, it looks like 9vx is busy switching all the time. if anyone knows these tracing facilities better, please step up :) dappprof (profiles execution, elapsed time is in nanoseconds): CALL ELAP

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
On Fri, Jun 27, 2008 at 10:34 AM, David Leimbach <[EMAIL PROTECTED]> wrote: > Funny! Chording works great for me! (I'm suspecting my X11 is borked > though, it may be completely unrelated to this project). button 2/3 emulation with option and apple keys works, but i'm using button1+option+apple

Re: [9fans] 9vx - os x fix

2008-06-27 Thread David Leimbach
Funny! Chording works great for me! (I'm suspecting my X11 is borked though, it may be completely unrelated to this project). On Fri, Jun 27, 2008 at 8:56 AM, andrey mirtchovski <[EMAIL PROTECTED]> wrote: > I can send capital letters just fine, but I can't chord with the > option/apple buttons

Re: [9fans] 9vx - os x fix

2008-06-27 Thread roger peppe
i discovered a macos x nasty a while ago that means that if you've forked, then accessing certain library calls (anything Carbon?) draws an error. the stated reason for doing this is that the library doesn't work if the stack has been copied, but it's a bit of a bugger if you're just forking to pu

Re: [9fans] 9vx - os x fix

2008-06-27 Thread ron minnich
On Fri, Jun 27, 2008 at 8:56 AM, andrey mirtchovski <[EMAIL PROTECTED]> wrote: > > Is it supposed to run at full-load? Both cores are fully utilized and > 9vx.OSX uses 187% of the cpu at all times. dtruss reports that the > main thread is just sitting there doing "select_nocancel(0x0,0x0,0x0)" > wi

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
I can send capital letters just fine, but I can't chord with the option/apple buttons like I'm used to on the native drawterm/acme. Need to get the latest changes from acme-sac.osx and write a native client, I suppose :) Is it supposed to run at full-load? Both cores are fully utilized and 9vx.OSX

Re: [9fans] 9vx - os x fix

2008-06-27 Thread David Leimbach
Yep that's working ok. Though I'm losing the ability to send capital letters to X11 in general, I'm not sure if that's an artifact of this or not. Dave On Fri, Jun 27, 2008 at 8:31 AM, Russ Cox <[EMAIL PROTECTED]> wrote: > It looks like calling fork() in OS X 10.5 doesn't > copy the alternate si

[9fans] 9vx - os x fix

2008-06-27 Thread Russ Cox
It looks like calling fork() in OS X 10.5 doesn't copy the alternate signal stack information into the child. If you add the -F flag to keep it from forking into the background, Andrey says it works fine. I'll tweak the code to work around this later. For now, just use -F. Russ