From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22074 invoked by alias); 17 Jun 2011 02:20:59 -0000 Received: (qmail 22066 invoked by uid 22791); 17 Jun 2011 02:20:58 -0000 X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,TW_RX,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from blu0-omc1-s34.blu0.hotmail.com (HELO blu0-omc1-s34.blu0.hotmail.com) (65.55.116.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Jun 2011 02:20:44 +0000 Received: from BLU162-W38 ([65.55.116.8]) by blu0-omc1-s34.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 16 Jun 2011 19:20:43 -0700 Message-ID: From: Nathan Ridge To: Subject: windows-to-windows openssh buffering issue Date: Fri, 17 Jun 2011 02:20:00 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-06/txt/msg00190.txt.bz2 Hello, I am ssh-ing from one windows machine A into another windows machine B, and I have a problem related to output buffering. =20 I am using Cygwin's OpenSSH as both the client on A and the server on B. =20 The problem is that the output of the program I'm running is being fully buffered, i.e. the output shows up in large chunks and often much later than it should. =20 I have searched the mailing list archives, and I found a post ([1]) explaining that there are two ways of running cygwin - in a native windows console, or in a "pty" like rxvt - and that native Windows programs experience this buffering problem when run in pty mode. =20 In my case: - the program I'm trying to run after ssh-ing into B is a native=20 windows program (and I can't recompile it to change the buffering behaviour or anything) - the Cygwin terminal I use to ssh from on machine A is a native windows console, NOT rxvt - nonetheless, I experience the buffering problem =20 Note that when I run the program on machine A, the buffering is fine. Only when I ssh into machine B, is the buffering messed up. It seems the program on machine B is somehow running in "pty" mode, even though I am ssh-ing from a native windows console on machine A. =20 Is there some setting for OpenSSH on the server side that would allow me to run the program on machine B in native-windows non-pty mode so that the buffering is fine? If not, what else can I do? =20 Thanks, Nate. =20 [1] http://cygwin.com/ml/cygwin/2006-12/msg00151.html=20=09=09=20=09=20=20= =20=09=09=20=20 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple