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

2018-02-01 Thread Clouds Flowing
Related thread: https://lists.gnu.org/archive/html/bug-apl/2013-10/msg3.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 fo

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

2018-02-01 Thread Juergen Sauermann
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

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

2018-02-01 Thread Elias MÃ¥rtenson
I thought the default was to use the terminfo data? I recall submitting a patch for that long ago? On 1 Feb 2018 11:07 pm, "Juergen Sauermann" wrote: > Hi Clouds, > > thanks, fixed in *SVN 1044*. > > Please note that there is a zoo of vt100 compatible terminals around that > differ > considerabl

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

2018-02-01 Thread Juergen Sauermann
Hi Elias, I suppose that is still the case (because I have not changed that). What I did change is the (commented-out) preference file template and the default colors if everything else failed, e.g. TERM variable not set, or curses