From: paul.rogers@... (Paul) Date: 2004-10-28T23:59:00+09:00 Subject: Re: Get password Or no echo ruby talk wrote in message news:<25094bf70410271920ca89b14@mail.gmail.com>... > sorry, cant get termios.h to be found on my windows system. Is this > file linux only? > Becker try this for windows: (im sure I got some of this code from this list, so thanks to whoever posted it originaly) require 'Win32API' kbhit = Win32API.new("crtdll", "_kbhit", [], 'L') getch = Win32API.new("crtdll", "_getch", [], 'L') while (1) a = getch.Call if kbhit.Call != 0 if a print '*' a = nil end sleep 0.1 end