[Gambas-user] Colorizing 'PRINT' output?

ron ronstk at ...239...
Fri Apr 9 15:46:28 CEST 2004


On Friday 09 April 2004 14:58, Rob wrote:
> On Friday 09 April 2004 05:59, Adi Ron wrote:
> > In order to make my application's verbose option to be actualy
> > HUMAN READABLE (Yes, yes, by humans! ;) ) I was wondering, is
> > there an option to set console output to have colors? Maybe
> > through ANSI Colors?
> > This time I am looking for an answer.
>
> I already told you, there is no option because it hasn't been
> written yet.
>
> If you need that functionality, ANSI escape sequences to change
> colors are very well documented.  You can just include them in
> your print statements or better yet write a library with a bunch
> of static functions like ANSIRed(), ANSIGreen(), ANSINormal()
> etc...
>
> Rob
>
>

I do have written a module to work with ANSI, VT100 etc.
Choise of terminal type can be done under software.

Display driver included for CGA/EGA/VGA/Hercules and MDA
monitors. 
Accept IBM and ASCII keyboard and serial input 7 bit baudot
and 7 or 8 bit ASCII with speed of 45.45baud till 176000kbit.

It is also usable as Tectronix 4000 graphical display.
Till screen size of 160columns and 60 row of text.

One problem, its written in assembly, second problem it is for Z80 :=) 
Third problem is gambas does not accept eurocard pcb as control.

Ron




More information about the User mailing list