delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/09/02:11:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <3956.217.162.71.141.1092031898.squirrel@217.162.71.141>
In-Reply-To: <Pine.GSO.4.58.0408081141201.4727@slinky.cs.nyu.edu>
References: <1614 DOT 217 DOT 162 DOT 71 DOT 141 DOT 1091552632 DOT squirrel AT 217 DOT 162 DOT 71 DOT 141> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040803172459 DOT 0338a528 AT pop DOT prospeed DOT net> <3552 DOT 217 DOT 162 DOT 71 DOT 141 DOT 1091799815 DOT squirrel AT 217 DOT 162 DOT 71 DOT 141> <Pine DOT GSO DOT 4 DOT 58 DOT 0408081141201 DOT 4727 AT slinky DOT cs DOT nyu DOT edu>
Date: Mon, 9 Aug 2004 08:11:38 +0200 (CEST)
Subject: Re: Redirect stdout from SSH
From: "David E. Meier" <dev AT eth0 DOT ch>
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.3a
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new at inetworx.ch
X-IsSubscribed: yes

Thank you Igor for your helpful explanation. The '-n' flag does the trick,
too. And looking at the man pages now just makes me wonder why I did not
RTFM well enough before! ;-)

Dave.

>
> By default, ssh is an interactive program, even if the program it invokes
> isn't.  Therefore, ssh contains some code that sets up standard input and
> its properties.  This code may cause some problems when invoked from a
> non-pty-aware application (such as a C# program).  You can redirect
> standard input, as you've already discovered, or simply use the '-n'
> option to ssh.
> 	Igor
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Happiness lies in being privileged to work hard for long hours in doing
> whatever you think is worth doing."  -- Dr. Jubal Harshaw
>
>



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019