The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
[Perl] Silent Input
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
[Perl] Silent Input
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
11-20-2007
LivinFree
Goober Extraordinaire
Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
I've done this with shell scripts using something like:
Code:
stty -echo printf "Password: " read pass stty echo
Looking at an strace of that, it looks like you could skip running stty and issue the ioctl yourself, but that heads out beyond my knowledge...
LivinFree
View Public Profile
Find all posts by LivinFree
Find LivinFree's past nominations received
Find LivinFree's present nominations given