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 two questions:
>
> 1. Is there _any_ way to take user input (including control sequences
> such as ^C) from Windows, and not have that input echo'd to the
> screen?
>
> 2. Is it possible to do this in a platform-independent manner?
Your going to have trouble doing that with the command-shell, most
definitely. As many others have suggested, you will have to move to
CygWin (or Unix altogether) to use the POSIX based modules.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Never underestimate the bandwidth of a station wagon full of tapes.
-- Dr. Warren Jackson, Director, UTCS