octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help needed to fix QTerminal problem


From: Michael Goffioul
Subject: Re: Help needed to fix QTerminal problem
Date: Mon, 8 Apr 2013 18:30:06 -0400

On Mon, Apr 8, 2013 at 6:06 PM, John W. Eaton <address@hidden> wrote:
On 04/08/2013 05:20 PM, Michael Goffioul wrote:

A Win32 console application can make use of only 16 colors. And an
application does not request a specific color, but request an index in
the color table. You can apply any color mapping you want, but an
application will expect that the color mapping corresponds to something
usable: for instance, it can request a darkBlue background and a
lightGray foreground, but if you use a mapping where both are red, you
won't see anything.

For octave, you can tune QTerminalColors.cpp to whatever you like,
octave itself only makes use of 2 colors anyway.

What about another approach?  Does QTerminal for windows expect that it is running cmd.exe, or can that be any command interpreter?

If only cmd.exe, then would it work to leave the color mappings alone and start it with the option "/tF0"?

I'm not sure I understand where you would put that option and who would be responsible for parsing it. The QTerminal widget does not run cmd.exe.

Michael.


reply via email to

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