delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_RX |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <CAHWeT-aYNZAfwoQuFQTG7UAkkNcoB4SyM5FGBU32N27YGDfB0g@mail.gmail.com> |
References: | <loom DOT 20120829T185020-864 AT post DOT gmane DOT org> <503E592D DOT 6030408 AT cygwin DOT com> <CAHWeT-aYNZAfwoQuFQTG7UAkkNcoB4SyM5FGBU32N27YGDfB0g AT mail DOT gmail DOT com> |
Date: | Wed, 29 Aug 2012 14:48:00 -0400 |
Message-ID: | <CA+sc5mmjsp_JDHUhQWYdXzBakPhw_dR5_Rtij3sP3y4cNwJkmw@mail.gmail.com> |
Subject: | Re: Password prompts for remote system echoing and not attaching |
From: | Earnie Boyd <earnie AT users DOT sourceforge DOT net> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Wed, Aug 29, 2012 at 2:37 PM, Andy Koppe wrote: > On 29 August 2012 19:02, Larry Hall (Cygwin) wrote: >> On 8/29/2012 12:58 PM, Mike Casile wrote: >>> >>> New install of latest cygwin (CYGWIN_NT-6.1-WOW64 1.7.16(0.262/5/3) >>> 2012-07-20 >>> 22:55) on a new Windows 7 system. When I do ftp <host> it prompts for >>> uid, then >>> prompts for pw (normal). Problem is, password echoes on the screen ... >>> and then >>> it hangs and connection is never made. If I do ftp -s:<script> <host> ... >>> and >>> the script starts with uid/pw ... it all runs fine. Same with pscp. With >>> putty, >>> no problem because putty gets control and prompts for uid/pw itself. I am >>> thinking this is a config fat-finger on my part ... but I am out of my >>> depth. >> >> >> You have two alternatives here: >> >> 1. Install the inetutils package so you're using the Cygwin FTP client >> (or pick an alternative Cygwin package offering your favorite FTP >> client). >> >> 2. Continue to use the Windows FTP client but only do so from a shell >> prompt started from cmd.exe (i.e. no Mintty, xterm, etc). > > Again: cmd.exe and console windows are different things. Invoking > bash.exe (or tcsh.exe, or zsh.exe, or ...) directly from an Explorer > shortcut or the Run dialog or whatever will work just fine, with > Windows automatically creating a console window for it. No cmd.exe > needed there. Right, the issue is the PTY emulation issue that no one can do anything about. The Cygwin dependent terminal programs like mintty and rxvt cause the issue because of the buffering used in the pipes opened to native program. The native programs do not flush properly the I/O and thus you get garbage. So therefore a native terminal (a.k.a. console window) works because the buffering doesn't occur. -- Earnie -- https://sites.google.com/site/earnieboyd -- 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 |