|
Posted by Mumia W. (reading news) on October 6, 2006, 2:36 am
Please log in for more thread options
On 10/06/2006 12:41 AM, Peter Billam wrote:
> I have this module Term::Clui to which I've just added some
> "use Term::ReadKey"; so the "stty -echo raw" stuff is probably now
> (at last) portable to windows. The next roadblock would be the
> "open(TTY, '>/dev/tty')" bit. What's the windows-portable equivalent ?
>
> Regards, Peter
>
> (apologies in advance: I ask as someone who hasn't used windows since
> 3.1, and even then not much :-))
>
Perhaps this,
open (TTY, '>', 'CON:') or die "$!";
--
paduille.4058.mumia.w@earthlink.net
Posting Guidelines for comp.lang.perl.misc:
http://www.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
|