News for hackers. Stuff that matters.
Re:Forebruary is a wall calendar that you do not need to rep... by sigtstp on Wednesday June 29, 2022 @07:20AM (#31918673)
I see there's a -v flag for vertical layout which matches horizontal listing better.
Re:Forebruary is a wall calendar that you do not need to rep... by amrtn on Wednesday June 29, 2022 @08:14AM (#31919070)
The -v flag didn't work in my WSL.

This worked:

   $ ncal -b -M -A2
       June 2022             July 2022            August 2022
   Mo Tu We Th Fr Sa Su  Mo Tu We Th Fr Sa Su  Mo Tu We Th Fr Sa Su
          1  2  3  4  5               1  2  3   1  2  3  4  5  6  7
    6  7  8  9 10 11 12   4  5  6  7  8  9 10   8  9 10 11 12 13 14
   13 14 15 16 17 18 19  11 12 13 14 15 16 17  15 16 17 18 19 20 21
   20 21 22 23 24 25 26  18 19 20 21 22 23 24  22 23 24 25 26 27 28
   27 28 29 30           25 26 27 28 29 30 31  29 30 31
Re:Forebruary is a wall calendar that you do not need to rep... by k4rli on Wednesday June 29, 2022 @08:48AM (#31919422)
-v didn't work on 12.1.7+nmu3ubuntu1 and -M does nothing seemingly. `ncal -b -A2` looks very good.
Re:Forebruary is a wall calendar that you do not need to rep... by amrtn on Wednesday June 29, 2022 @09:17AM (#31919672)
-M sets the first day of the week to Monday. If in your locale the weeks already begin on Monday you are not going to see much difference on the output.
Re:Forebruary is a wall calendar that you do not need to rep... by sigtstp on Wednesday June 29, 2022 @09:44AM (#31920000)
Ah, my bad. I'm on Arch and it packages cal, not ncal. Wasn't familiar with it and it looks like the flags are different. Because why not...