Re: [9fans] PUSH sources for Plan 9

2011-01-29 Thread Noah Evans
Hey Akshat, I received your previous message, I just haven't had time to answer it. The reason that is failing is because the arguments are one stack frame above the commands being executed. The value should be: Xsimple (echo 14 10 6 ) I promise I'm not ignoring you. Noah On Sat, Jan 29,

Re: [9fans] PUSH sources for Plan 9

2011-01-29 Thread Akshat Kumar
Hi Noah, I pinged you offline. Not sure if you got my messages. It seems that your fan-in operator creates the pipes, then they're passed along to the ORF and IRF through argv (via the fan-out and fan-in respectively). I've checked that indeed the pipes are being created, by running push -r ... a

Re: [9fans] PUSH sources for Plan 9

2011-01-27 Thread Noah Evans
You need filters and the filters need to be set up by default in rcmain. Anthony is on top of things as usual :) It would be nice to have other users and if you are interested in exercising it ping me offlist. Noah On Thu, Jan 27, 2011 at 10:08 AM, Akshat Kumar wrote: > Is "broken!" the defaul

Re: [9fans] PUSH sources for Plan 9

2011-01-27 Thread Anthony Sorace
I've not looked closely at push, but I assume it uses the same /rc/lib/rcmain as, well, rc. See that file for the trick: it sets the prompt to that if your running a $O.out, so you know. anth

Re: [9fans] PUSH sources for Plan 9

2011-01-27 Thread Akshat Kumar
Is "broken!" the default prompt, or am I seeing some error here? A primitive grep of the source files didn't reveal any instance of that string, so I wonder... Also because: broken! echo hello |< cat >| cat rc (push): empty argument list rc (push): empty argument list term% Perhaps I should try t

Re: [9fans] PUSH sources for Plan 9

2011-01-26 Thread Eric Van Hensbergen
On Wed, Jan 26, 2011 at 8:52 PM, Akshat Kumar wrote: > Yes, I've seen this. This is the port to Plan 9 Ports. > I would like the code for Plan 9. I imagine reproducing > will make things uglier than the original. > > On Wed, Jan 26, 2011 at 5:48 PM, Jacob Todd wrote: >> http://code.google.com/p/p

Re: [9fans] PUSH sources for Plan 9

2011-01-26 Thread Akshat Kumar
Yes, I've seen this. This is the port to Plan 9 Ports. I would like the code for Plan 9. I imagine reproducing will make things uglier than the original. On Wed, Jan 26, 2011 at 5:48 PM, Jacob Todd wrote: > http://code.google.com/p/push/ > >

Re: [9fans] PUSH sources for Plan 9

2011-01-26 Thread Jacob Todd
http://code.google.com/p/push/

[9fans] PUSH sources for Plan 9

2011-01-26 Thread Akshat Kumar
Are the sources for the PUSH shell available for Plan 9 proper? It seems as though it was originally conceived on Plan 9, then ported to UNIX-compat systems via P9P. I couldn't find the Plan 9 sources on the Google Code repo. It would be nice to just be able to compile and go. Thanks, ak