Re: [9fans] Adventures of a home user

2009-04-23 Thread Jim Habegger
My Plan 9 training is temporarily suspended while I learn to use QEMU. That's funny because I suspended my Slackware training to learn to use Plan 9. Now I might suspend my QEMU training to try out some other virtualizers. Also, I got a FreeDOS image to use for my QEMU training, so I may wander o

Re: [9fans] Adventures of a home user

2009-04-23 Thread Eris Discordia
To whom it may concern: had the right patches for Plan 9 to work on Virtual PC been incorporated and a new ISO released half the complaints from Windows users who want to give Plan 9 a try would disappear. Some potential enterprise users might also get interested in running many Plan 9 instances

[9fans] (no subject)

2009-04-23 Thread Steve Simon
Hi, I have decided to try to cross compile to windows again, as I see it here are my options: 1) build mingw for plan9 This means getting gcc to compile under kenc - non-trivial 2) build lcc on plan9 ditto 3) build pcc for plan9

Re: [9fans] Plan9 - the next 20 years

2009-04-23 Thread erik quanstrom
> Not to beat a (potentially) dead horse (even further) to death, but if we > had some way of knowing that files were actually data (i.e. not ctl files; > cf. QTDECENT) we could do more prefetching in a proxy -- e.g. cfs could be > modified to do read entire files into its cache (presumably it woul

Re: [9fans] (no subject)

2009-04-23 Thread Charles Forsyth
lcc is nothing like as hard to compile as gcc (which has got worse, much worse, over the years). funnily enough, my gcc bootstrap compilation is still going (on a multi-core linux machine). it started over an hour ago. bizarre.

Re: [9fans] (no subject)

2009-04-23 Thread Devon H. O'Dell
2009/4/23 Charles Forsyth : > lcc is nothing like as hard to compile as gcc (which has got worse, much > worse, over the years). > funnily enough, my gcc bootstrap compilation is still going (on a multi-core > linux machine). > it started over an hour ago.  bizarre. (my apologies for diverging t

[9fans] roots

2009-04-23 Thread erik quanstrom
where do they think linux, minux, unix came from? “ "It rarely leads to good things" when a small community gets headed off in their own direction, he [lwn editor j. corbet] said. — http://lwn.net/Articles/327938/ - erik

[9fans] Git Mirror

2009-04-23 Thread Eric Van Hensbergen
I've started a public nightly mirror of (the source code bits) from sources using github: http://github.com/ericvh/plan-9/tree/master (There's also a mirror of inferno-os from google code: http://github.com/ericvh/inferno-os/tree/master I started this primarily for my personal use, but as they are

[9fans] missing ed's line numbering in sam -d

2009-04-23 Thread Rudolf Sykora
Hello, when using 'sam -d' to remotely edit files I really miss the option to print line numbers along with lines, like ed's e.g. '1,10n'. Is there anything like that? Why not? Thanks Ruda

Re: [9fans] missing ed's line numbering in sam -d

2009-04-23 Thread erik quanstrom
you can do this in sam with an external program ; cat /bin/nl #!/bin/rc if(~ $#* 0) awk '{printf("%4d %s\n", ++lineno, $0);}' if not for(i) awk '{printf("%4d %s\n", ++lineno, $0);}' < $i ; sam -d /lib/volcanoes 1,10>nl 1 This nice little file came from the Smithsonian. 2 Dou

Re: [9fans] missing ed's line numbering in sam -d

2009-04-23 Thread roger peppe
2009/4/23 erik quanstrom : > you can do this in sam with an external program ... except the line numbers won't be accurate unless you're printing lines from the beginning.

Re: [9fans] missing ed's line numbering in sam -d

2009-04-23 Thread erik quanstrom
On Thu Apr 23 11:36:09 EDT 2009, rogpe...@gmail.com wrote: > 2009/4/23 erik quanstrom : > > you can do this in sam with an external program > > ... except the line numbers won't be accurate unless > you're printing lines from the beginning. left as an excercize to the reader. - erik

Re: [9fans] Adventures of a home user

2009-04-23 Thread maht
Some potential enterprise users might also get interested in running many Plan 9 instances on Microsoft Virtual Server platform after seeing it run on Virtual PC (Due to its light weight Plan 9 may be a good choice for some virtual hosting services). might makes right ?

Re: [9fans] missing ed's line numbering in sam -d

2009-04-23 Thread roger peppe
2009/4/23 erik quanstrom : > left as an excercize to the reader. not possible, i think, as the external program can't know where the sam selection is coming from. easier in acme.

Re: [9fans] missing ed's line numbering in sam -d

2009-04-23 Thread erik quanstrom
On Thu Apr 23 12:06:23 EDT 2009, rogpe...@gmail.com wrote: > 2009/4/23 erik quanstrom : > > left as an excercize to the reader. > > not possible, i think, as the external program can't > know where the sam selection is coming from. > easier in acme. totally impossible to do acme -d. otoh, since

[9fans] 9p2010

2009-04-23 Thread erik quanstrom
it occurred to me yesterday morning that the problem with a bundle of 9p requests is that 9p then no longer maps directly to system calls. with 9p2000, if you want to do a Tread, it's pretty clear that one needs to read(2); traditiona syscalls map directly to 9p. not so when bundles/sequences are

Re: [9fans] missing ed's line numbering in sam -d

2009-04-23 Thread John Stalker
The underlying problem is that sam is simply not line-oriented. If you're doing things with a file which is naturally thought of a series of lines then ed is usually better than sam -d. -- John Stalker School of Mathematics Trinity College Dublin tel +353 1 896 1983 fax +353 1 896 2282

Re: [9fans] Plan9 - the next 20 years

2009-04-23 Thread tlaronde
On Sat, Apr 18, 2009 at 08:05:50AM -0700, ron minnich wrote: > > For cluster work that was done in the OS, see any clustermatic > publication from minnich, hendriks, or watson, ca. 2000-2005. FWIW, I haven't found much left, and finally purchased your (and al.) article about HARE: The Right-Wei

Re: [9fans] (no subject)

2009-04-23 Thread lucio
> lcc is nothing like as hard to compile as gcc (which has got worse, much > worse, over the years). > funnily enough, my gcc bootstrap compilation is still going (on a multi-core > linux machine). > it started over an hour ago. bizarre. ... and when I eventually completed it under NetBSD, a f

Re: [9fans] (no subject)

2009-04-23 Thread erik quanstrom
> back, the GAS pass failed with a segmentation violation. unfortunate! that's gotta hurt. ☺ - erik

Re: [9fans] 9p2010

2009-04-23 Thread roger peppe
2009/4/23 erik quanstrom : > it occurred to me yesterday morning that the problem with > a bundle of 9p requests is that 9p then no longer maps directly > to system calls. > > with 9p2000, if you want to do a Tread, it's pretty clear that > one needs to read(2); traditiona syscalls map directly to

Re: [9fans] (no subject)

2009-04-23 Thread David Leimbach
On Thu, Apr 23, 2009 at 10:17 AM, erik quanstrom wrote: > > back, the GAS pass failed with a segmentation violation. > > unfortunate! that's gotta hurt. ☺ > > - erik > > Seems like you'd have to change your pants after a GAS pass segmentation violation.

Re: [9fans] 9p2010

2009-04-23 Thread erik quanstrom
> as a starting point, i'd envisaged simply changing the existing > system calls to do sequences. > [...] > > Sequence: adt { > queue: fn(seq: self ref Sequence, m: Tmsg, tag: any); > wait: fn(seq: self ref Sequence): (any, Tmsg, Rmsg); > cont: fn(seq: self ref Sequence); >

Re: [9fans] 9p2010

2009-04-23 Thread Fco. J. Ballesteros
But if you do that (send sequences from userl-level) you must interpret your namespace yourself. When I tried to detect how to bundle calls for plan b, a problem I had was namec. For me it's still not clear how to detect cleanly `what to batch', even if you change the source for the program doing I

Re: [9fans] 9p2010

2009-04-23 Thread David Leimbach
On Thu, Apr 23, 2009 at 10:28 AM, erik quanstrom wrote: > > as a starting point, i'd envisaged simply changing the existing > > system calls to do sequences. > > > [...] > > > > Sequence: adt { > > queue: fn(seq: self ref Sequence, m: Tmsg, tag: any); > > wait: fn(seq: self ref Sequenc

Re: [9fans] 9p2010

2009-04-23 Thread roger peppe
2009/4/23 Fco. J. Ballesteros : > But if you do that (send sequences from userl-level) > you must interpret your namespace yourself. When I tried to > detect how to bundle calls for plan b, a problem I had was > namec. For me it's still not clear how to detect cleanly > `what to batch', even if you

Re: [9fans] 9p2010

2009-04-23 Thread Gary Wright
On Apr 23, 2009, at 12:26 PM, erik quanstrom wrote: with 9p2000, if you want to do a Tread, it's pretty clear that one needs to read(2); traditiona syscalls map directly to 9p. It seems to me that the syscall interface is by design different than the 9p2000 api: - most syscalls map to a se

Re: [9fans] 9p2010

2009-04-23 Thread Eric Van Hensbergen
Another alternative (maybe this has already been mentioned -- I haven't been closely following the thread) -- is to integrate the caching into a cache file system. That way you get the advantage for static files (and static file systems) where you have the least opportunity to shoot yourself in th

Re: [9fans] 9p2010

2009-04-23 Thread Steve Simon
> ...integrate the > caching into a cache file system this was discussed at one of the iwp9s I believe. Ok, a thought experiment. Extend fossil so that you can attach to objects of the form fs.changes (e.g. main.changes or other.changes). Open a known file here (e.g. /update) and you will receiv

Re: [9fans] (no subject)

2009-04-23 Thread lucio
> anyone know of any other (simpler) options? Inferno utils? The binaries for NT? ++L

[9fans] Contrib index, snip

2009-04-23 Thread Anthony Sorace
Folks: The contrib index on the wiki [1] hadn't been updated in a long time; I'm now automatically regenerating it nightly. I've made some minor changes to the script that does the updates; the most significant is that INDEX files can now describe files and directories arbitrarily deep in