Index | Thread | Search

From:
Johannes Thyssen Tishman <jtt@openbsd.org>
Subject:
Re: cal: add option to highlight the current day
To:
tech@openbsd.org
Date:
Sun, 2 Aug 2026 12:20:09 +0000

Download raw body.

Thread
  • Theo de Raadt:

    cal: add option to highlight the current day

  • Christian Groessler:

    cal: add option to highlight the current day

  • 2026-08-01T11:32:31-0600 Theo de Raadt <deraadt@openbsd.org>:
    > That is a massive diff which rewrites unrelated things. There are now at
    > least 3 string truncations if the user-controllable termap entry expands
    > to a very long string.
    
    Indeed, hence the commented questions I was hoping to get some feedback
    on. Walter's diff circumvents this by avoiding the lineout buffer and
    printing each day to stdout directly. However, doing that requires a
    larger rewrite.
    
    I'm happy to hear other suggestions, but I can live without the feature
    or with a shell alias as Crystal suggested.
    
    
  • Theo de Raadt:

    cal: add option to highlight the current day

  • Christian Groessler:

    cal: add option to highlight the current day