in reply to cross-platform timeout on user input

Just a quick suggestion re the following code:
print "\n", " Prompting for password\n", " (*not* echoed to screen nor written to disk)\n\n", ' Enter password:'; ReadMode('noecho');
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.

--isotope
http://www.skylab.org/~isotope/