Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 32032
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.0601
Fixed in: (no value)



Subject: Problems while interactively testing Curses::Widgets
If CPAN::Reporter is turned on, then it is not possible to interactively test Curses::Widgets. All curses movements are translated to something like ^[OB^[OA^[OD^[OC. If using CPAN::Reporter is turned off in the same CPAN.pm session using "o conf init /report/" and the test is run again with "force test Curses::Widgets", then everything works as expected. Maybe there's some bad interaction with CaptureOutput and Curses? This was observed on a FreeBSD-6.2 system with perl-5.10.0 Regards, Slaven
Subject: Re: [rt.cpan.org #32032] Problems while interactively testing Curses::Widgets
Date: Tue, 1 Jan 2008 12:27:16 -0500
To: bug-CPAN-Reporter [...] rt.cpan.org
From: "David Golden" <dagolden [...] cpan.org>
On Jan 1, 2008 9:33 AM, Slaven_Rezic via RT <bug-CPAN-Reporter@rt.cpan.org> wrote: Show quoted text
> If CPAN::Reporter is turned on, then it is not possible to interactively > test Curses::Widgets. All curses movements are translated to something > like ^[OB^[OA^[OD^[OC. If using CPAN::Reporter is turned off in the same > CPAN.pm session using "o conf init /report/" and the test is run again > with "force test Curses::Widgets", then everything works as expected. > Maybe there's some bad interaction with CaptureOutput and Curses?
CPAN::Reporter only uses IO::CaptureOutput for its tests. Normal operation, however, uses Tee to capture output while still showing results to the console. I think this is a bug in Curses::Widgets tests -- it should check to see if it's writing to an interactive console, not a pipe. David