Skip Menu |

This queue is for tickets about the TermReadKey CPAN distribution.

Report information
The Basics
Id: 105232
Status: resolved
Priority: 0/
Queue: TermReadKey

People
Owner: Nobody in particular
Requestors: jns [...] gellyfish.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.37



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 > >
From: mageia [...] sander85.eu
Hi! It also happens when cron is running. See this bug report: https://bugs.mageia.org/show_bug.cgi?id=15282#c3 -- Sander JSTOWE kirjutas E 15.juuni 2015 04:47:52 kohta: Show quoted text
> 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:
> > > > > > 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 > > > >
> >
CC: mageia [...] sander85.eu
Subject: Re: [rt.cpan.org #105232] Re: [ Term::ReadKey module ] - Unable to get Terminal Size error
Date: Thu, 25 Jun 2015 15:38:04 +0100
To: bug-TermReadKey [...] rt.cpan.org
From: Jonathan Stowe <jonathan.stowe [...] gmail.com>
Hi, Yes it will do. Similarly under cron as in a web application there is no controlling terminal. It doesn't make sense to use Term::ReadKey in either of those places. The bug is in the software that is using it and not in Term::ReadKey which, as implied by the name, requires there to be a controlling terminal. On Thu, 2015-06-25 at 09:45 -0400, mageia@sander85.eu via RT wrote: Show quoted text
> Queue: TermReadKey > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105232 > > > Hi! > > It also happens when cron is running. > > See this bug report: https://bugs.mageia.org/show_bug.cgi?id=15282#c3 > > -- > Sander > > JSTOWE kirjutas E 15.juuni 2015 04:47:52 kohta:
> > 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:
> > > > > > > > > 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 > > > > > >
> > > >
> > >
fixed in 2.37