Re: [9fans] Datakit documentation

2010-03-11 Thread Dennis Ritchie
"Lyndon Nerenberg" wrote in message news:alpine.bsf.2.00.1003090023380.2...@legolas.yyc.orthanc.ca... > What I'm mostly interested in are the network protocols and the routing > and addressing schemes. But anything I can get my hands on is of interest. > Anyone have suggestions on likely place

[9fans] rc strings

2010-03-11 Thread hugo rivera
Hi, % n=`{echo 'a b'} sets n to a list containing two elements, 'a' and 'b'. How can I set n to a single string 'a b'? note that I must execute external commands, so the obvious solution % n='a b' doesn't work for me. Saludos, -- Hugo

Re: [9fans] rc strings

2010-03-11 Thread Francisco J Ballesteros
cant you just use $"n ? On Thu, Mar 11, 2010 at 12:43 PM, hugo rivera wrote: > Hi, > > % n=`{echo 'a           b'} > > sets n to a list containing two elements, 'a' and 'b'. How can I set n > to a single string 'a           b'? note that I must execute external > commands, so the obvious solutio

Re: [9fans] rc strings

2010-03-11 Thread hugo rivera
> cant you just use $"n ? No, because the number of spaces in between is important. But I found a solution % ifs=' ' n=`{echo 'a b'} works fine. Sorry for the noise. -- Hugo

Re: [9fans] rc strings

2010-03-11 Thread roger peppe
what about this? ifs=' ' n=`{echo 'ab'} or ifs='' n=`{echo 'ab'} if you don't mind the newline character being in the string. On 11 March 2010 11:43, hugo rivera wrote: > Hi, > > % n=`{echo 'a           b'} > > sets n to a list containing two elements, 'a' and 'b'. How can I set n > to

Re: [9fans] rc strings

2010-03-11 Thread hugo rivera
Yes, works just as I needed. Thanks. 2010/3/11 roger peppe : > what about this? > ifs=' > ' n=`{echo 'a    b'} > > or > > ifs='' n=`{echo 'a    b'} > > if you don't mind the newline character being in the string. > -- Hugo

[9fans] sdiahci.c driver

2010-03-11 Thread kokamoto
There are two drivers for 9load anfd kernel. In /sys/src/9/pc/sdiahci.c file, there is a wakeup(&d->portm); call just after clearci(d->port); line in checkdrive() function. However, there is no that call in /sys/src/boot/pc/sdiahci.c file. Is this intended ? If so, what it does mean? Kenji

Re: [9fans] sdiahci.c driver

2010-03-11 Thread erik quanstrom
> However, there is no that call in /sys/src/boot/pc/sdiahci.c file. > Is this intended ? > If so, what it does mean? i would say that's likely a bug, and it's not true in my current driver. it's a shame that geoff hasn't picked up the newer stuff. my current versions are /n/sources/contrib/quan

[9fans] sdiahci.c driver

2010-03-11 Thread erik quanstrom
> i would say that's likely a bug, and it's not true in > my current driver. it's a shame that geoff hasn't > picked up the newer stuff. i apologize for the tone of this. i'm frustrated with ahci problems. i think many of them have been fixed, but there are good reasons for the lag. and many a

Re: [9fans] build system: [was: (no subject)]

2010-03-11 Thread EBo
Sorry for disappearing since last Friday -- emergency house repairs. Uggg I feel like I've been beaten by mutant ninja dwarfs armed with... something only semi soft. Uggg. > here's the full list of dynamic libraries used on > a random gentoo box i tried: > ... > libX11.so.6 ... update

Re: [9fans] build system: [was: (no subject)]

2010-03-11 Thread David Leimbach
On Thu, Mar 11, 2010 at 9:14 AM, EBo wrote: > > > > Sorry for disappearing since last Friday -- emergency house repairs. Uggg > I feel like I've been beaten by mutant ninja dwarfs armed with... > something > only semi soft. Uggg. > > > here's the full list of dynamic libraries used on > > a ra

[9fans] glendix/plan9port/plan9 ebuilds [was: build system

2010-03-11 Thread EBo
> Is there any latest news on Glendix at this point? Last I'd heard they had > Plan 9's binaries supported at the kernel in at least some basic way. I've only had a little interaction with the Glendix folks, and know little more than it supposedly supports Plan 9's binaries at the kernel, as you

[9fans] testing please ignore...

2010-03-11 Thread EBo
I just updated my email SPAM filter to get non-digested emails and I do not think I am getting any postings... testing... sorry for the bandwidth. EBo --

[9fans] bug in probably_prime; probably harmless

2010-03-11 Thread Russ Cox
Andrey pointed out a bug in libsec's probably_prime. Essentially, probably_prime uses only a single repetition of the Miller-Rabin test even when nrep > 1. Typically people try to run with nrep = 20 or so. Doing just one test is, at the least, disobeying the intent of the call. (By the way, it's v

[9fans] omap3 notebook

2010-03-11 Thread ron minnich
http://www.alwaysinnovating.com/home/ $400 but it has a long backlog it seems. ron

Re: [9fans] bug in probably_prime; probably harmless

2010-03-11 Thread Anh Hai Trinh
On Fri, Mar 12, 2010 at 9:13 AM, Russ Cox wrote: > > In theory this bug could result in false positives, claiming > a number is prime when in fact it is not.  In practice, > the smallprimetest eliminates obvious mistakes without > any repetitions, and for random inputs of the size we use > in cryp