Re: [9fans] Alpha bootloader "kernel stack not valid"

2006-02-22 Thread cblack1
On Wed, Feb 22, 2006 at 10:57:10PM -0800, [EMAIL PROTECTED] wrote: > There are several memmoves in that vicinity; could you show us the > line and some surrounding context? Sure. From /sys/src/boot/alphapc/bootp.c, in bootp(), near the bottom: addr = (uchar*)entry; p = tftpb.data+

Re: [9fans] Alpha bootloader "kernel stack not valid"

2006-02-22 Thread geoff
There are several memmoves in that vicinity; could you show us the line and some surrounding context? "kernel stack not valid halt" is coming from SRM, right? I'm surprised that your alpha didn't come with a 2114x, and that SRM's bootp/tftp loader can drive any other kind of ethernet card. Does

[9fans] Alpha bootloader "kernel stack not valid"

2006-02-22 Thread cblack1
I have an AlphaPC 164LX that I've decided to try Plan 9 on, but I've hit a roadblock in my efforts. I've successfully compiled the binaries, kernel, and bootloader on another machine, and found a network card that works with the SRM bootp/tftp bootloader (Intel 82559, oddly enough). Bootp works gre

Re: [9fans] Slow Drawterm

2006-02-22 Thread Russ Cox
> Does anybody have any suggestion to improve it? Implement some form of compression in devssl and then make drawterm use it. Russ

[9fans] Slow Drawterm

2006-02-22 Thread Fernan Bolando
Hi all It is noted in the 9grid.jp website that drawterm from another country is slow. Does anybody have any suggestion to improve it? I noticed that using ssh is much better so I changed my lib/profile to exec rc when I login using drawterm. It seems better but ssh is noticably more responsive.

Re: [9fans] "Intervalic

2006-02-22 Thread geoff
You may want to generate some or all of the awk program on-the-fly, or use awk -v to set awk variables from the command line, or use the ENVIRON array to read environment variables. --- Begin Message --- "Russ Cox" <[EMAIL PROTECTED]> wrote: > If you're using awk and want the first 24 characters,

Re: [9fans] "Intervalic

2006-02-22 Thread yard-ape
"Russ Cox" <[EMAIL PROTECTED]> wrote: > Here are the real rules: > > - a{0,n} can be replaced by a?a{0,n-1} > - a{m,n} can be replaced by aa{m-1,n-1} > - a{0,0} can be replaced by the empty string > - REPEAT until all the { } are gone > > This is just a complicated way of s

Re: [9fans] "Intervalic

2006-02-22 Thread Russ Cox
Here are the real rules: - a{0,n} can be replaced by a?a{0,n-1} - a{m,n} can be replaced by aa{m-1,n-1} - a{0,0} can be replaced by the empty string - REPEAT until all the { } are gone This is just a complicated way of saying you can replace a{n,m} with n copies of

Re: [9fans] "Intervalic

2006-02-22 Thread andrey mirtchovski
> Huh? http://pages.cpsc.ucalgary.ca/~mirtchov/p9/canthave.png

Re: [9fans] "Intervalic

2006-02-22 Thread yard-ape
"Russ Cox" <[EMAIL PROTECTED]> wrote: > What he meant is that if you have a regular expression of the form > a{0,n} for any a, then you can replace that with a?a{0,n-1}, and > similarly a{m,n} can be replaced with a{m-1,n-1}. This gives you > an algorithm to convert a so-called intervalic regula

Re: [9fans] https/factotum question

2006-02-22 Thread Dave Eckhardt
> your only option is to open the fd for mounting the secret > factotum, then call becomenone(), then mount the fd, which > is still open but otherwise inaccessible to you. That is sort of what I meant. So I'd need a command line flag which would open a service file descriptor (e.g., /srv/factotu

Re: [9fans] "Intervalic

2006-02-22 Thread Russ Cox
> Sorry Bakul, you've lost me here. These look like awk idioms with unix > extended regular expressions forms, but I don't really understand them. > In any case, even basic REs aren't available in Plan9 awk---right? What he meant is that if you have a regular expression of the form a{0,n} for any

Re: [9fans] "Intervalic

2006-02-22 Thread yard-ape
Bakul Shah <[EMAIL PROTECTED]> wrote: > Not as convenient but can't you transform your extended RE > into basic REs? > > RE{0,n} == RE? RE{0,n-1} > RE{m,n} == RE RE{m-1,n-1} Sorry Bakul, you've lost me here. These look like awk idioms with unix extended regular expressions forms, but I

Re: [9fans] "Intervalic

2006-02-22 Thread Bakul Shah
> For such a case in unix, I'd make heavy use of what I've seen referred to as > "intervalic" regular expressions (numeric ranges expressed in braces: "\{n,n\ > }" in simple and basic unix regular expressions, "{n,n}" in extended posix re > gular expressions). But regexp(6) doesn't mention these,

Re: [9fans] "Intervalic

2006-02-22 Thread yard-ape
"Russ Cox" <[EMAIL PROTECTED]> wrote: > If you're using awk and want the first 24 characters, I'd use substr. Yup, substr is in there; but it needs to be fed the position dynamically with the regex. Thanks again! -Derek

Re: [9fans] "Intervalic

2006-02-22 Thread Russ Cox
> Am I misunderstanding the REP operators? If not, how do you folks > like to handle such problems as one might use intervalic expressions on? > Do you just use an explicit regular expression? If so, I'm curious > about the reasoning behind the design decision to leave intervalic > expressions ou

[9fans] "Intervalic

2006-02-22 Thread yard-ape
I'm using awk on Plan9 to restructure a 70,000 cel table containing no proper delimiters---it's just visually-formatted with spaces. (Records split over multiple lines, erratically justified columns, etc. etc. A good time.) For such a case in unix, I'd make heavy use of what I've seen referred