Skip to contentSkip to conversation

cal: lack of color support disables "standout mode"

DISCUSSION Nuno Silva 1 participant 1 message Jan 23, 2019 Util-Linux package

lore
Share & tools
lore

Nuno Silva

author
#0 lore raw

Hello,

The cal utility seems to check for color support in the current $TERM in order to turn standout mode on or off. This means that, in a monochrome terminal, the current/requested day is not highlighted, even if the terminal has standout mode defined.

While I can force this with --color=always, I'd say it's slightly confusing that the highlighting is controlled by --color=. If this behaviour is kept, perhaps the man page could say something about this?

Signature · 2 lines
Best regards,
Nuno Silva