Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Win32::Console::ANSI Not Working in Windows Vista

by jand (Friar)
on Feb 18, 2009 at 07:55 UTC ( #744680=note: print w/replies, xml ) Need Help??


in reply to Win32::Console::ANSI Not Working in Windows Vista

I haven't looked closely, but I suspect this is due to the way Win32::Console::ANSI is implemented:

It installs a hook into kernel32.dll for the WriteFile() API and intercepts any bytes written to a console handle to check for ANSI escape sequences. It seems plausible that this heavy-handed method run afoul of improved security mechanisms in Vista.

You should file a bug report so that the module author can investigate if there is a fix or workaround for this problem.

  • Comment on Re: Win32::Console::ANSI Not Working in Windows Vista

Replies are listed 'Best First'.
Re^2: Win32::Console::ANSI Not Working in Windows Vista
by syphilis (Bishop) on Feb 18, 2009 at 08:10 UTC
    It seems plausible that this heavy-handed method run afoul of improved security mechanisms in Vista.

    Yes, that seems plausible. However, I've just built the module (version 1.01) from source on Vista SP1 without any problems. All of the tests ran fine. I used build 1004 of ActivePerl and dmake/MinGW.

    The fact that I'm using SP1 might be significant (unless the op has also installed SP1).

    Cheers,
    Rob
      Yes, I'm also using SP1. I may have to build the module from source as you have done if the alternate repository suggested by Anon does not work out.

      Thanks,
      Roy

      "Its not how hard you work, its how much you get done."

      I've just built the module (version 1.01) from source on Vista SP1 without any problems

      Well ... I *thought* the terminal I was using was connected to a Vista SP1 box, but it was in fact connected to an XP box.

      It turns out I *can't* build Win32-Console-Ansi-1.01 on Vista SP1. I get the same error as reported by the op.

      I'll notify both roho and jand (via /msg) of my embarrassing mistake, and then submit a bug report about this to rt.cpan (unless the bug has already been reported).

      Cheers,
      Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://744680]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-04-09 23:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (49 votes). Check out past polls.

    Notices?