| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| 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 |
| Message-ID: | <BLU162-w3873806CC4B2C520C5E31F966D0@phx.gbl> |
| From: | Nathan Ridge <zeratul976 AT hotmail DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | windows-to-windows openssh buffering issue |
| Date: | Fri, 17 Jun 2011 02:20:43 +0000 |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id p5H2L353008301 |
Hello,
I am ssh-ing from one windows machine A into another windows machine B,
and I have a problem related to output buffering.
I am using Cygwin's OpenSSH as both the client on A and the server on B.
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.
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.
In my case:
- the program I'm trying to run after ssh-ing into B is a native
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
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.
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?
Thanks,
Nate.
[1] http://cygwin.com/ml/cygwin/2006-12/msg00151.html
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |