From: Tim Hunter Date: 2009-04-10T06:09:38+09:00 Subject: Re: Hide "gets" method output, for passwords.. Brian Wallace wrote: > HI All, > > I'm trying to find a platform independent way of hiding the STDOUT when a > password is being entered via the gets method... > I was able to hide all output in Linux by using Termios , but as you know > this doesn't work on Windows.. > > What would be nice , is a simple implementation of asterisks replacing the > actual characters displayed to STDOUT ... > > Does anyone know if this is possible in Ruby? > > Thanks, > > draygen > I think Highline will do this: http://highline.rubyforge.org -- RMagick: http://rmagick.rubyforge.org/