[9fans] How to set up network?

2009-06-15 Thread Angelo Papenhoff
Hello, after my last attempt on plan9 several months ago I again decided to give plan9 a chance and installed it, but I have no idea how to set up my network. I think the files to edit are in /lib/ndb but I have no clue how to do that. I read every doc on the plan9 site that seemed promising but it

Re: [9fans] How to set up network?

2009-06-15 Thread erik quanstrom
-r act as a resolver only: send `recursive' queries, asking the other servers to complete lookups. If present, /env/DNSSERVER must be a space-separated list of such DNS servers' IP addresses, otherwise optional ndb(6) dns attribute

Re: [9fans] How to set up network?

2009-06-15 Thread Sergey Kornilovich
echo ip_dns_server > /env/DNSSERVER 2009/6/15 Angelo Papenhoff > Hello, > after my last attempt on plan9 several months ago I again decided to > give plan9 a chance and installed it, > but I have no idea how to set up my network. I think the files to edit > are in /lib/ndb but I have no clue how

Re: [9fans] How to set up network?

2009-06-15 Thread Sean Thomas Caron
Hi Angelo, You need to configure some DNS servers in e.g. /lib/ndb/local. I have some notes on setting up a standalone Plan 9 CPU and file server at the following URL: http://wildflower.diablonet.net/~scaron/p9setup.html It sounds like you're just trying to set up a terminal so this won't

Re: [9fans] How to set up network?

2009-06-15 Thread erik quanstrom
On Mon Jun 15 09:33:40 EDT 2009, roo...@gmail.com wrote: > echo ip_dns_server > /env/DNSSERVER > why would you do it this way instead of DNSSERVER=ip_dns_server ? - erik

[9fans] confusing astro output

2009-06-15 Thread erik quanstrom
i ran astro -k a 3 times, a few minutes apart on the same machine. the results are suprising The sun sets at 20:47:50 EDT The sun sets at 20:47:49 EDT The sun sets at 20:47:43 EDT Comet rises at 23:02:57 EDT Comet rises at 23:03:06 EDT Comet rises at 23:03:02 EDT can anyone explain why i don't

Re: [9fans] confusing astro output

2009-06-15 Thread andrey mirtchovski
most likely "astro" needs to be taught a bit about maths ;) http://www.youtube.com/watch?v=drE5cHe6c3s

[9fans] rio with virtuals

2009-06-15 Thread john
I spent a couple hours this afternoon reading rio source and hacking it to do virtual desktops. /n/sources/contrib/john/rio-virtual.tgz contains the files from /sys/src/cmd/rio with my changes made. At this time, there is no support for specifying the number of virtuals, because I'm lazy--you get

Re: [9fans] rio with virtuals

2009-06-15 Thread J.R. Mauro
p9p rio has virtuals, too. I would tell you to look at the source for more inspiration, but I don't really want to be a comedian. How does one switch desktops? Can/did you implement scrolling on a gray bit to switch? Extending the fs? On Mon, Jun 15, 2009 at 6:54 PM, wrote: > I spent a couple ho

Re: [9fans] rio with virtuals

2009-06-15 Thread john
> p9p rio has virtuals, too. I would tell you to look at the source for > more inspiration, but I don't really want to be a comedian. > > How does one switch desktops? Can/did you implement scrolling on a > gray bit to switch? Extending the fs? > You switch desktops by clicking the middle mouse

Re: [9fans] faster vesa driver

2009-06-15 Thread Kenji Arisawa
Hello Geoff, I am glad if mtrr makes effect only to single processor until the mtrr can support multi-core processor. Kenji Arisawa On 2009/06/10, at 6:18, ge...@plan9.bell-labs.com wrote: I've just pushed out kernel sources and binaries to incorporate Aki's mtrr and vesa changes. The combin

Re: [9fans] faster vesa driver

2009-06-15 Thread erik quanstrom
On Mon Jun 15 20:21:36 EDT 2009, aris...@ar.aichi-u.ac.jp wrote: > Hello Geoff, > > I am glad if mtrr makes effect only to single processor > until the mtrr can support multi-core processor. > > Kenji Arisawa mtrrs work on any number of processors. it is plan 9's vesa which does not. - erik

Re: [9fans] confusing astro output

2009-06-15 Thread erik quanstrom
On Mon Jun 15 15:50:11 EDT 2009, mirtchov...@gmail.com wrote: > most likely "astro" needs to be taught a bit about maths ;) > > http://www.youtube.com/watch?v=drE5cHe6c3s judging from the video, it's too much maths what's the problem. - erik

Re: [9fans] confusing astro output

2009-06-15 Thread erik quanstrom
On Mon Jun 15 22:36:14 EDT 2009, jrm8...@gmail.com wrote: > On Mon, Jun 15, 2009 at 3:43 PM, andrey > mirtchovski wrote: > > most likely "astro" needs to be taught a bit about maths ;) > > > > http://www.youtube.com/watch?v=drE5cHe6c3s > > > > What *was* that? proof that the british have a superi

Re: [9fans] confusing astro output

2009-06-15 Thread J.R. Mauro
On Mon, Jun 15, 2009 at 3:43 PM, andrey mirtchovski wrote: > most likely "astro" needs to be taught a bit about maths ;) > > http://www.youtube.com/watch?v=drE5cHe6c3s > What *was* that?

Re: [9fans] confusing astro output

2009-06-15 Thread John Floren
On Mon, Jun 15, 2009 at 10:34 PM, J.R. Mauro wrote: > On Mon, Jun 15, 2009 at 3:43 PM, andrey > mirtchovski wrote: >> most likely "astro" needs to be taught a bit about maths ;) >> >> http://www.youtube.com/watch?v=drE5cHe6c3s >> > > What *was* that? > > Just a bit of British comedy... I haven't h

Re: [9fans] faster vesa driver

2009-06-15 Thread Venkatesh Srinivas
> mtrrs work on any number of processors. it is plan 9's > vesa which does not. Is this just because the driver uses realmode()? Or is there something else? To solve the realmode() problem, we could link rsc's 8i into the kernel and use that to execute the vesa bios code, right? -- vs

Re: [9fans] faster vesa driver

2009-06-15 Thread Ori Bernstein
On Mon, 15 Jun 2009 22:46:42 -0400 Venkatesh Srinivas wrote: > > mtrrs work on any number of processors. it is plan 9's > > vesa which does not. > > Is this just because the driver uses realmode()? Or is there something else? > > To solve the realmode() problem, we could link rsc's 8i into the

[9fans] interface for per process gdt manipulation

2009-06-15 Thread cinap_lenrek
for vx32 and linuxemu an interface is needed in the plan9 kernel to modify per process gdt entries. for linuxemu, i ended up with a kernel patch that adds a gdt file to devproc for each process that contains the binary representation of the process view of the global descriptor table. /n/sources

Re: [9fans] interface for per process gdt manipulation

2009-06-15 Thread Russ Cox
i haven't looked at your code, but a text interface is better than binary. if you make the first field the table index number, then you don't need to bother with seeking to fixed offsets. design a text format that is convenient to use instead of forcing the binary interface on everyone. also i wo

Re: [9fans] interface for per process gdt manipulation

2009-06-15 Thread cinap_lenrek
> i haven't looked at your code, > but a text interface is better than binary. > if you make the first field the table index number, > then you don't need to bother with seeking > to fixed offsets. design a text format that is > convenient to use instead of forcing the binary > interface on everyo

Re: [9fans] interface for per process gdt manipulation

2009-06-15 Thread Russ Cox
On Mon, Jun 15, 2009 at 10:37 PM, wrote: >> i haven't looked at your code, >> but a text interface is better than binary. >> if you make the first field the table index number, >> then you don't need to bother with seeking >> to fixed offsets.  design a text format that is >> convenient to use ins