Re: [9fans] "Blocks" in C

2009-09-18 Thread drivers
Is there some method of lock profiling on plan9? For example when I do work on freebsd and say remove a giant lock from the keyboard subsystem; I run the lock profiler before and after the change to see how long the system was sitting at the in kernel locks. I am doing my thesis (un

Re: [9fans] Drawterm login prompt.

2009-09-07 Thread drivers
FGB, Oh no, I knew it was me the whole time. Just not exactly where to look after the initial setup. Thanks for pointing me in the right direction. There was no way drawterm was the offender here. Thanks! =james

Re: [9fans] Drawterm login prompt.

2009-09-07 Thread drivers
Fgb, This did the trick thanks. Eric thanks for your quick reply, good to know you actually are a human. =jt --Original Message-- From: erik quanstrom Sender: 9fans-boun...@9fans.net To: 9fans@9fans.net ReplyTo: Fans of the OS Plan 9 from Bell Labs Subject: Re: [9fans] Drawterm login p

[9fans] Drawterm login prompt.

2009-09-07 Thread drivers
9fans, Is anyone aware of where the configuration data is concerning drawterm logins? I initially set my system up as crashing.dom and since put the system into production as plan9.union.edu for my final honors project in CS. Unfortunatly fixing the /cfg plan9.ini and /lib/ndb/local to the

Re: [9fans] "Blocks" in C

2009-09-03 Thread drivers
To ensure only one thread in the kernel at a time? -jt- --Original Message-- From: erik quanstrom Sender: 9fans-boun...@9fans.net To: 9fans@9fans.net ReplyTo: Fans of the OS Plan 9 from Bell Labs Subject: Re: [9fans] "Blocks" in C Sent: Sep 3, 2009 21:32 > what does BLK stand for? big ke

Re: [9fans] vmware installation problems

2009-07-29 Thread drivers
Hello Roger, I'm currently running latest Plan 9 in vmware fusion Version 2.0 (116369). This system has been behaving perfectly on every installation (save where i really botched something up trying to learn the system). What is your host OS? I'm running this on Mac OS X 10.5.8 hope

[9fans] git on plan9

2009-07-18 Thread drivers
Phew finally got it. There was some hackery involved in the hg-git python code since mmap wasn't supported -- i basically just implemented them with reads; however I was considering writing an mmap module that used reads but realized that would be misleading since it wasn't really mmap.

[9fans] (no subject)

2009-07-17 Thread drivers
All, I've fixed the last bug (thank god) its hard trying to problem solve and learn a language at the same time but at least I'm still having fun (and python isn't like learning C ;). Additionally now I have this bug which is mutually exclusive from any of the mmap stuff. But at least

[9fans] hg-git on plan9

2009-07-17 Thread drivers
Ok, a few more things...perhaps someone with a bit of python knowledge might be able to shed some light on this. There is a simple way of fixing this by writing a custom mmap.py so everything is done transparently; however, I think I am missing a few things. def simple_mmap(f, offset, s

Re: [9fans] git on plan9

2009-07-17 Thread drivers
Cinap recommended this and I am working on it right now :) -- any other suggestions are very welcome. Thanks Russ. respectfully ++james --- Begin Message --- You don't need mmap to implement this mmap. If it's just trying to map files into memory read-only, you could implement it by open, stat

Re: [9fans] git on plan9

2009-07-17 Thread drivers
ok, so there is another snag i've just found out. The new dulwich code which hg-git relies on requires mmap -- which we do not provide in ape currently. I'm new to plan9; but am not afraid to code up things that are useful. I do need to know what the best idea is for how to resolve t

Re: [9fans] git on plan9

2009-07-16 Thread drivers
John, I'm going to write an rc script to do the installation. The package works to pull in hg; however, it depends on a lot of things. I'll write a readme and post it. Is the wiki an ok place for this? respectfully, james --- Begin Message --- Congratulations! I'm interested in giving i

Re: [9fans] git on plan9

2009-07-16 Thread drivers
I currently have hg and this bookmarks git module working on plan9. Russ, thanks for the clue -- i have this packaged up now (my first package but doesn't seem like rocket science. Please let me know if you are interested. Also to be honest 98% of this was Filipe and FGB i just put a f

Re: [9fans] git on plan9

2009-07-16 Thread drivers
Filipe, This has fixed the os.chmod error, I had rebuild ape; however, i had not rebuilt python. I am now running into this traceback even though the .hg dir is being instantiated. rator_gade% hg clone http://bitbucket.org/jespern/django-piston real URL is http://bitbucket.org/jespern

Re: [9fans] git on plan9

2009-07-16 Thread drivers
hi, Ok, so I have hg compiled and it will run via hg cmd; however, i'm running into a chmod error. There was a proposed change in /n/sources/patch/ape-chmod-dirbit which can be seen here: http://www.kix.in/plan9/mirror/sources/patch/. I've taken the chmod.c.new file and replaced the o

Re: [9fans] git on plan9

2009-07-15 Thread drivers
John, I think I might be 3/4 the way there with 1.3 :). I'll update you when its done. Too bad geoff is away until the 25th -- he is making me a contrib then. respectfully, jamest --- Begin Message --- On Wed, Jul 15, 2009 at 4:01 PM, Russ Cox wrote: > On Wed, Jul 15, 2009 at 3:38

[9fans] git on plan9

2009-07-15 Thread drivers
Thats good to hear HG is working well, I am really hoping for git as it is hosting my current repo of works. If git does not exist and there is no plan to do it in the future I can migrate over my stuff (i'd prefer to do actual new work than porting VCS!). Thanks for the replies thus far. +=j