Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cal: add landscape layout for yearly views #117
With the high availability of wide screens and high-resolution emulated
This patch adds a new -l/--landscape flag that stretches out the yearly
I'm not sure how to update the po translations to include the new couple of strings. I did issue
I'd appreciate some guidance on rebuilding the "po" files and can add fuzzy translations for the new strings introduced in a follow-up patch.
The request to make cal(1) more friendly to large screens makes sense, but your -l implementation does not seem to be user-friendly.
It would be better to make it completely dynamical and fill-in all terminal horizontally if possible. It means to determine the number of the months dynamically according to terminal width rather than hardcode number of months (or require more -l options (ctl.landscape++)).
See lib/ttyutils.c and get_terminal_width().
Note the best way to discuss new features is email@example.com mailing
This is a follow-up to:
Thank you for your response, Karel :)
"It would be better to make it completely dynamical and fill-in all
I don't think the filling in the terminal completely is a logical
This is what actually inspired me to hack cal in the first place. Someone
I did pick the most useful extensions of 4x3 and 6x2 for regular, and 3x4
If 12x1 is really useful (i.e. full length with month wrapping) adding
I did pick the repetition of the flag to stretch out the layout akin to the
Hope this makes sense. I appreciate your feedback and hope to sort this
On Wed, Sep 17, 2014 at 3:18 PM, Karel Zak firstname.lastname@example.org wrote: