On Fri, 11 Jun 2021, Samuel Thibault wrote:
Maybe he mistook the different background/foreground colors as "more
than 16 colors".
Quite likely.
Question:
Are you able to see the color output of the 256-colors.sh script?
Answer:
In an xterm, yes, but on the Linux console, no. All colors are getting
rounded: all shades of green are rounded to pure green, all shades of
red are rounded to pure red, etc.
Ok, so even using screen configured with --enable-256-colors on the
console and setting terminfo and termcap to "xterm Co=256" won't work from
the console?
+ /* Use i18n colors instead of bright
if (fg > 8) {
synth_printf("%s ", spk_msg_get(MSG_BRIGHT));
fg -= 8;
Changing that, however, makes indeed sense to allow translators to use
something else than just "bright" for everything (which even cannot work
in french for instance since the adjectives are to be put *after* the
color name, not before). So yes, please continue on that part, it will
be welcome!
No problem. That is already done. I'll send a patch.
I'm still confused about colors on the command line. There's so many
references when searching to enabling 256 colors in various apps and when
using screen. All of these are presuming one is using an xterm? I even
found a reference to using 256 colors with vt100.
Thanks,
Trevor