Thanks for the notes. I'll look into the printf "\ec".
Here are the notes for the next release. I'm trying to be pretty
conservative as far as picking which ansi color driver to use:
New in this release:
Support for 256 Ansi color mode.
-color command line option changed to -ansicolor
AnsiColor variable replaced with CurrAnsiColor and StartupAnsiColor
There are 4 Ansi video drivers:
8 - uses the 8 standard colors
16 - uses the 8 standard plus bright versions of the sam
256 - uses the 256 colors
1 - (rgb) uses the 24-bit color mode. 16,777,216 possible
colors.
CurrAnsiColor sets which Ansi video driver is currently being
used.
Valid values for the above are 1 for rgb/24-bit, 8, 16, 256.
Startup Ansi color driver determination:
CurrAnsiColor = 8
if the command_line contains "-ansicolor",
the next arg is taken as the ansi driver to use,
e.g., 1, 8, 16, 256.
Set CurrAnsiColor to that arg.
elseif StartupAnsiColor is set,
Set CurrAnsiColor to that value
else
get the values for the COLORTERM and TERM environment values
if COLORTERM contains "truecolor", "24bit", "24-bit",
Set CurrAnsiColor to 1 (rgb)
elseif TERM contains "truecolor", "24bit", "iterm",
Set CurrAnsiColor to 1 (rgb)
elseif TERM contains "256color",
Set CurrAnsiColor to 256
elseif TERM contains "16color",
Set CurrAnsiColor to 16
elseif TERM contains "xterm",
Set CurrAnsiColor to 16
endif
endif
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
semware+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/semware/000901da1273%24d471d5a0%247d5580e0%24%40ecarlo.nl.