Re: rshd and stdout

2004-01-22 Thread Pierre Bogossian
David Reid wrote: >I'm using rsh to run a command on a remote machine. >But I only get output back from stderr, not from >stdout. Here is my sample program and the output: > > main() { > fprintf(stdout, "stdout\n"); > fprintf(stderr, "stderr\n"); > } > > $ rsh machine1 ./main >

Re: rshd and stdout

2004-01-09 Thread Larry Hall
At 11:53 AM 1/9/2004, David Reid you wrote: >I'm using rsh to run a command on a remote machine. >But I only get output back from stderr, not from >stdout. Here is my sample program and the output: > > main() { > fprintf(stdout, "stdout\n"); > fprintf(stderr, "stderr\n"); > } > >

rshd and stdout

2004-01-09 Thread David Reid
I'm using rsh to run a command on a remote machine. But I only get output back from stderr, not from stdout. Here is my sample program and the output: main() { fprintf(stdout, "stdout\n"); fprintf(stderr, "stderr\n"); } $ rsh machine1 ./main stderr How can I get stdou