delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
X-Yahoo-SMTP: | Uu383n6swBCEN1G9up0WSnxbvN8fCPmk |
Message-ID: | <4DFD6D80.5040805@cygwin.com> |
Date: | Sat, 18 Jun 2011 23:31:12 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.10 ThunderBrowse/3.3.5 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: windows-to-windows openssh buffering issue |
References: | <BLU162-w3873806CC4B2C520C5E31F966D0 AT phx DOT gbl> <BLU162-w579DCFE43332BCBA171051966C0 AT phx DOT gbl> |
In-Reply-To: | <BLU162-w579DCFE43332BCBA171051966C0@phx.gbl> |
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 |
On 6/18/2011 5:25 AM, Nathan Ridge wrote: > > On Fri, 17 Jun 2011 11:52:35, Larry Hall wrote: > >> On 6/16/2011 10:20 PM, Nathan Ridge wrote: >> >>> 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? >> >> No. OpenSSH uses ptys - it doesn't matter what terminal or console you're >> using. I don't know of a way to make OpenSSH behave the way you want it to >> with Windows console programs. > > Is this issue particular to OpenSSH, or is ssh-ing into to a windows machine > a lost cause in general? Since non-Cygwin executables don't understand ptys, they think they are dealing with a pipe and so they buffer their output. It's not specific to OpenSSH. You'd see the same issue running these programs under xterm or mintty. I personally wouldn't define anything about this particular issue as a "lost cause" but YMMV. Quite some time ago there was an attempt to smooth out this issue with a utility call ttyfier but it had it's issues and has pretty much disappeared. I don't know of any other aids out there, though that doesn't mean there isn't something . The only things I can suggest are that you make sure there's not some Cygwin utility that does what you want or that you write something that does. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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 |