kbforme has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am using Active Perl Windows. I could not find exact steps to install Tty module using ppm commands.. Could you please let me know the steps how to use these commands? Where should the module extract IO-Tty-1.02 folder be placed to run ppm commands for installing Tty module? What do we refer here as a package - the extracted folder or the zipped file?? Thanks.

Replies are listed 'Best First'.
Re: Installing Tty Module
by jdtoronto (Prior) on Jun 02, 2006 at 05:18 UTC
    IO-TTY is not available in a PPM distribution. It is not directly compatible with Active-State Perl on Windows, it will, however, work with Cygwin installed. You should read the documentation for the module.

    As a matter of interest, here is the response for a search of the basic PPM repositories for TTY:

    PPM - Programmer's Package Manager version 3.4. Copyright (c) 2001 ActiveState Software Inc. All Rights Reserved. Entering interactive shell. Using Term::ReadLine::Perl as readline lib +rary. Type 'help' to get started. ppm> s tty Searching in Active Repositories 1. Apache-PrettyPerl [2.10] Apache-PrettyPerl 2. Apache-PrettyText [1.08] Apache-PrettyText 3. Email-MIME-ContentType [1.01] Email-MIME-ContentType 4. HTML-PrettyPrint [1] HTML-PrettyPrint 5. HTML-PrettyPrinter [0.03] HTML-PrettyPrinter 6. IO-Stty [02] IO-Stty 7. Modem-Vgetty [0.03] Modem-Vgetty 8. WWW-Gazetteer-Getty [0.10] WWW-Gazetteer-Getty ppm>
    jdtoronto
Re: Installing Tty Module
by gellyfish (Monsignor) on Jun 02, 2006 at 09:34 UTC

    The module IO::Tty will not work on Windows. As the README says:

    Sorry, ActiveState Perl on Windows is not supported, basically because there are no pseudo-terminals under Windows.

    As has been pointed out you may be able to get this to work with Cygwin.

    /J\