This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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
- Date: Sun, 8 Mar 2009 16:36:51 -0400
- Subject: Re: Can not see what is being typed and cursor does not move
- References: <A5E01946901F4BEF9657DD029DBFFBE3@stso.mc.xerox.com>
On Sun, Mar 8, 2009 at 4:10 PM, jose isaias cabrera wrote:
> jic 15:58:01-> rsync -ru --exclude '*~' jicman@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. ÂHowever, whatever I type it is being passed 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?
--
Mark J. Reed <markjreed@gmail.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/