rdivacky
beb2b3b1a7
Implement highlighting of today in month view of cal/ncal just like
...
gnu cal does. This is currently disabled for year view because of hard
coded padding in that case. This will hopefully be fixed soon.
Reviewed by: Simon 'corecode' Schubert <corecode fs.ei.tum.de>
Approved by: ed
2009-04-20 18:19:38 +00:00
das
fbe19d09d8
Multibyte character support for cal(1).
...
PR: 131578
2009-03-14 18:55:51 +00:00
wollman
3dff28c944
Implement a new feature for the "-m" option: if the month number is
...
followed by 'f' or 'p', use the following or preceding month of that
number, respectively. Document this. Also includes other minor
grammatical and punctuation fixes to the manual page (capitalize
Easter, etc.).
MFC after: 1 month
2008-12-22 21:22:42 +00:00
tjr
218e59f033
Document incorrect handling of multibyte characters.
...
PR: 87724
2005-10-23 01:37:25 +00:00
delphij
32d71c2dd4
Remove unnecessary SRCS= where could be guessed directly by our
...
bsd.*.mk infrasture.
Obtained from: ru
2005-01-27 14:52:47 +00:00
ru
169f1013f0
Scheduled mdoc(7) sweep.
2005-01-11 10:32:52 +00:00
wollman
82f18a9482
Use ?= with WARNS.
...
Requested by: ru
2004-11-30 16:41:40 +00:00
wollman
b59dbc2123
Add a `-m month' flag to provide a more convenient interface for
...
displaying a calendar for a specific month of the current year than
`cal $(date +"%Y") month'. A few minor code cleanups. Set WARNS=1.
(This code is WARNS=5 clean except for "`O' modifier used with `%B'
strftime format", which is legal in FreeBSD but GCC doesn't know about.)
MFC after: 1 week
2004-11-23 22:57:17 +00:00
ru
fb1d8b3724
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
ru
743cc6d002
Fixed style of DPADD and LDADD assignments as per style.Makefile(5).
2004-02-05 22:44:25 +00:00
roam
e474e1f04d
Teach ncal(1) about month names specified on the command line.
...
Reviewed by: -audit
Approved by: silence on -audit
MFC after: 3 weeks
2002-10-02 12:31:10 +00:00
tjr
485e62a544
Correct History: cal(1) appeared in V5, not V6.
2002-06-03 15:02:02 +00:00
markm
ed297fee6f
Easy warns fixes; constify.
2002-04-28 12:25:03 +00:00
markm
2ddedfffab
Style; line up columns, space things out more consistently.
2002-04-28 12:24:20 +00:00
charnier
ad8a79e6a5
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
jhb
2cbaa6fc05
Remove gcc specific compiler flags, at least one of which doesn't work with
...
gcc 3.0.2. (-fstrict-prototypes)
2002-01-08 08:53:12 +00:00
dd
eaa6ee03b8
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
ache
2575a21628
Handle ASCII and US-ASCII aliases
2001-06-10 23:26:47 +00:00
ache
1988303641
Remove "SU" - not valid country code
...
Fix locale comparison with "C", add "POSIX"
2001-06-10 21:06:01 +00:00
ache
1cd25e1101
Properly deal with one char weekdays
2001-03-22 00:38:46 +00:00
ache
d993b34b6d
Uppercase first month letter
...
Terminate weekday string
2001-03-22 00:25:26 +00:00
ache
a94919d097
Use nl_langinfo instead of %EF
2001-03-21 14:24:05 +00:00
ru
1476a16d46
mdoc(7) police: fixed broken references.
2001-01-16 11:52:00 +00:00
ru
b7899ad1d1
mdoc(7) police: fix the weird construct.
2001-01-15 16:49:28 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
ache
f05bfcb43f
Use %EF instead of hardcoded order for each country
1999-11-30 20:08:50 +00:00
ache
f882733396
use %OB for months names
1999-09-12 13:33:33 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
billf
4822432874
Clean up some ambiguous nested if/elses.
1999-07-04 17:26:16 +00:00
helbig
807da996a2
Due to the switch form Julian to Gregorian calender,
...
even a whole month might be missing.
This caused a bug for the LN -calender, whose switch was
on Dec 12, 9999.
1999-03-27 21:08:13 +00:00
phk
188299fe30
fix ncal.1 grammar
...
PR: 6394
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-04-26 06:21:29 +00:00
charnier
409a50cddf
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
helbig
d9865a0ff5
Handle option -j correctly.
...
Synchronize usage message with man page.
PR: bin/5488
1998-01-15 10:23:34 +00:00
obrien
31e5129db6
changed 1st appeared in clause -- about to import into -stable
1998-01-12 05:02:57 +00:00
charnier
3210047753
Sync usage and synopsis. Add rcsid.
1998-01-07 07:46:33 +00:00
helbig
847d460dbd
1. Don't be confused if the first day of a month is dropped due to
...
Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist.
2. Add some countries in the switch table (BE, FI, LN, LU)
3. Correct some entries from the new found source of calendar knowledge:
http://www.pip.dknet.dk/~c-t/calendar.html ,
That is Claus Tondering's Calendar FAQ.
1998-01-06 00:46:11 +00:00
helbig
fde202285d
Use locale to guess the switch date.
...
Localize formatting of date of easter.
Suggested by: ache
1998-01-03 15:10:11 +00:00
helbig
d3af2f22a4
Ensure 2 letter abbreviations of weekdays (even if LANG=C
...
and invoked as "cal").
1997-12-31 15:55:08 +00:00
helbig
5d3ca24eb3
Use '.\' and not '/* */' for troff-comments.
1997-12-19 21:41:21 +00:00
helbig
089f2900a3
Add new command ncal.
1997-12-15 20:35:22 +00:00