Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20040109165337.95809.qmail@web60210.mail.yahoo.com> Date: Fri, 9 Jan 2004 08:53:37 -0800 (PST) From: David Reid Subject: rshd and stdout To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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 stdout back to the rsh client? Note: cygwin rshd is running on a windows box, rsh can be on windows or linux, the result is the same. It works as I would expect when using the linux rshd on a linux box (it prints stdout and stderr) -David __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/