|Kyberdigi Projects Menstruation calendar
|About Running Download Bugs Changelog Feedback
Installation is simple, just unpack the main package, enter the newly created directory and run it:
$ tar xzf mencal-x.y.tar.gz
$ cd mencal-x.y
You can of course place the main file mencal to any directory where other programs are being installed (sometimes you have to have the superuser permissions), for example:
# cp mencal /usr/local/bin/
The output of mencal can be influenced using output parameters, which are similar to parameters of cal:
You can also use parameters for cycle, they can be specified more than once, thus more cycles in one calendar will be printed:
Screenshots of running the software with various parameters:
There are no known bugs at this moment. Ifcase you find some, please let me know at email@example.com.
A wrong day might be highlight if the program is executed on the day, when
daylight saving time is being turned on or off. The computation was like
adding or subtracting 24 hours to current time, which could highlight
a wrong day. Thanks to Holger Mikolon for bug report and solution.
In some cases of special locales setings the day names are displayed
incorrectly. For example if one uses hu_HU, some day names have only one
character, which can cause table damage. Thank to Peter Gervai for bug
Micah Anderson wrote about a typo in one of error messages you can see
after bad parameter settings.
While using the -3 switch for printing of three actual months (i.e.
november, december, january) some month is not printed. Reported by
2000 - 2003
If using the command more and colored mencal, i. e.
$ mencal -y -c c=red | more .. it all gets messed up.
Regrettably you can't use years below 1900. The cause is that perl works with years decremented by 1900. So if you use the year 2002, perl has to convert it to 102. And it of course refuses to use negative numbers. If you have any ideas how to work around this, please let me know.
The names of days and months are taken from locales, so it would probably be nice to localize the help and program messages. There are not that many messages, in fact. Well, next time. ;-)
It is impossible to print colored output ($ mencal | lpr), the output on the paper looks really ugly. Please use non-colored output if you want to print it on your printer, i. e. $ mencal -n | lpr
There's only a few lines left from 1.0 and the rest was completely rewritten. The old bugs seem to be gone. The configuration doesn't become invalid after one year and you don't have to set it up again. The brain-damage of the old configuration files has also been eliminated.
I thank Vinil for the his intensive cooperation, inspiration and propagation (the hint on the homepage is from him too) and JD for testing, moral backing and correction.
An inspiring response from the maintainer of the mencal Debian package:
I really love this script, because nobody but you ever bothered writing it :-) I am very proud of you because you wrote this for your girlfriend and I guess that was an act of love :-)
Thankful letter from Luca Sironi:
Thank you for mencal! I use your script in order to track in red my work nightly emergency availability. The maximum will be an integration with the calendar unix command. Some kind of writable text on the right of the month calendar ;-)
An amazing reply from Thomas Long:
My wife and I rely on your program every time we need to plan big things like trips, vacations, extended bike rides, etc. Your program is a really wonderful contribution to Debian GNU/Linux. In the US, it is not unusual for women to be very embarrassed about menstruation - even to the point that they will not use the word. My wife is that way. But she has no problem saying things like, "MenCal's here!" :)
Peace be with you.
A bit unconventional usage of the program from Holger Mikolon:
Thanks for the practical tool mencal, which I use on my OpenBSD laptop for the purpose to highlighting the current day of month. I use the following command line to do that:
mencal -m -q -c l=31,d=1