From: Bart Schaefer <schaefer@brasslantern.com>
To: Sebastian Gniazdowski <psprint@zdharma.org>, zsh-workers@zsh.org
Subject: Re: How to read password (no echo) from builtin?
Date: Thu, 1 Jun 2017 13:31:32 -0700 [thread overview]
Message-ID: <170601133132.ZM1566@torch.brasslantern.com> (raw)
In-Reply-To: <etPan.592ef1c0.7fdcc233.1a9@MacMini>
On May 31, 6:39pm, Sebastian Gniazdowski wrote:
}
} I need to read a password (no echo to terminal) from builtin, provided
} by module. Should I invoke bin_read? I would have to find a way to
} provide Options typedef argument. How to do it? Could also invoke
} vared, but I don't see builtin for it.
bin_vared is in Src/Zle/zle_main.c. However I don't expect that when
reading a password you want to attempt to interpret ZLE widget actions.
Construct a "builtin read -rs" command and call execstring(), perhaps?
next prev parent reply other threads:[~2017-06-01 20:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 16:39 Sebastian Gniazdowski
2017-06-01 20:31 ` Bart Schaefer [this message]
2017-06-02 1:46 ` Sebastian Gniazdowski
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=170601133132.ZM1566@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=psprint@zdharma.org \
--cc=zsh-workers@zsh.org \
/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).