CC: | "bug-TermReadKey [...] rt.cpan.org" <bug-TermReadKey [...] rt.cpan.org> |
Subject: | Re: [ Term::ReadKey module ] - Unable to get Terminal Size error |
Date: | Mon, 15 Jun 2015 09:47:28 +0100 |
To: | Marco Scano <scagno83 [...] gmail.com> |
From: | Jonathan Stowe <jns [...] gellyfish.co.uk> |
Hi,
It appears from the quoted message that you are trying to use
Term::Readkey as part of a web application. This almost certainly will
not work as there is no controlling terminal, and doesn't make sense as
there is no possible way for a user to interact with the "terminal" on
the server via HTTP.
If you are trying to automate some external program you may want to
consider Expect or similar.
On Sun, 2015-06-14 at 08:38 +0200, Marco Scano wrote:
Show quoted text
>
>
> Dear Jonathan,
>
>
> I installed the 2.33 release and I get the below error when I run the
> script
>
> [error] [client 172.16.129.133] Unable to get Terminal Size. The
> TIOCGWINSZ ioctl didn't work. The COLUMNS and LINES environment
> variables didn't work. The resize program didn't work. The stty
> program didn't work. at /usr/local/lib/perl5/Term/ReadKey.pm line
> 451., referer: http://test4.services/sawt/cgi/select_MKR.cgi
>
>
> Do you have any suggestions?
>
>
>
> Marco
>
>
>
> --
> Marco Scano
> Skype: marco.scano83
>
>