util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Nuno Silva <nunojsilva@ist.utl.pt>
Cc: util-linux@vger.kernel.org
Subject: Re: cal: lack of color support disables "standout mode"
Date: Mon, 4 Feb 2019 14:25:59 +0100	[thread overview]
Message-ID: <20190204132559.h3udu2h4kqzck7br@ws.net.home> (raw)
In-Reply-To: <q29ap5$86n0$1@ciao.gmane.org>

On Wed, Jan 23, 2019 at 09:05:41AM +0000, Nuno Silva wrote:
> 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.

Fixed. Thanks for your report.

> 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?

The idea has been to colorize another things too (week days, weekend,
...), but it has never been implemented :-)

The option name is the same as we use in another utils for this
purpose. 

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2019-02-04 13:26 UTC|newest]

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

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=20190204132559.h3udu2h4kqzck7br@ws.net.home \
    --to=kzak@redhat.com \
    --cc=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).