Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: cross-platform timeout on user input

by isotope (Deacon)
on Apr 27, 2001 at 21:27 UTC ( [id://76178]=note: print w/replies, xml ) Need Help??


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/

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://76178]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found