delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/09/12:32:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Cygwin utilities don't echo last input character in ssh session
Date: Tue, 9 Oct 2012 16:32:03 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A70023C8D@USA7109MB022.na.xerox.net>
References: <1349789921485-93387 DOT post AT n5 DOT nabble DOT com>
In-Reply-To: <1349789921485-93387.post@n5.nabble.com>
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 q99GWR5p008867

-----Original Message-----
From: ldhybl 

Additional information:  The ssh server where the Cygwin utilities are
invoked is a Windows XP system and the command interpreter is a CMD batch
shell, not a Cygwin or other Linux/UNIX shell.  Not sure why this would make
Expect or Bash fail to echo the most recent character typed on STDIN, but
that is the case.
-----END Original Message-----

FWIW, I see a similar situation, but without ssh in the mix. Cygwin 
expect, running on Windows XP is providing username and password to 
a WinCE telnet process. The login works, however, the display, very
consistently, shows the username, "root", broken:

$ telnet_XXX.exp
spawn telnet XXX
Trying 192.168.1.1...
Connected to XXX.
Escape character is '^]'.

Welcome to the Windows CE Telnet Service on XXX

login: r
oot
Password:


Pocket CMD v 5.0
\>

--Ken Nellis

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


- Raw text -


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