This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can not see what is being typed and cursor does not move


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]