[9fans] unvac troubles...

2009-08-20 Thread Venkatesh Srinivas
Hi, I'm using unvac to try to extract some vac archives I made in the fall of 2008. I'm running into a pair of problems. First, unvac is outputting directories with the write bit off. This causes it to fail pretty early, as it can't write files to the newly-extracted directories. Is this expected

Re: [9fans] pipefrom fun

2009-08-20 Thread Russ Cox
pipefrom is too late to rewrite outgoing addresses, because marshal has already written the To: line with the local address. Your post says To: 9f...@steponnopets.net You can create /mail/box/$user/names to get aliases that won't go out. http://9fans.net/archive/2004/01/530 http://9fans.net/a

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread Charles Forsyth
qed allowed naming of regular expressions using `e' and their recursive invocation using \E, with results suggested earlier. http://cm.bell-labs.com/cm/cs/who/dmr/qedman.html http://cm.bell-labs.com/cm/cs/who/dmr/qedman.pdf ``It should be noted that the ability to define regular expressions recu

Re: [9fans] dump9660?

2009-08-20 Thread erik quanstrom
On Thu Aug 20 19:42:04 EDT 2009, iru.mu...@gmail.com wrote: > On Thu, Aug 20, 2009 at 6:34 PM, Venkatesh Srinivas wrote: > > Hi, > > > > Do any of you still use dump9660? Any recent experiences or stuff I > > should watch out for using it? > > > > mk9660(8) is the main user, but i don't think she

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread erik quanstrom
> Here's an example. Let's make the syntax extra pukey: @#, where # is > 1-9, defines a `named procedure', which is the same thing as putting > something in braces in Sam. > > x/.*\n/ @1{ ( @1 ) | @1 ( @1 ) ( ) | } > x/re/ repeatedly sets . with matches until the input is exhausted. so i don't

Re: [9fans] pipefrom fun

2009-08-20 Thread erik quanstrom
On Thu Aug 20 20:53:27 EDT 2009, maht-9f...@maht0x0r.net wrote: > All being well this is a mail routed by my pipefrom > > /n/sources/contrib/maht/rc/pipefrom > > It has seen the outgoing address of "9fans" and changed it to > "9fans@9fans.net" > It has seen the outgoing address of "9fans@9fans.

[9fans] pipefrom fun

2009-08-20 Thread maht-9fans
All being well this is a mail routed by my pipefrom /n/sources/contrib/maht/rc/pipefrom It has seen the outgoing address of "9fans" and changed it to "9fans@9fans.net" It has seen the outgoing address of "9fans@9fans.net" and set upasname to be "maht-9f...@maht0x0r.net"

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread J.R. Mauro
On Thu, Aug 20, 2009 at 5:26 PM, erik quanstrom wrote: >> No, I know you can apply them `recursively', I mean something more >> like an expression in a CFG or yacc. >> >> > >> > can you outline somehow what you're thinking of? >> >> Basically, if you could take a bracketed expression in sam and the

Re: [9fans] dump9660?

2009-08-20 Thread Iruata Souza
On Thu, Aug 20, 2009 at 6:34 PM, Venkatesh Srinivas wrote: > Hi, > > Do any of you still use dump9660? Any recent experiences or stuff I > should watch out for using it? > mk9660(8) is the main user, but i don't think she reads the list. iru

[9fans] dump9660?

2009-08-20 Thread Venkatesh Srinivas
Hi, Do any of you still use dump9660? Any recent experiences or stuff I should watch out for using it? Thanks, -- vs

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread erik quanstrom
> No, I know you can apply them `recursively', I mean something more > like an expression in a CFG or yacc. > > > > > can you outline somehow what you're thinking of? > > Basically, if you could take a bracketed expression in sam and then > name it, and then call it recursively. > > All the prob

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread J.R. Mauro
On Thu, Aug 20, 2009 at 4:39 PM, erik quanstrom wrote: >> > i'm sure i've done them.  this is a lame example, since i can't remember >> > where i've used these techniques off the top of my head >> > >> > ,x:.*: g/#pragma/ x:[^  ]+[     ]: g/print/p >> >> How is this recursive? > > in the sense that

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread erik quanstrom
> > i'm sure i've done them.  this is a lame example, since i can't remember > > where i've used these techniques off the top of my head > > > > ,x:.*: g/#pragma/ x:[^  ]+[     ]: g/print/p > > How is this recursive? in the sense that 'x' is recursively applied to the output of 'x'. i have no ide

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread J.R. Mauro
On Thu, Aug 20, 2009 at 3:53 PM, erik quanstrom wrote: > On Thu Aug 20 13:54:35 EDT 2009, jrm8...@gmail.com wrote: >> Has anyone given thought to recursive structural regular expressions? > > i'm sure i've done them.  this is a lame example, since i can't remember > where i've used these techniques

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread erik quanstrom
On Thu Aug 20 13:54:35 EDT 2009, jrm8...@gmail.com wrote: > Has anyone given thought to recursive structural regular expressions? i'm sure i've done them. this is a lame example, since i can't remember where i've used these techniques off the top of my head ,x:.*: g/#pragma/ x:[^ ]+[ ]: g/p

Re: [9fans] vmware oddity (Fusion on Mac OS X)

2009-08-20 Thread erik quanstrom
> > http://fxr.watson.org/fxr/source/pc/devether.c?v=PLAN9#L202 > you may wish to give "standard" (at least to 9fans) links to code, e.g: /sys/src/9/pc/devether.c:202 you would probablly benefit from removing the print statements. they're potentially going to make the problem much wors

Re: [9fans] vmware oddity (Fusion on Mac OS X)

2009-08-20 Thread james toy
I was just actually about to post about this. I have yet to find a fix; however, it seems its after the multiplex code and can be found here http://fxr.watson.org/fxr/source/pc/devether.c?v=PLAN9#L202 I am not running venti; I am only running fossil. I don't think that is related in light of t

[9fans] Netbook

2009-08-20 Thread james toy
Hello 9fans, A few things: 1) I'm going to be installing and finishing up the Plan9 setup I have at plan9.union.edu or plan9.cs.union.edu; I have not decided where I would like to put it yet. I'll be doing all of my senior projects on Plan9 so that I can further my understanding of the system and

[9fans] Recursive structural expressions?

2009-08-20 Thread J.R. Mauro
Has anyone given thought to recursive structural regular expressions? I didn't see a way to do recursion from reading the paper and experimenting. The reason for recursion would be that instead of having hopped-up regexes, we'd now have context-free expressions. Yacc needing tokens makes doing CF

Re: [9fans] make slides in plan 9

2009-08-20 Thread J.R. Mauro
On Wed, Aug 19, 2009 at 12:27 PM, Charles Forsyth wrote: > i use html, then any browser will do, even ie6 for most things. > i use an rc script and awk to take an outline format such as >        - burble >                - more burble >                - even more burble > with some other convention

Re: [9fans] varargs question

2009-08-20 Thread erik quanstrom
> what problem are you trying to solve? > > the limit would check only that the right number of > argument bytes are consumed, but not that they are > interpreted correctly. print("%s %d", 1, "hello") would > still crash, as would print("%s", 1, "hello"). > > #pragma varargck is more precise and

[9fans] lspci for windows (sort of)

2009-08-20 Thread Steve Simon
I recently came across this, a tool which can dump some PCI bus info from windows. This may be of use to people trying to put plan9 on systems that are already installed with windows. perhaps this is old news and evryone knows about it, but I didn't. http://support.microsoft.com/kb/311272 exampl

Re: [9fans] varargs question

2009-08-20 Thread Russ Cox
On Thu, Aug 20, 2009 at 6:56 AM, erik quanstrom wrote: > and i wondered why kenc doesn't add an argument > count before the first vararg.  (bwc pointed out > that the address following the last vararg would be > more useful.)  va_* could be updated to deal with > the silent extra and abort on acces

[9fans] varargs question

2009-08-20 Thread erik quanstrom
as i was drifting off to sleep the other night, i was wondering about varargs. (clearly, it's time for a vacation.) and i wondered why kenc doesn't add an argument count before the first vararg. (bwc pointed out that the address following the last vararg would be more useful.) va_* could be upd

Re: [9fans] USB HDD connection problem

2009-08-20 Thread Bela Valek
I tried a recent distribution image (Aug15). The live CD worked with my external harddrive, after plugging it in i issued 'usbfat:', and i was able to read and write files on it. When I installed it, 'usbfat:' said that there are no usb disks. usbd was running (5 threads), I will try ls '#u' when i