in reply to cross-platform timeout on user input
May I suggest turning off echo before prompting for the password? This makes life much better when using things like Expect, which will type the password immediately after the prompt, possibly before you disable echo.print "\n", " Prompting for password\n", " (*not* echoed to screen nor written to disk)\n\n", ' Enter password:'; ReadMode('noecho');
|
|---|