public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Mark J. Reed" <markjreed@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Can not see what is being typed and cursor does not move
Date: Sun, 08 Mar 2009 20:37:00 -0000	[thread overview]
Message-ID: <f60fe000903081336y3535b1e2hbe8a7e62af1bb78@mail.gmail.com> (raw)
In-Reply-To: <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/

  reply	other threads:[~2009-03-08 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08 20:10 jose isaias cabrera
2009-03-08 20:37 ` Mark J. Reed [this message]
2009-03-08 20:51   ` jose isaias cabrera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f60fe000903081336y3535b1e2hbe8a7e62af1bb78@mail.gmail.com \
    --to=markjreed@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).