help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color console - is this possible in near future?


From: Martin Helm
Subject: Re: Color console - is this possible in near future?
Date: Fri, 09 Nov 2012 15:37:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2

Am 09.11.2012 14:17, schrieb Nicholas Jankowski:
>
> interesting.... running the MinGW 3.6.2 octave-forge package I get:
>
> octave:1> fprintf(1, [char(27), ...
> > '[31mThis is a test.', ...
> > char(27), ...
> > '[36m Here another color.', ...
> > char(27), ...
> > '[37;41;1m Now is background color and white bold.', ...
> > char(27), ...
> > '[0m\n']);
>
> ←[31mThis is a test.←[36m Here another color.←[37;41;1m Now is
> background color and white bold.←[0m
> <ar(27),'[37;41;1m Now is background color and white
> bold.',char(27),'[0m\n']);
>
> all in black and white. is that just a function of the console or
> default config that this version uses? running it from the Windows cmd
> shell or Windows Powershell does the same.
>
I never tried it myself, but have a look at ansicon
https://github.com/adoxa/ansicon/downloads


reply via email to

[Prev in Thread] Current Thread [Next in Thread]