[Remind-Fans] Determining if -@ was passed?
Dianne Skoll
dianne at skoll.ca
Sun Oct 9 11:08:05 EDT 2022
On Sun, 9 Oct 2022 13:28:53 +0000
Tim Chase via Remind-fans <remind-fans at lists.skoll.ca> wrote:
> Is there a way for a reminder file to determine of -@ was passed
> on the command-line?
Nope. I could fix that.
[...]
> and then a color function c() that converts it to the corresponding
> ANSI sequence for the specified color-depth, letting me do things
> like
> REM Oct 9 2022 MSG This is [c(Purple)]Purple text[c($DefaultColor)]?
That's a pretty good idea, and should not be too hard to implement.
I'd obviously call the function something more descriptive like "ansicolor"
but you could always:
FSET c(x) ansicolor(x)
if you want briefer REM commands.
Thanks for the idea!
Regards,
Dianne.
More information about the Remind-fans
mailing list