Re: Fwd: [util-linux] cal: add landscape layout for yearly views (#117)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Agreed. And the default would still be 3, right? For back compatibility.

What's the short version of the flag -z?

And would the auto mode try to still limit itself to a rectangle? Or
stretch indefinitely?

I appreciate your time brainstorming about this, Karel. Thank you.
Regards,
Gennady Kovshenin


On Mon, Sep 22, 2014 at 5:33 PM, Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Wed, Sep 17, 2014 at 09:52:36PM +0600, Gennady Kovshenin wrote:
>> I like the format=auto idea. But we can keep it to just the number of
>> columns instead of a full CxR format.
>
>  It would be the best to talk about number of months ;-)
>
>> i.e. format=2 (2x6), format=3 (3x4), format=4 (4x3), and so on.
>> perhaps the parameter should be called --columns/-c instead of format.
>> We can either have an additional auto value to the format, or have it
>> be on by default.
>> Having auto on by default means breaking compatibility. Some users
>> might be parsing output expecting the default 3x4 view in place and if
>> we abruptly change this to be stretched automatically their scripts
>> might break.
>>
>> Any thoughts on the above? --format vs. --columns? And the default
>> value thereof.
>
> Or something else --horizontal-months[=<num>|auto]
>
> and think we can support arbitrary <num> in range 1-12.
>
>     Karel
>
> --
>  Karel Zak  <kzak@xxxxxxxxxx>
>  http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux