From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53EA6C282C0 for ; Wed, 23 Jan 2019 17:35:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 30DC320870 for ; Wed, 23 Jan 2019 17:35:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725896AbfAWRfH (ORCPT ); Wed, 23 Jan 2019 12:35:07 -0500 Received: from [195.159.176.226] ([195.159.176.226]:50412 "EHLO blaine.gmane.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1725945AbfAWRfH (ORCPT ); Wed, 23 Jan 2019 12:35:07 -0500 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gmMQX-000IYY-Ud for util-linux@vger.kernel.org; Wed, 23 Jan 2019 18:35:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: util-linux@vger.kernel.org From: "Nuno Silva" Subject: cal: lack of color support disables "standout mode" Date: Wed, 23 Jan 2019 17:26:04 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Sender: util-linux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: util-linux@vger.kernel.org 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