bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Why not reset color for cout by default?


From: Juergen Sauermann
Subject: Re: [Bug-apl] Why not reset color for cout by default?
Date: Thu, 1 Feb 2018 16:07:14 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hi Clouds,

thanks, fixed in SVN 1044.

Please note that there is a zoo of vt100 compatible terminals around that differ
considerably in terms of the colour schemes that they support. The only reliable
way to handle this in a "portable" way is via the preferences files. Anything else
is merely a matter of luck and therefore the default values used by GNU APL in
the absence of a preferences file are not really relevant.

Best Regards,
/// Jürgen



On 02/01/2018 11:03 AM, Clouds Flowing wrote:
Related thread: https://lists.gnu.org/archive/html/bug-apl/2013-10/msg00003.html

Now I see it is using `char Output::color_COUT[MAX_ESC_LEN] = CSI "0;30;49m";` in code, it is strange that reset background while set foreground to black.
I think it quite normal to use default (reset color) color for std::cout, i.e. use `CSI "0;39;49m"`.

I know it could be set in /etc/gnu-apl.d/preference, while we are talking about the default behavior.

Thanks,
Clouds


reply via email to

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