Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[9fans] 9vx on mountain lion

81 views
Skip to first unread message

arisawa

unread,
Feb 17, 2013, 1:58:23 AM2/17/13
to
Hello 9fans,

my 9vx that was in 9vx-0.12 does not work on mountain lion.
that leads to panic with a message:

-bash$ 9vx.OSX
71 rio fault 0x8 no segment

anyone has newer version or patch?

Kenji Arisawa

Ярослав Коломієць

unread,
Feb 17, 2013, 3:08:48 AM2/17/13
to

arisawa

unread,
Feb 17, 2013, 5:57:53 PM2/17/13
to
Thank you, Ярослав.

I installed the patch: rminnich-vx32-17a064eed9c2
However,
-bash$ gnumake
....
9vx/osx/screen.c: In function ‘setcursor’:
9vx/osx/screen.c:547: error: ‘OSXCursor’ undeclared (first use in this function)
9vx/osx/screen.c:547: error: (Each undeclared identifier is reported only once
9vx/osx/screen.c:547: error: for each function it appears in.)
9vx/osx/screen.c:547: error: expected ‘;’ before ‘oc’
9vx/osx/screen.c:552: error: ‘oc’ undeclared (first use in this function)
9vx/osx/screen.c:557: warning: implicit declaration of function ‘SetCursor’
gnumake: *** [9vx/osx/screen.o] Error 1
rm 9vx/factotum.S 9vx/kfs.S 9vx/bzfs.S 9vx/boot.S 9vx/rootfs.S 9vx/venti.S 9vx/fossil.S 9vx/9660srv.S
-bash$

anyone fixed this problem?

Kenji Arisawa

Benjamin Huntsman

unread,
Feb 17, 2013, 6:09:19 PM2/17/13
to
Nice... I was just getting that same error a few days ago when I tried to build it too.
I chalked it up to some earlier posts that said something along the lines of "use a binary from Snow Leopard"... and didn't want to ask around to see if it's been fixed.

Glad to see I'm not alone...

-Ben

Jeff Sickel

unread,
Feb 17, 2013, 8:04:21 PM2/17/13
to
It's the long ago announced (over five years ago) and finally enacted removal of Carbon APIs that are biting you. At some point someone can pull in the changes from darwin-cocoa or recent p9p devdraw/cocoa-screen.m to get 9vx to build and run on OSX 10.8+.

-jas

arisawa

unread,
Feb 18, 2013, 2:59:43 AM2/18/13
to
Hello,

Thanks for the information.

it was bothersome to apply cocoa-screen.m in p9p to screen.c in vx32.
The problem comes from the function setcursor() in screen.c.
so, for the temporally, I made the function dummy.
it seems the compiled 9vx is stable without serious problems.
remaining problems are:
(a) cursor shape keeps same as that of Mac
(b) initial back ground color is white. that should be dark grey.
both are bearable for me.
thanks for all.

Kenji Arisawa

lu...@proxima.alt.za

unread,
Feb 18, 2013, 5:10:33 AM2/18/13
to
I understood that the consolidated repository was

https://bitbucket.org/yiyus/vx32

Am I missing something?

++L

David du Colombier

unread,
Feb 18, 2013, 7:24:29 AM2/18/13
to
> I understood that the consolidated repository was
>
> https://bitbucket.org/yiyus/vx32
>
> Am I missing something?

Yiyus' and Ron's repositories have the same content.

The current vx32 repository (based on Ron's) is:

https://bitbucket.org/0intro/vx32

It doesn't fix the reported problem anyway.

--
David du Colombier

lu...@proxima.alt.za

unread,
Feb 18, 2013, 7:51:28 AM2/18/13
to
> Yiyus' and Ron's repositories have the same content.
>
> The current vx32 repository (based on Ron's) is:
>
> https://bitbucket.org/0intro/vx32

That's three, I guess there's strength in numbers :-)

> It doesn't fix the reported problem anyway.

And I'm still praying for the Go fixes, but they don't seem to be much
of a priority. It would be nice if the (partial) fixes for OS-X were
to find their way into the repository, though.

++L

Jeff Sickel

unread,
Feb 18, 2013, 11:22:51 AM2/18/13
to
Take a look at the changes in

https://bitbucket.org/jas/drawterm-cocoa

A bit different from the p9p side, but does handle the cursor
changes et al.

-jas

arisawa

unread,
Feb 18, 2013, 7:27:51 PM2/18/13
to
Hello,

I have tried.
it seems the drawterm binary works OK.

Kenji Arisawa
0 new messages