From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 29 Jan 2011 12:31:14 -0800 Message-ID: From: Akshat Kumar To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] PUSH sources for Plan 9 Topicbox-Message-UUID: a3d2b900-ead6-11e9-9d60-3106f5b1d025 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 ... and subsequently checking /fd to make sure the corresp. file descriptors are there. And the '-r' flag even tells me: ... Xsimple (../fdcat ) (13 9 5 ) ... Xsimple (echo ) (14 10 6 ) ... and yet, my IRF and ORF programs don't receive any arguments - the argv list is empty for both. Any ideas why this could be? Thanks, ak On Thu, Jan 27, 2011 at 2:30 AM, Noah Evans wrote: > 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 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 the test/ dir first... >> >> >> Thanks! >> ak >> >> On Wed, Jan 26, 2011 at 7:22 PM, Eric Van Hensbergen = wrote: >>> 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 wr= ote: >>>>> http://code.google.com/p/push/ >>>>> >>>>> >>>> >>>> >>> >>> https://bitbucket.org/ericvh/hare/src/3b24a40eb3d1/sys/src/cmd/push/ >>> >>> may be partial, development is ongoing - bug noah. >>> >>> =A0 =A0 =A0 -eric >>> >>> >> >> > >