How do I hide user input such as passwords?

Hi all

I would like to know how to have user input via console appear either as asterix thus ******** or not at all(similar to entering passwords in a terminal in Linux.

Any help appreciated.
Cheers
Mark
Last edited on
Thanks for that ;)
Topic archived. No new replies allowed.