Searching this forum and the internet with the keywords highlight and cal, but I don't find related discussion. So I post my question here.
In the past every time when typing the command cal today will be highlighted in the terminal. However several months ago (I do not know the reason and exact time when this happened) suddenly when typing cal, no longer any highlight for today. So I execute man cal, but do not find any way to highlight today as well (there is a way to turn off -h Turns off highlighting of today. but that's weird because it's already been turned off without specifying h option). Any way to configure to highlight today when executing cal command? Thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Highlight today in cal
- sunrat
- Administrator
- Posts: 6497
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Highlight today in cal
Code: Select all
ncal
I just had a short play with it and cal doesn't seem to take most of the options listed in the man page. To display the behaviour you are expecting with highlighting, use:
Code: Select all
ncal -C
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Highlight today in cal
Thanks, sunrat. Seeing the same thing here with cal in Bullseye.sunrat wrote:shows it but I'm not sure why cal doesn't. What version of Debian are you using? It doesn't highlight in my Bullseye version.Code: Select all
ncal
I just had a short play with it and cal doesn't seem to take most of the options listed in the man page. To display the behaviour you are expecting with highlighting, use:Code: Select all
ncal -C