From: "Marcel Molina Jr." Date: 2005-06-10T04:15:57+09:00 Subject: Re: How to take password from user On Fri, Jun 10, 2005 at 01:19:45AM +0900, sujeet kumar wrote: > I have to take some password from user in a Ruby Program. I want > that when he type password an echo character like * prints on screen > and the program gets the password as string. I am using Ruby function > "gets" to get password. I don't want password to be seen by others. > Suggest me some way. Aside from the Highline approach already mentioned there is a password library in Ruby: http://www.caliban.org/ruby/ruby-password.shtml marcel -- Marcel Molina Jr.