> if you are talking to a plan 9 server, stderr already works:

I don'r believe it does in the way I mean. The server-side of cpu opens
/mnt/term/dec/cons for stdout and again for stderr so you cannot run a remote
program, and locally redirect its stdout and stderr (without using a
temporary file in a shared file space for one or t'other as already mentioned.

>From my earlier example

        eqn paper | cpu kremvax -c troff -ms >[2] errfile | cpu -c deepthought 
lp

will not put my troff errors in errfile, though I admit
this is becomming a rather contrived example.

I would like to be able to do:

        rx -l steve host program > prog.out >[2] prog.err

and I cannot.

I thought about using cpu and putting a local filesystem MBEFORE
/dev/cons but it would have to make assumptions about the order
in which the remote cpu server opened /dev/cons (stdout and stderr)
which is a bit wooly for my liking.

Its not a big deal, I just wondered if there was a reason,
and I guess the answer is, no, no big reason, just no one
wanted it enough to do the work.

-Steve

Reply via email to