Re: Coloured console output support for windows.

Richard Quadling <[email protected]>
Newsgroups gmane.comp.php.documentation.general,gmane.comp.php.windows
Message-ID <[email protected]>
2009/9/24 Jason Hood <[email protected]>:
> Richard Quadling wrote:
>>
>> MAYBE ... combining PHP with ANSICon COULD be a solution? Maybe an
>> php_ansicon.dll extension.
>
> If PHP supports loading DLLs, you should be able to do that
> now, since it should be enough to just load ANSI.dll.  Anyway,
> the new version of ANSICON with the install option is on my
> site (http://adoxa.110mb.com/ansicon/ansi121.zip).
>
> Jason.
>

With ansicon loaded

php -r "while(1) { echo getenv('ANSICON'), ""\r""; }"

provides the realtime size of the console window as you stretch it or
change the layout.
-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.