util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cal: lack of color support disables "standout mode"
@ 2019-01-23  9:05 Nuno Silva
  2019-02-04 13:25 ` Karel Zak
  0 siblings, 1 reply; 3+ messages in thread
From: Nuno Silva @ 2019-01-23  9:05 UTC (permalink / raw)
  To: util-linux

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?

-- 
Best regards,
Nuno Silva


^ permalink raw reply	[flat|nested] 3+ messages in thread
* cal: lack of color support disables "standout mode"
@ 2019-01-23 17:26 Nuno Silva
  0 siblings, 0 replies; 3+ messages in thread
From: Nuno Silva @ 2019-01-23 17:26 UTC (permalink / raw)
  To: util-linux

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?

-- 
Best regards,
Nuno Silva


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-04 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23  9:05 cal: lack of color support disables "standout mode" Nuno Silva
2019-02-04 13:25 ` Karel Zak
2019-01-23 17:26 Nuno Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).