Re: Color / Colour on the command line
| From: | Robert Cummings | Date: | Wed, 29 Oct 2003 13:39:54 +0000 |
| Subject: | Re: Color / Colour on the command line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168000@lists.php.net to get a copy of this message | ||
Should be able to just output ANSI colour codes and the terminal window
will generally interpret them properly and voila!, colour in your
terminal.
Cheers,
Rob.
On Wed, 2003-10-29 at 07:39, Steve Vernon wrote:
> Hiya,
>
> I have quite a few maitenence php scripts I run on the command line in
> windows. I realise there are ways to alter the look of the DOS command
> prompt in windows. But if I reinstall windows, or use the script on another
> machine they will be lost.
>
> I'm thinking of letting users download it as well.
>
> So basically, I can't find anything about how to change colours using a
> command line script.
>
> Just getting very boored of white text on a black background- very booring!
>
> THANKS!
>
> Steve
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'