Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: cal: add option to highlight the current day
To:
Walter Alejandro Iglesias <wai@roquesor.com>
Cc:
Johannes Thyssen Tishman <jtt@openbsd.org>, Job Snijders <job@bsd.nl>, tech@openbsd.org, landry@openbsd.org, patrick keshishian <pkeshish@gmail.com>
Date:
Sun, 05 Jul 2026 10:49:13 -0600

Download raw body.

Thread
Walter Alejandro Iglesias <wai@roquesor.com> wrote:

> On Sun, Jul 05, 2026 at 08:10:22AM -0600, Theo de Raadt wrote:
> > +                       if (is_today(today, month, year))
> > +                               printf("\033[7m");
> > 
> > Not going to happen.
> > 
> > 
> 
> That's from my diff, not Johannes'.  I guess you don't like it because
> it would break old terminals that doesn't support ANSI escape sequences.
> Given Johannes have used tgetstr he is already aware of this.  The above
> is just a rookie mistake on my part. :-)

"it would break old terminals that doesn't support ANSI escape sequences"

Wow.