Re: [9fans] drawterm for osx 10.8 (update)

2012-12-11 Thread erik quanstrom
> Would it be possible to get cut/paste between drawterm and the Mac
> paste buffer?  There might be some other really nice integrations,
> once everything critical is working well, but in any case, what's
> here already is excellent.

?  that already works for me.  just double-checked.  a word of
warning: drawterm-cocoa has some issues for osx < 10.8.
the rate at which apple fiddles with stuff is pretty amazing.

- erik



Re: [9fans] drawterm for osx 10.8 (update)

2012-12-11 Thread erik quanstrom
> eachart (sp?) and his students. i believe it stalled when the

eckhardt.  from cmu.

- erik



Re: [9fans] drawterm for osx 10.8 (update)

2012-12-11 Thread steve
there is some of a port of plan9 to the g4 imac, done by David
eachart (sp?) and his students. i believe it stalled when the
intel macs where announced, however you could probably
try to re-awaken it...

check the Ports page of the wiki.

-steve


On 11 Dec 2012, at 09:36, Luke Evans  wrote:

> Hey, many thanks for drawterm-cocoa!
> 
> I was pleasantly 'shocked' to see this and it's at least part of the
> reason I was excited to try Plan 9 out (on my Raspberry Pi when it
> recently became available).
> 
> Would it be possible to get cut/paste between drawterm and the Mac
> paste buffer?  There might be some other really nice integrations,
> once everything critical is working well, but in any case, what's
> here already is excellent.
> 
> Too bad there's no port of Plan 9 that will work on old PPC G5
> Mac Pros, because I have one of those lying around and Plan 9 is
> continuing to intrigue me.



Re: [9fans] drawterm for osx 10.8 (update)

2012-12-11 Thread Luke Evans
Hey, many thanks for drawterm-cocoa!

I was pleasantly 'shocked' to see this and it's at least part of the
reason I was excited to try Plan 9 out (on my Raspberry Pi when it
recently became available).

Would it be possible to get cut/paste between drawterm and the Mac
paste buffer?  There might be some other really nice integrations,
once everything critical is working well, but in any case, what's
here already is excellent.

Too bad there's no port of Plan 9 that will work on old PPC G5
Mac Pros, because I have one of those lying around and Plan 9 is
continuing to intrigue me.



Re: [9fans] drawterm for osx 10.8 (update)

2012-11-21 Thread Jeff Sickel

On Nov 21, 2012, at 11:57 AM, andrey mirtchovski  wrote:

> works as expected (including the deadlock on fulscreen). a bit
> flickery on window swipes, but nothing i can't live without.
> 
> it appears that one can enter full-screen but can't exit it?

if it doesn't deadlock, then the same ctrl-cmd-F will exit it.

> xscr/vines in benchmark mode: 39fps for the new  drawterm, 43fps for the old.

I'll take a look at that, there are a few too many drawlock() calls
that probably could be cleared up.  Or it's just the hopping through
more layers into the Objective-C runtime…

-jas




Re: [9fans] drawterm for osx 10.8 (update)

2012-11-21 Thread erik quanstrom
> it appears that one can enter full-screen but can't exit it?

results may vary.  it's a bug.

since both issues can be tracked to a difference in pthreads,
it's likely that's where your 3fps went, too.

- erik



Re: [9fans] drawterm for osx 10.8 (update)

2012-11-21 Thread andrey mirtchovski
works as expected (including the deadlock on fulscreen). a bit
flickery on window swipes, but nothing i can't live without.

it appears that one can enter full-screen but can't exit it?

xscr/vines in benchmark mode: 39fps for the new  drawterm, 43fps for the old.

On Wed, Nov 21, 2012 at 9:57 AM, erik quanstrom  wrote:
> jas has pretty much got this licked.  it's good enough for
> an alpha release.  the known issues now are
> - an intermittent deadlock when going into full screen mode
> and doing heavy draw i/o.
> - i/o to /mnt/term blocks the draw thread so large file transfers
> block screen updates.
>
> https://bitbucket.org/jas/drawterm-cocoa
>
> - erik
>



Re: [9fans] drawterm for OSX 10.8

2012-10-23 Thread Jeff Sickel
I use 9vx regularly and will be looking at a Cocoa update to support 10.8 in my 
spare time.  If another levitator order comes through, Inferno on 10.8 will be 
a prerequisite.

-jas

On Oct 23, 2012, at 11:50 AM, Nemo  wrote:

> that's great, thanks!
> 
> btw, anyone using 9vx or inferno there? (10.8)




Re: [9fans] drawterm for OSX 10.8

2012-10-23 Thread Nemo
that's great, thanks!

btw, anyone using 9vx or inferno there? (10.8)

On Oct 23, 2012, at 6:37 PM, Jeff Sickel  wrote:

> Another set of changes have been pushed to 
> https://bitbucket.org/jas/drawterm-cocoa that support resize/reshape of the 
> OS X window.  There are still a few drawing glitches once a window is 
> resized, but those should be fixed in short order.
> 
> The drawterm-cocoa fork has a branch named 'p9' that I've used for these 
> changes.  Use that branch until everything is merged back to default.  All 
> comments & criticisms are welcome through any communication vector available.
> 
> This work has been sponsored and © coraid 2012 under the plan 9 open source 
> license.
> 
> -jas
> 



Re: [9fans] drawterm for OSX 10.8

2012-10-23 Thread Jeff Sickel
Another set of changes have been pushed to 
https://bitbucket.org/jas/drawterm-cocoa that support resize/reshape of the OS 
X window.  There are still a few drawing glitches once a window is resized, but 
those should be fixed in short order.

The drawterm-cocoa fork has a branch named 'p9' that I've used for these 
changes.  Use that branch until everything is merged back to default.  All 
comments & criticisms are welcome through any communication vector available.

This work has been sponsored and © coraid 2012 under the plan 9 open source 
license.

-jas




Re: [9fans] drawterm for OSX 10.8

2012-10-13 Thread David Leimbach
Thank you!

On Saturday, October 13, 2012, Jeff Sickel wrote:

>
> This was added to the top of include/cursor.h:
>
> typedef struct Cursor Cursor;
>
>
> so it's safe to remove that line from screen-cocoa.m.  I've got that
> change w/a load of others I'll push soon.
>
> -jas
>
> On Oct 12, 2012, at 11:18 PM, Skip Tavakkolian 
> >
> wrote:
>
> > first try, after setting isysroot to 1.7, etc. it mostly compiles with
> > warnings. eventually it errors on "redefinition of typedef 'Cursor'"
> > compiling screen-cocoa.m. i'll try again tomorrow -- with a clear
> > head.
>
>
>
>
>


Re: [9fans] drawterm for OSX 10.8

2012-10-13 Thread Jeff Sickel

This was added to the top of include/cursor.h:

typedef struct Cursor Cursor;


so it's safe to remove that line from screen-cocoa.m.  I've got that change w/a 
load of others I'll push soon.

-jas

On Oct 12, 2012, at 11:18 PM, Skip Tavakkolian  
wrote:

> first try, after setting isysroot to 1.7, etc. it mostly compiles with
> warnings. eventually it errors on "redefinition of typedef 'Cursor'"
> compiling screen-cocoa.m. i'll try again tomorrow -- with a clear
> head.






Re: [9fans] drawterm for OSX 10.8

2012-10-12 Thread Skip Tavakkolian
first try, after setting isysroot to 1.7, etc. it mostly compiles with
warnings. eventually it errors on "redefinition of typedef 'Cursor'"
compiling screen-cocoa.m. i'll try again tomorrow -- with a clear
head.

On Fri, Oct 12, 2012 at 6:04 PM, Jeff Sickel  wrote:
> I've placed a fork of drawterm up on 
> https://bitbucket.org/jas/drawterm-cocoa/overview that is specifically 
> targeted towards supporting the recent Mac OS X 10.8 releases that dropped 
> earlier Carbon APIs.  A portion of the screen drawing is very similar to what 
> is found in p9p's devdraw, with the exception that window resize- and 
> full-screen options are not available at this time.  Build it on a OSX with 
> Xcode 4.5+ using the simple command:
>
> make 'CONF=osx-cocoa'
>
> The result will provide a Mach-O 64-bit executable for use on recent Macs.  
> If someone wants to build it on an OS X 10.7 target then you can take a look 
> at the Make.osx-cocoa file and modify ARCHFLAGS appropriately.
>
> I'll be pushing out changes to the port as I roll in updates from Plan 9 
> sources and add new features for OS X.  Send feedback as you see fit.
>
> -jas
>
>