Re: [9fans] rc's shortcomings (new subject line)

2012-08-29 Thread dexen deVries
On Tuesday 28 of August 2012 16:34:10 erik quanstrom wrote: > my knee-jerk reaction to my own question is that making it easier > and more natural to parallelize dataflow. a pipeline is just a really > low-level way to talk about it. the standard > grep x *.[ch] > forces all the *.[ch] to b

Re: [9fans] rc's shortcomings (new subject line)

2012-08-29 Thread dexen deVries
On Wednesday 29 of August 2012 09:06:35 arisawa wrote: > Hello, > > On 2012/08/29, at 4:34, dexen deVries wrote: > > now i see i can do: > > > > x=1 y=2 z=3 > > > > ...and only `z' retains its new value in the external scope, while `x' and > > `y' are limited in scope. > > No. > > ar% a=1 b=2

Re: [9fans] rc's shortcomings (new subject line)

2012-08-29 Thread Dan Cross
On Wed, Aug 29, 2012 at 2:04 AM, erik quanstrom wrote: >> > the haahr/rakitzis es' if makes more sense, even if it's wierder.) >> >> Agreed; es would be an interesting starting point for a new shell. > > es is great input. there are really cool ideas there, but it does > seem like a lesson learne

Re: [9fans] SOEKRIS

2012-08-29 Thread Frederic Bonfanti
THX After porting it to Inferno, ethervt1605m.c works as expected on net5501 Nevertheless, I have doubts that DP83816AVNG of net4501 is properly supported by Plan 9 driver; modern 9load crashes (MAP VA PA issue) at early stage whilst ported ether83815.c with Soekris support doesn't show better

Re: [9fans] rc vs sh

2012-08-29 Thread Balwinder S Dheeman
On 08/28/2012 03:22 PM, dexen deVries wrote: On Tuesday 28 of August 2012 10:57:06 Rudolf Sykora wrote: Hello, I am just curious... Here http://9fans.net/archive/2007/11/120 Russ Cox writes he uses bash as his default shell. Does anybody know the reason? Is this for practicality within the lin

Re: [9fans] finally success with pentium d dualcore D945PLrn board

2012-08-29 Thread erik quanstrom
> would need to reboot it to get mp table dump or the > effective pci interrupt routing. :-( well, if you get a chance. that would be great. - erik

Re: [9fans] rc's shortcomings (new subject line)

2012-08-29 Thread erik quanstrom
> > rc already has non-linear pipelines. but they're not very convienient. > > And somewhat limited. There's no real concept of 'fanout' of output, > for instance (though that's a fairly trivial command, so probably > doesn't count), or multiplexing input from various sources that would > be nee

Re: [9fans] rc's shortcomings (new subject line)

2012-08-29 Thread Charles Forsyth
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.78.5331 Paul Haeberli, ConMan: A Visual Programming Language for Interactive Graphics (1988) I supervised a student who did an implementation for a Blit-like environment on the Sun3 as a project; unfortunately I didn't keep a copy. I remember

Re: [9fans] rc vs sh

2012-08-29 Thread Charles Forsyth
Changing my default shell from bash to rc caused even terminal windows (let alone 9term ones) to appear almost instantly on Ubuntu (9term windows appear instantly on the click). We slowly standardise on slow standards, with degradation everywhere.

Re: [9fans] rc vs sh

2012-08-29 Thread hiro
For compatibility I use ash in xterm and rc in 9term ;)

Re: [9fans] rc vs sh

2012-08-29 Thread Charles Forsyth
I have an rc script, allowing u ./configure, u make, u man, ... % cat bin/u #!/bin/rc SHELL=/bin/sh path=(/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/bin/X11 /usr/games) MANPAGER=/bin/cat exec $* On 29 August 2012 16:22, hiro <23h...@gmail.com> wrote: > For compatibility I

Re: [9fans] dns poisoning

2012-08-29 Thread cinap_lenrek
you are right! baddelegation() is checking for that, but it was not effective because it bailed out before even entering that for loop because of: if(t == nil) t = lookupinfo("dom"); if(t == nil) return 0; <- delegation loop will not be checke

Re: [9fans] dns poisoning

2012-08-29 Thread Devon H. O'Dell
Nice catch! 2012/8/29 : > you are right! > > baddelegation() is checking for that, but it was not effective because it > bailed out before even entering that for loop because of: > > if(t == nil) > t = lookupinfo("dom"); > if(t == nil) > return 0;

Re: [9fans] dns poisoning

2012-08-29 Thread erik quanstrom
> dblookup.c:816,821 - /sys/src/cmd/ndb/dblookup.c:814,822 > return 1; > } > > + if(t == nil) > + continue; > + > /* see if delegating to us what we don't own */ > for(nt = t; nt != nil; nt = nt->ent

[9fans] dmi dumper

2012-08-29 Thread erik quanstrom
i wrote a little dmi dump program that may be of interest, or at least curiosity. contrib quanstro/dmi. for example, ... ; aux/dmi -t 1 1: type sysinfo 1 len 27 handle 1 mfg ECS product IC890GXM-A version 1.0 serial

Re: [9fans] rc vs sh

2012-08-29 Thread Lucio De Re
> The minimal being a subset of POSIX.2 for the tools, Maybe I'm pushing too hard here, but even Posix isn't followed by all implementations of /bin/sh (no, I'm not sure, but there is no proof possible, as the future is also a factor). Thing is, Bash is well-defined, by a single implementation.