in reply to Editing STDIN

A classic example of an XY Problem. Your real need is to obscure a password being entered, but you ask a different question, thinking that's the only or best way to approach it.

That being said, I think the question you asked is an intriguing one.

We're building the house of the future together.