zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: sftp with internal completion anybody?
Date: Thu, 22 Sep 2005 08:25:56 +0000	[thread overview]
Message-ID: <1050922082556.ZM11483@candle.brasslantern.com> (raw)
In-Reply-To: <20050922063249.GA24670@finlandia.infodrom.north.de>

On Sep 22,  8:32am, Matthias Kopfermann wrote:
} Subject: Re: sftp with internal completion anybody?
}
} On Thu, Sep 22, 2005 at 06:50:16AM +0400, Andrey Borzenkov:
} > 
} > I wonder if it is possible to handle password request?
} 
} I came to ask that myself.

Under the doc for the "read" builtin in 4.2.x and later:

    -s
          Don't echo back characters if reading from the terminal.
          Currently does not work with the -q option.

So, it should be possible to recognize a "[Pp]assword:" prompt and
call "read -s", perhaps even "read -se | zpty -w" so you don't
need to store the password in a variable even temporarily.


      reply	other threads:[~2005-09-22  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21 22:21 Matthias Kopfermann
2005-09-22  2:50 ` Andrey Borzenkov
2005-09-22  6:32   ` Matthias Kopfermann
2005-09-22  8:25     ` Bart Schaefer [this message]

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=1050922082556.ZM11483@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).