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 Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040928095649.03f47160@pop.prospeed.net> X-Sender: Date: Tue, 28 Sep 2004 10:00:28 -0400 To: Christophe DOT Delarue AT reuters DOT com, Cygwin List From: Larry Hall Subject: Re: Stdout of other shell than cygwin's through xinetd In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Please, one copy of each report is enough. At 05:57 AM 9/28/2004, you wrote: >I've installed xinetd cygwin, in c:/cygwin/root, and execute it with /usr/sbin/xinetd -d to see the log on the screen >If I use the cygwin tools, I've got result on the command I use : > >chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> rsh ptxw09112 "/cygdrive/c/cygwin/root/bin/sh -c pwd" >/cygdrive/u >chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> > >But If I use other tools like mingw : > >chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> rsh ptxw09112 "/cygdrive/c/msys/1.0/bin/sh -c pwd" >chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> > >No echo/result of pwd appears. > >If I try with rlogin : >chrdelar AT ptxw09247:?:FA_26 /home/chrdelar> rlogin ptxw09112 >chrdelar AT ptxw09112 ~ >$ /cygdrive/c/msys/1.0/bin/sh.exe -c "pwd" >/u >$ > >I've got the result > >Why did I not get my pwd answer on the rsh example ? >How to connect the stdout of msys (on other sh like tools) to stdout of rsh ? >Is this the same pb as getting the output of a cmd.exe prog, where I've read nothing is possible to get the output ? Yep. >Any workaround ? If you have 'tty' in your Cygwin environment variable, remove it and try again. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/