Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: curses on win32

by primus (Scribe)
on Jul 23, 2003 at 17:12 UTC ( [id://277258]=note: print w/replies, xml ) Need Help??


in reply to Re: curses on win32
in thread curses on win32

i tried the website, and i think it worked, loading the ansi.sys, but when i ran the ppd file from the prompt, i got the same garbles symbols and beeps.
i dont know if something is wrong with the ppd or what...
thanks for the help

Replies are listed 'Best First'.
Re: Re: Re: curses on win32
by BrowserUk (Patriarch) on Jul 23, 2003 at 20:20 UTC

    ANSI.SYS does not work in CMD.EXE sessions, only COMMMAND.COM sessions, which you can run under NT/2000/XP, but are less than useful. (** Severe understatement!)

    The only way I have found to use ansi escape sequences in conjuction with CMD sessions is Win32::Console::ANSI which overrides several built-ins and selects a tied handle in place of STDOUT, and then implements the ANSI sequences using Win32 native console functions.

    Whether this would coexist with the curses package I'm not sure, but it would be worth a try.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-03-29 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found