I agree with you, this is weird, My goal is to rework all the computations on size and padding, they are not easy to understand and there is some magic formula. I will try to remove the trailing spaces in a second time. Perhaps we can add a flag to force year with month name to avoid to change the previous behavior. ncal is more often the year header. ╭(11:23)──{~}── ╰┤suze ▶ ncal -B1 -A8 February 2020 March 2020 April 2020 May 2020 Su 2 9 16 23 1 8 15 22 29 5 12 19 26 3 10 17 24 31 Mo 3 10 17 24 2 9 16 23 30 6 13 20 27 4 11 18 25 Tu 4 11 18 25 3 10 17 24 31 7 14 21 28 5 12 19 26 We 5 12 19 26 4 11 18 25 1 8 15 22 29 6 13 20 27 Th 6 13 20 27 5 12 19 26 2 9 16 23 30 7 14 21 28 Fr 7 14 21 28 6 13 20 27 3 10 17 24 1 8 15 22 29 Sa 1 8 15 22 29 7 14 21 28 4 11 18 25 2 9 16 23 30 June 2020 July 2020 August 2020 September 2020 Su 7 14 21 28 5 12 19 26 2 9 16 23 30 6 13 20 27 Mo 1 8 15 22 29 6 13 20 27 3 10 17 24 31 7 14 21 28 Tu 2 9 16 23 30 7 14 21 28 4 11 18 25 1 8 15 22 29 We 3 10 17 24 1 8 15 22 29 5 12 19 26 2 9 16 23 30 Th 4 11 18 25 2 9 16 23 30 6 13 20 27 3 10 17 24 Fr 5 12 19 26 3 10 17 24 31 7 14 21 28 4 11 18 25 Sa 6 13 20 27 4 11 18 25 1 8 15 22 29 5 12 19 26 October 2020 November 2020 Su 4 11 18 25 1 8 15 22 29 Mo 5 12 19 26 2 9 16 23 30 Tu 6 13 20 27 3 10 17 24 We 7 14 21 28 4 11 18 25 Th 1 8 15 22 29 5 12 19 26 Fr 2 9 16 23 30 6 13 20 27 Sa 3 10 17 24 31 7 14 21 28 ╭(11:23)──{~}── ╰┤suze ▶ ncal -B2 -A8 2020 January February March April Su 5 12 19 26 2 9 16 23 1 8 15 22 29 5 12 19 26 Mo 6 13 20 27 3 10 17 24 2 9 16 23 30 6 13 20 27 Tu 7 14 21 28 4 11 18 25 3 10 17 24 31 7 14 21 28 We 1 8 15 22 29 5 12 19 26 4 11 18 25 1 8 15 22 29 Th 2 9 16 23 30 6 13 20 27 5 12 19 26 2 9 16 23 30 Fr 3 10 17 24 31 7 14 21 28 6 13 20 27 3 10 17 24 Sa 4 11 18 25 1 8 15 22 29 7 14 21 28 4 11 18 25 May June July August Su 3 10 17 24 31 7 14 21 28 5 12 19 26 2 9 16 23 30 Mo 4 11 18 25 1 8 15 22 29 6 13 20 27 3 10 17 24 31 Tu 5 12 19 26 2 9 16 23 30 7 14 21 28 4 11 18 25 We 6 13 20 27 3 10 17 24 1 8 15 22 29 5 12 19 26 Th 7 14 21 28 4 11 18 25 2 9 16 23 30 6 13 20 27 Fr 1 8 15 22 29 5 12 19 26 3 10 17 24 31 7 14 21 28 Sa 2 9 16 23 30 6 13 20 27 4 11 18 25 1 8 15 22 29 September October November Su 6 13 20 27 4 11 18 25 1 8 15 22 29 Mo 7 14 21 28 5 12 19 26 2 9 16 23 30 Tu 1 8 15 22 29 6 13 20 27 3 10 17 24 We 2 9 16 23 30 7 14 21 28 4 11 18 25 Th 3 10 17 24 1 8 15 22 29 5 12 19 26 Fr 4 11 18 25 2 9 16 23 30 6 13 20 27 Sa 5 12 19 26 3 10 17 24 31 7 14 21 28 On Sun, Mar 29, 2020 at 4:39 PM J William Piggott <elseifthen@xxxxxxx> wrote: > > This is not intended to be a blocker for the submitted patch; more a > general comment. > > I still believe the year header is nonsense. IIRC, when I brought this > up last time nobody replied with any justification for it. > > On a standard terminal it scrolls off the screen; this means the user is > unable to tell what year they are looking at. For example, I often have > multiple years open, and when tabbing between them there is nothing > visible to differentiate them. So I have to use 'cal -n 12 1 2020'. > > Why is it for 11 months we have 'month year', for 13 months we have > 'month year', but for 12 months we have a year header? What is special > about 12 month output. I think this is just a throwback to old printed > calendars with 12 months on a single page. > > So what is the justification? What is the use case for having -y drop > the 'month year' format that is used for all other output?