On Tue, Mar 09, 2010 at 01:28:38AM -0500, Apocalypse via RT wrote:
Show quoted text> Tue Mar 09 01:28:36 2010: Request 55365 was acted upon.
> Transaction: Ticket created by APOCAL
> Queue: POE
> Subject: POE::Wheel::ReadLine + Cygwin + $ENV{TERM}='dumb' == FAIL
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: APOCAL@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=55365 >
>
>
> Hello,
>
> I was tracking down an unrelated test failure on Cygwin when I
> encountered this error.
>
> Cygwin v1.7.1-1 on Windows Server 2008 64bit with Perl v5.10.1 with
> Term::Cap v1.12 with POE v1.287
>
> The Cygwin install resulted in $ENV{TERM}='dumb' and it caused a lot of
> headaches for me when I was tracking this down. Since I'm lazy I'll be
> pasting the output of the #poe IRC channel I was ranting on when
> tracking this down :)
Really the TERM setting should be 'cygwin'. It usually is if you just have
Cygwin installed.
If you also install Strawberry perl it sets TERM to 'dumb' in the Windows
environment. This 'leaks' through to the Cygwin environment.
I usually counter this by altering the cygwin.bat wrapper script to
explicitly set TERM to 'cygwin'.
Cheers,
--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================