delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/08/15:37:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <A5E01946901F4BEF9657DD029DBFFBE3@stso.mc.xerox.com>
References: <A5E01946901F4BEF9657DD029DBFFBE3 AT stso DOT mc DOT xerox DOT com>
Date: Sun, 8 Mar 2009 16:36:51 -0400
Message-ID: <f60fe000903081336y3535b1e2hbe8a7e62af1bb78@mail.gmail.com>
Subject: Re: Can not see what is being typed and cursor does not move
From: "Mark J. Reed" <markjreed AT gmail DOT com>
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 Sun, Mar 8, 2009 at 4:10 PM, jose isaias cabrera wrote:
> jic 15:58:01-> rsync -ru --exclude '*~' jicman AT camello:*.txt ./
> Password:
> jic 16:02:44->
>
> the cursor does not move and anything typed does not get displayed in the
> DOS Cygwin bash terminal. =C2=A0However, whatever I type it is being pass=
ed to
> the DOS bash because if I hit enter, the command gets executed.
>
> Any idea what is going on?

Yes, though not why.

The rsync command is setting up the terminal so that the password
doesn't show up when you type it, and for some reason failing to reset
it to normal afterwards.

So, first, the problem will only affect that one window; if you start
a new Cygwin session, it will behave normally.  Reinstalling Cygwin
was a bit of an overreaction. :)

Second, you should be able to restore the terminal you're in If you
type "stty echo" and hit Enter.

This is the second recent post about a password-prompting program on
Cygwin not restoring echo; is there perhaps a bug in the latest
version of ncurses or whatever it's using?


--=20
Mark J. Reed <markjreed AT gmail DOT com>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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