Re: Terminal control on Windows NT

2001-06-21 Thread Brett W. McCoy
On Thu, 21 Jun 2001, Nigel Wetters wrote: > use POSIX qw(:termios_h); > $term = POSIX::Termios->new; > $term->getattr(fileno(STDIN)); > # do some terminal manipulation here > > However, I get the error message on Windows NT: > > POSIX::termios not implemented on this architecure > > I have tw

RE: Terminal control on Windows NT

2001-06-21 Thread John Edwards
use Term::ReadKey; print "Please enter password: "; ReadMode('noecho'); $password = ReadLine(0); ReadMode('restore'); chomp ($password); print "\n"; print "$password\n"; -Original Message- From: Nigel Wetters [mailto:[EMAIL PROTECTED]] Sent: 21 June 2001 16:16 To: [EMAIL PROTECTED] Subj