[Bug 908233] Re: cal -M (start week on Monday) don't work

2019-10-31 Thread Nikolaus Heinz
I added the following alias in my .bashrc

alias cal='ncal -bM'

Thank you apsaras.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 908233] Re: cal -M (start week on Monday) don't work

2015-08-07 Thread xerostomus
The same applies for the option  -w  (number of weeks)
These two commands work correctly:
 ncal -w 
 cal -N -w
This one does not:
 cal -w
there should be a warning in manual, that the option -w applies only for ncal 
variation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2013-08-14 Thread Rolf Leggewie
apsaras, what you are seeing is the regression documented in bug 939772.
:-(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2013-01-05 Thread apsaras
A workaround is to use 'ncal -bM'. (Or even 'ncal -b' works on my
system.)

I think what is confusing (apart from having two different commands for
the same thing) is that cal used to have different behaviour. E.g., in
Ubuntu 10.04, cal always started the week with Monday.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2012-10-18 Thread Ilya Schurov
Yes, it's very inconvenient that good old 'cal -m' or 'cal -3m' doesn't
work in Ubuntu.

Are any workarounds e.g. to get sources (where?) and compile right
version of cal which support -m or -M option?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2012-10-13 Thread Dave Gilbert
xintx-ua: I don't know why it uses the cal from bsdmainutil's rather than 
util-linux; but it seems pretty arbitrary.
  The version in util-linux appears to be a different piece of berkeley 
licensed code, but given that there is precisely
nothing Linux specific about cal or even vaguely systemy, I can't see why cal 
is in util-linux anyway.

Dave

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2012-10-13 Thread Сергій Загорія
In fact it's really not there. I found that fact on some old page.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2012-10-07 Thread Сергій Загорія
Why does Ubuntu uses FreeBSD variant of cal while Linux variant of cal
actually has the option -m for mondays? (AFAIU it should be in the
util-linux package but it's not).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2012-01-28 Thread Ralph Corderoy
Agreed, it's only the documentation that's misleading WRT -M not working
for old cal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2011-12-27 Thread Ivan Sorokin
Yes but both cal -M and ncal -M works perfectly in cygwin (I'm almost
sure, I can check this later). So I think this is problem in code, not
in manpage.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2011-12-27 Thread Dave Gilbert
Hi Ivan,
  Hmm this is a bit complicated; there are two things going on - and I'm not 
sure which cygwin do:

1) bsdmainutils uses an oldschool Unix trick to use the same binary for
cal and ncal; it decides what to do based on the name of the binary that
it was run as; I'm not sure if cygwin does the same thing or not.  Now,
if it's run as 'cal' it sets a backwards compatibility flag.

2) The -M option doesn't seem to be in the bsdmainutils by default, but
it comes from a patch in the debian package (ncal_mfdow.diff) and it has
the code:


+   case 'M':
+   if (flag_backward)
+   usage();
+   weekstart = 1;
+   break;

So the intention there is pretty clear it wants that when in backward
compatibility mode it wants to tell you M isn't supported.

So, not sure what cygwin uses.

Dave

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 908233] Re: cal -M (start week on Monday) don't work

2011-12-26 Thread Dave Gilbert
My reading is that the manpage isn't that clear about the fact that some
options only work on ncal, not cal.  The top of the man page does show
that in the set of options (the same as the usage) - but it's hardly
obvious, so it seems fair that the manpage could do with making it
clearer.


** Changed in: bsdmainutils (Ubuntu)
   Importance: Undecided = Low

** Changed in: bsdmainutils (Ubuntu)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/908233

Title:
  cal -M (start week on Monday) don't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/908233/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs