Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sftp with internal completion anybody?
- X-seq: zsh-workers 21749
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: sftp with internal completion anybody?
- Date: Thu, 22 Sep 2005 08:25:56 +0000
- In-reply-to: <20050922063249.GA24670@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20050921222127.GA17216@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <200509220650.17085.arvidjaar@xxxxxxxxxx> <20050922063249.GA24670@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author