Date: Thu, 4 Aug 2005 11:22:43 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-hackers@freebsd.org, Wouter van Rooij <aentgood@gmail.com> Subject: Re: perl <stdin> Message-ID: <200508041122.50087.doconnor@gsoft.com.au> In-Reply-To: <7603e5d805080317593a046eec@mail.gmail.com> References: <7603e5d805080317593a046eec@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart11949180.DWzjXIB0Op Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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: > #!/usr/bin/perl > print "Your name:"; > $name =3D <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.. =2D-=20 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 --nextPart11949180.DWzjXIB0Op Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC8XTx5ZPcIHs/zowRAm0HAKCpTG8WCalKOAg2ZY94O8ISiHnU0ACgqx8w FVqSmrsXz1DkHxOZSQsSTIQ= =taGw -----END PGP SIGNATURE----- --nextPart11949180.DWzjXIB0Op--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508041122.50087.doconnor>