Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-28 Thread Anant Narayanan
On 26-Mar-09, at 8:36 PM, andrey mirtchovski wrote: On Thu, Mar 26, 2009 at 1:27 PM, Eric Van Hensbergen wrote: I have VNC lite on my iphone, which amazingly isn't jailbroken... -eric sure, but that's a client. i thought you were talking about exporting iPhone's screen and interfaces a

Re: [9fans] sources down?

2009-05-22 Thread Anant Narayanan
On 23-May-09, at 1:54 AM, Francisco J Ballesteros wrote: sources.lsub.org is avaiable just by using 9fs. But it's probably better to wait for the real thing. There are also several other mirrors IIRC that have been posted to this list. % 9fs kix.in /n/sources -- Anant

Re: [9fans] sources down?

2009-05-23 Thread Anant Narayanan
On 24-May-09, at 2:17 AM, ron minnich wrote: On Sat, May 23, 2009 at 4:59 PM, J.R. Mauro wrote: There are plenty of mirrors, I'm pretty sure the "sources is down AGAIN" comments could be mitigated by people improving their 9fs scripts. would be interesting to have a server that provided reliab

Re: [9fans] state of the mirrors

2009-06-01 Thread Anant Narayanan
On Mon, Jun 1, 2009 at 2:14 AM, Jano wrote: > I have had quite some bad experience recently with the 9p sources > mirrors. I have tried kix.in, which i know ised to be more stable than > bell-labs, but my attempts to mount it via 9p have all failed. Also, > the only other mirror i have found to be

[9fans] "Blocks" in C

2009-09-02 Thread Anant Narayanan
Mac OS 10.6 introduced a new C compiler frontend (clang), which added support for "blocks" in C [1]. Blocks basically add closures and anonymous functions to C (and it's derivatives). Full details with examples are in the linked article. I think the feature is quite elegant and might be use

Re: [9fans] "Blocks" in C

2009-09-03 Thread Anant Narayanan
On Sep 3, 2009, at 5:15 PM, Uriel wrote: Exactly, I still fail to understand the point of this "feature", function points have worked fine for ages, but then I never understood any religion, and that is what Apple seems to be all about. Did you even read the article or any of the examples? Ther

Re: [9fans] "Blocks" in C

2009-09-12 Thread Anant Narayanan
On Sep 11, 2009, at 10:36 PM, Roman V Shaposhnik wrote: I still do care very much (and in fact, I've been meaning to provide some of the answers on this mailing list, but apparently one can't upgrade to Snow Leopard over the net so I have to physically drive to the Mac store :-(). Anyway, for a

Re: [9fans] "Blocks" in C

2009-09-17 Thread Anant Narayanan
Not meaning to add fuel to the fire, but; On Sep 17, 2009, at 7:38 PM, Jack Norton wrote: I hate iTunes with a passion. It is a huge monolithic godlike creature that tries to do everything for me (usually when I don't want it to). It brings my 12" powerbook to a screeching halt (I get beac

Re: [9fans] "Blocks" in C

2009-09-17 Thread Anant Narayanan
On Sep 17, 2009, at 10:26 PM, erik quanstrom wrote: Good luck trying to get Plan 9 to play video! minooka; lc /sys/src/9/pc/*tv*.c devtv.c vgatvp3020.cvgatvp3026.c Sure, if you have a TV tuner. What I was referring to was Plan 9's ability (or lack thereof) to decode and play di

Re: [9fans] Go

2009-11-10 Thread Anant Narayanan
On Wed, Nov 11, 2009 at 7:00 AM, Russ Cox wrote: > On Tue, Nov 10, 2009 at 5:27 PM, andrey mirtchovski > wrote: > > serious question: can i have a link to the 9p implementation, pretty > > please? it doesn't appear in the module list on their website. > > There's no 9p implementation. I thought

[9fans] Building a Raspberry Pi image / Keyboard support

2014-07-01 Thread Anant Narayanan
It's been fun playing around with Plan 9 on Raspberry Pi - thanks to everyone who made it happen. 1. I'm trying to get a custom built kernel to boot but not having great luck, unfortunately. I got as far as "mk 'CONF=pi'" in /sys/src/9/bcm (those are the latest sources, correct?) which generated a

Re: [9fans] Kabini or Raspberry Pi?

2014-07-02 Thread Anant Narayanan
I found an old thread with a series of steps that called for building the compilers without runebase first then bringing runebase back into libc after (https://groups.google.com/forum/#!topic/comp.os.plan9/rjFtp4F82U0) - the steps didn't work for me though. What did work was using 5c from /n/9atom

Re: [9fans] Building a Raspberry Pi image / Keyboard support

2014-07-04 Thread Anant Narayanan
PDT Anant Narayanan wrote: > > > > 1. I'm trying to get a custom built kernel to boot but not having great > > luck, unfortunately. I got as far as "mk 'CONF=pi'" in /sys/src/9/bcm > > (those are the latest sources, correct?) which generated a 2

Re: [9fans] Building a Raspberry Pi image / Keyboard support

2014-07-05 Thread Anant Narayanan
s not reliable. It may be related to power, I'll try to get my hands on a powered hub and report back! -Anant On Sat, Jul 5, 2014 at 6:13 AM, Ramakrishnan Muthukrishnan wrote: > On Sat, Jul 5, 2014 at 5:15 AM, Anant Narayanan wrote: > > That worked great, thank you! > > > >

Re: [9fans] OSX Drawterm hangs on close

2008-04-08 Thread Anant Narayanan
On 06-Apr-08, at 8:46 AM, erik quanstrom wrote: it's a known bug, but i don't think there's a fix for it. what's the bug? drawterm on OS X needs to be rewritten in Cocoa. -- Anant

Re: [9fans] Plan 9 refuses to boot from iMac

2008-04-17 Thread Anant Narayanan
Does 9load support EFI? A. OS X EFI emulates a BIOS. That's how Boot Camp works. You need to explicitly enable it, and even then it won't work quite right until you get a nice bootloader that chains (much like how GRUB does): refit is a good tool: http://refit.sourceforge.net/ -- Anant

[9fans] Disassembler?

2008-05-02 Thread Anant Narayanan
Hi, Is there a tool available which can convert plan 9 a.out executables to plan 9 assembly code? I'd like to know how the C compiler stores arguments for a system call on the stack for x86. 8c -S does not help, since all it displays is: `call print', instead of what instructions are actu

[9fans] MOVBLSX

2008-05-05 Thread Anant Narayanan
Hi, I can't go beyond executing a 'Hello World' Plan 9 x86 executable in Linux, because most executables (I tried 8c and echo) use the MOVBLSX instruction. Whenever we hit that instruction, the program segfaults. What does MOVBLSX do? I looked up the opcode in the executable - 0x10 - whi

[9fans] _tos puzzle

2008-05-08 Thread Anant Narayanan
Good day, I got some plan9 binaries to work on Linux (8c, 8l, cat, sed, cal and a few more were tested), but all others are failing at exactly the same instruction: plock+0x31 MOVL 0x30(CX), CX (which is called whenever malloc is used). For some context: acid: asm(plock+0x20) plock+0x20

Re: [9fans] _tos puzzle

2008-05-08 Thread Anant Narayanan
Hi Russ, Thanks for your response! When a Plan 9 binary first starts running, the system call return register (AX in this case) contains a pointer to the Tos structure. /sys/src/libc/386/main9.s saves that value in the global variable named _tos. It sounds like you are not setting AX correctly

Re: [9fans] _tos puzzle

2008-05-08 Thread Anant Narayanan
So I have to allocate 56 bytes (sizeof(Tos) on 386) of space above the top of stack (before copying argc and argv) and set AX to that address, correct? Yes. And you need to maintain it. At the very least you need to initialize tos->pid and update it on return from rfork. I set EAX before st

Re: [9fans] _tos puzzle

2008-05-08 Thread Anant Narayanan
Hi Russ, You should print AX after every instruction too, to see if you've actually set it up the way you think you did. I did, and to my surprise, AX is 0, even though I set it properly in the loader. It appears as if Linux is setting AX to 0 sometime after the loader finishes, but before

Re: [9fans] plan9port: split into several packages

2008-05-10 Thread Anant Narayanan
as some of you already might know, Gentoo has plan9port (in the plan9 overlay), splitted into several packages. But it builds the whole p9p for the each single package (and just copies out the relevant stuff). You are incorrect. -- Anant

Re: [9fans] /n/sources/patch/spamhaus

2008-05-13 Thread Anant Narayanan
On 13-May-08, at 4:17 AM, erik quanstrom wrote: what's a better idea. having an extra 6400 spam emails is the problem. how to i solve this without using spamhaus? I use Greylisting [1], and it's been really effective. No false positives (so far), and 0 to 2 spam messages a day. All this for

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] space glenda - in acrylic

2008-06-29 Thread Anant Narayanan
On 28-Jun-08, at 9:46 AM, kix wrote: Great! T-shirts I need a new Plan9 t-shirts. http://www.cafepress.com/9fans -- Anant

Re: [9fans] apropos of the glendix post

2008-09-03 Thread Anant Narayanan
On 03-Sep-08, at 3:02 PM, erik quanstrom wrote: On Tue, Sep 2, 2008 at 6:38 PM, Skip Tavakkolian <[EMAIL PROTECTED]> wrote: other than trying every itiration possible (sum over histories of software?), i'm not getting the reason why glendix is a good idea. for me, it's the same thing over an

Re: [9fans] apropos of the glendix post

2008-09-03 Thread Anant Narayanan
On 03-Sep-08, at 7:45 PM, erik quanstrom wrote: for me, it's the same thing over and over again. drivers. what drivers are the problem? Any ethernet or video card that Plan 9 doesn't support (there are plenty). surely you don't own *all* the unsupported cards? No, but I use a Macbook Pro,

Re: [9fans] iwp9 hotel info

2008-10-14 Thread Anant Narayanan
On 14-Oct-08, at 4:43 PM, Rodolfo kix GarcĂ­a wrote: I have the room in the Phillipos too. Is cheaper than the Park Hotel with or without the IWP9 offer. On the other hand, probably the Park Hotel is better. On Tue, Oct 14, 2008 at 4:03 PM, Noah Evans <[EMAIL PROTECTED]> wrote: What kind o

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-09 Thread Anant Narayanan
On 10-Nov-08, at 6:26 AM, Enrico Weigelt wrote: Right now, there's an discussion about moving things into their own processes (eg. one process per tab) @ [EMAIL PROTECTED], and I just digged out my (old but still unrecognized) point of using 9P as IPC and splitting off the currently monolithic ap

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-10 Thread Anant Narayanan
On 10-Nov-08, at 10:56 PM, Roman V. Shaposhnik wrote: I wish 9p:// URL worked out of the box in Firefox, but it doesn't. Shameless plug: It does if you install the Angled extension: http://www.kix.in/projects/web9/ Ok, I lied - ninep:// works, 9p:// doesn't :) -- Anant

Re: [9fans] those funny gnu guys

2008-11-17 Thread Anant Narayanan
8c! http://gsoc.cat-v.org/hg/kenc (Anant, did you have another port as part of Glendix, or am I getting mixed up?) Yes, 8c & 8l now work on Glendix. Regards, Anant

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-19 Thread Anant Narayanan
Nevertheless, the same machinations that allow for transparency in Plan 9 disallow certain functions that can be naturally provided by a NAT implementation, or any of a number of software categories that involve packet filtering/rewriting/inspection. For example, the one I referred to in

[9fans] BeagleBoard

2008-11-25 Thread Anant Narayanan
Anyone tried to get Plan 9 running on it? http://beagleboard.org/ -- Anant