The officially official Devuan Forum!

You are not logged in.

#1 2021-09-06 14:40:36

mu
Member
Registered: 2019-01-26
Posts: 10  

[SOLVED] no highlight of todays date in cal

I know this seems awfully petty. The cal command (with no arguments) produces a calendar but today's date is not highlighted. This happens both in urxvt under X and from the console.

man cal says -h Turns off highlighting of today, but cal doesn't recognize -h:

% cal -h                                                                                                                                                            :(
Usage: cal [general options] [-jy] [[month] year]
       cal [general options] [-j] [-m month] [year]
       ncal -C [general options] [-jy] [[month] year]
       ncal -C [general options] [-j] [-m month] [year]
       ncal [general options] [-bhJjpwySM] [-H yyyy-mm-dd] [-s country_code] [-W number of days] [[month] year]
       ncal [general options] [-Jeo] [year]
General options: [-31] [-A months] [-B months] [-d yyyy-mm]

ncal does highlight today's date and -h does suppress it.

I am running chimaera and I installed it from the netinstall iso from 8/16. It is up-to-date. Just wondering if there is something else I should have installed.

Thanks!

Offline

#2 2021-09-07 02:37:32

durham
Member
Registered: 2021-09-04
Posts: 36  

Re: [SOLVED] no highlight of todays date in cal

You made me curious. Ran cal in xterm. No highlight. Ran with -t, got the error message just as you did. Very odd.

edit: also running chimaera

Last edited by durham (2021-09-07 02:38:17)


A dangerous technology is one that is available only to an elite group  -- George M. Ewing, Analog, April 1977

Offline

#3 2021-09-07 11:28:42

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] no highlight of todays date in cal

Offline

#4 2021-09-07 11:46:30

mu
Member
Registered: 2019-01-26
Posts: 10  

Re: [SOLVED] no highlight of todays date in cal

Thank you! Sorry I missed that in man cal.

Offline

#5 2021-09-07 12:56:19

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: [SOLVED] no highlight of todays date in cal

I didn't find that in 'man cal'. It came from a bug report. The man page leads one to believe that those options work with cal. Not all of them do.

Offline

Board footer