Hi,
I am running ruby and MySQL on a Windows box.
I have some Ruby code that needs to connect to a MySQL database a perform a select. To connect to the database I need to provide the password (amongst other things). My question is this: How can I get ruby to display the types password as a line of asterisks in the 'dos box'.
In other words, the ruby code can display a prompt requesting the password, the user types in the password and hits the enter key. What I need is for the password, as it is typed, to be displayed as a line of asterisks.
Many thanks.