doconnor at gsoft.com.au
Thu Aug 4 01:53:07 GMT 2005
On Thursday 04 August 2005 10:29, Wouter van Rooij wrote:
> My question is:
> How can you, when you're writing a perl program, make a input
> (<stdin>) hidden, so that when someone is typing an input in the
> following program is hidden:
> print "Your name:";
> $name = <STDIN>
> I would like to get the input like this: ********
This is a Perl question, not a FreeBSD one..
You might want to look up stty and -echo..
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050804/b1b1b435/attachment.bin
More information about the freebsd-hackers