util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nuno Silva" <nunojsilva@ist.utl.pt>
To: util-linux@vger.kernel.org
Subject: cal: lack of color support disables "standout mode"
Date: Wed, 23 Jan 2019 17:26:04 +0000	[thread overview]
Message-ID: <q2a83d$fch$1@blaine.gmane.org> (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?

-- 
Best regards,
Nuno Silva


             reply	other threads:[~2019-01-23 17:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23 17:26 Nuno Silva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-01-23  9:05 cal: lack of color support disables "standout mode" Nuno Silva
2019-02-04 13:25 ` Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='q2a83d$fch$1@blaine.gmane.org' \
    --to=nunojsilva@ist.utl.pt \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).