delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/08/13:05:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.7 required=5.0 tests=AWL,BAYES_20,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_NEUTRAL,URI_HEX
X-Spam-Check-By: sourceware.org
Date: Mon, 8 Oct 2012 10:05:34 -0700 (PDT)
From: ldhybl <ldhybl AT gmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <1349715934672-93343.post@n5.nabble.com>
Subject: Cygwin utilities don't echo last input character in ssh session
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

I have a Cygwin expect script that prompts for username and password.  It
works fine when I am on the local Cygwin system, but not when I ssh into the
same system.  In the ssh session, if the user enters "abcd" for username,
only "abc" is echoed.  The full username is actually entered, but it is
confusing to the ssh user to only see the partial echo of what they typed.

The same occurs in a simple Cygwin bash shell script that does a echo/read
to prompt for and receive a username.  It works fine locally, but does not
echo the most recent input character when invoked via ssh login to the same
system.

Thanks in advance for any suggestions.



--
View this message in context: http://cygwin.1069669.n5.nabble.com/Cygwin-utilities-don-t-echo-last-input-character-in-ssh-session-tp93343.html
Sent from the Cygwin list mailing list archive at Nabble.com.

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