Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace -b with -C and -B (as proposed by Alexander). | edwin | 2010-03-21 | 2 | -9/+23 |
| | | | | | Add -3, -A and -B to the usage. Update regression test for the new parameters. | ||||
* | - With the introduction of -A, -B and -3, not all combinations of | edwin | 2010-03-12 | 2 | -86/+188 |
| | | | | | | | | | arguments makes sense anymore. For example, what would a combination of -3 (show three months) and -y (show the whole year) do? We will abort on these cases. - Move the debug option -d to -H (from highlight), while -d is now used for setting the day of "today" so that -y and friends can be tested. | ||||
* | - Fix the highlighting for non-terminals when the last week is not | edwin | 2010-03-09 | 2 | -10/+22 |
| | | | | | 7 days long. - "-m <N> <YYYY>" now prints only the month, not the whole year. | ||||
* | - document the -3, -A and -B properly in Synopsis. | edwin | 2010-03-07 | 2 | -59/+106 |
| | | | | | | | | - add highlight of current date for non-terminals. - fix -J option. - code cleanup. MFC after: 2 weeks | ||||
* | Remove no-op of WARNS?= | edwin | 2010-03-04 | 1 | -1/+0 |
| | | | | Submitted by: Ulrich Sp??rlein <uqs@spoerlein.net> | ||||
* | - Implement -3 option (show previous, this and next month) option. | edwin | 2010-03-04 | 3 | -206/+266 |
| | | | | | | | | | - Add -A option (months after this month). - Add -B option (months before this month). - Fix highlighting of today in year overview. - Fix aligning of "foreign" characters. MFC after: 2 weeks | ||||
* | Revert most part of 200420 as requested, as more review and polish is | delphij | 2009-12-13 | 1 | -0/+1 |
| | | | | needed. | ||||
* | Remove unneeded header includes from usr.bin/ except contributed code. | delphij | 2009-12-11 | 1 | -1/+0 |
| | | | | Tested with: make universe | ||||
* | Since the width is always 2, it is enough to put just one | ume | 2009-06-18 | 1 | -2/+2 |
| | | | | | | trailing space is enough. MFC after: 1 week | ||||
* | Fix column width of weekday names for multibyte locales. | ume | 2009-06-17 | 1 | -9/+18 |
| | | | | | | Noticed by: nyan Discussed with: matusita, takawata MFC after: 1 week | ||||
* | Mention -h in usage() and manpage. Rename term_{r,e} to term_{so,se}. | rdivacky | 2009-05-02 | 2 | -25/+27 |
| | | | | | Suggested by: ru Approved by: ed (mentor) | ||||
* | Fixed multi-byte character support to actually work. | ru | 2009-04-30 | 1 | -6/+6 |
| | |||||
* | Fixed missing dependency. | ru | 2009-04-30 | 1 | -1/+1 |
| | |||||
* | Couple of changes based on feedback | rdivacky | 2009-04-21 | 1 | -4/+7 |
| | | | | | | | | | | | | o Change mr/me to so/se [1]. o Introduce a -h option to disable highlighting. [2] o Spell STDOUT_FILENO as such and pass NULL to tgetent() to handle the case of unset TERM. [3] Suggested by: naddy mips.inka.de (Christian Weisgerber) [1] Requested by: danfe, deischen [2] Suggested by: jmallett [3] Approved by: ed (mentor) | ||||
* | Implement highlighting of today in month view of cal/ncal just like | rdivacky | 2009-04-20 | 2 | -14/+82 |
| | | | | | | | | 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 | ||||
* | Multibyte character support for cal(1). | das | 2009-03-14 | 2 | -38/+52 |
| | | | | PR: 131578 | ||||
* | Implement a new feature for the "-m" option: if the month number is | wollman | 2008-12-22 | 2 | -21/+45 |
| | | | | | | | | | 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 | ||||
* | Document incorrect handling of multibyte characters. | tjr | 2005-10-23 | 1 | -1/+5 |
| | | | | PR: 87724 | ||||
* | Remove unnecessary SRCS= where could be guessed directly by our | delphij | 2005-01-27 | 1 | -1/+0 |
| | | | | | | bsd.*.mk infrasture. Obtained from: ru | ||||
* | Scheduled mdoc(7) sweep. | ru | 2005-01-11 | 1 | -1/+1 |
| | |||||
* | Use ?= with WARNS. | wollman | 2004-11-30 | 1 | -1/+1 |
| | | | | Requested by: ru | ||||
* | Add a `-m month' flag to provide a more convenient interface for | wollman | 2004-11-23 | 3 | -28/+45 |
| | | | | | | | | | 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 | ||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -1/+2 |
| | |||||
* | Fixed style of DPADD and LDADD assignments as per style.Makefile(5). | ru | 2004-02-05 | 1 | -2/+2 |
| | |||||
* | Teach ncal(1) about month names specified on the command line. | roam | 2002-10-02 | 2 | -3/+24 |
| | | | | | | Reviewed by: -audit Approved by: silence on -audit MFC after: 3 weeks | ||||
* | Correct History: cal(1) appeared in V5, not V6. | tjr | 2002-06-03 | 1 | -1/+1 |
| | |||||
* | Easy warns fixes; constify. | markm | 2002-04-28 | 1 | -3/+3 |
| | |||||
* | Style; line up columns, space things out more consistently. | markm | 2002-04-28 | 1 | -6/+7 |
| | |||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -2/+3 |
| | |||||
* | Remove gcc specific compiler flags, at least one of which doesn't work with | jhb | 2002-01-08 | 1 | -2/+0 |
| | | | | gcc 3.0.2. (-fstrict-prototypes) | ||||
* | mdoc(7) police: remove extraneous .Pp before and/or after .Sh. | dd | 2001-07-09 | 1 | -1/+0 |
| | |||||
* | Handle ASCII and US-ASCII aliases | ache | 2001-06-10 | 1 | -1/+3 |
| | |||||
* | Remove "SU" - not valid country code | ache | 2001-06-10 | 1 | -2/+3 |
| | | | | Fix locale comparison with "C", add "POSIX" | ||||
* | Properly deal with one char weekdays | ache | 2001-03-22 | 1 | -4/+8 |
| | |||||
* | Uppercase first month letter | ache | 2001-03-22 | 1 | -1/+6 |
| | | | | Terminate weekday string | ||||
* | Use nl_langinfo instead of %EF | ache | 2001-03-21 | 1 | -1/+5 |
| | |||||
* | mdoc(7) police: fixed broken references. | ru | 2001-01-16 | 1 | -1/+0 |
| | |||||
* | mdoc(7) police: fix the weird construct. | ru | 2001-01-15 | 1 | -2/+8 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -2/+2 |
| | |||||
* | Use %EF instead of hardcoded order for each country | ache | 1999-11-30 | 1 | -41/+37 |
| | |||||
* | use %OB for months names | ache | 1999-09-12 | 1 | -2/+2 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 3 | -3/+3 |
| | |||||
* | Clean up some ambiguous nested if/elses. | billf | 1999-07-04 | 1 | -2/+3 |
| | |||||
* | Due to the switch form Julian to Gregorian calender, | helbig | 1999-03-27 | 1 | -9/+14 |
| | | | | | | even a whole month might be missing. This caused a bug for the LN -calender, whose switch was on Dec 12, 9999. | ||||
* | fix ncal.1 grammar | phk | 1998-04-26 | 1 | -5/+6 |
| | | | | | | PR: 6394 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> | ||||
* | .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. | charnier | 1998-03-23 | 1 | -3/+3 |
| | |||||
* | Handle option -j correctly. | helbig | 1998-01-15 | 1 | -3/+3 |
| | | | | | Synchronize usage message with man page. PR: bin/5488 | ||||
* | changed 1st appeared in clause -- about to import into -stable | obrien | 1998-01-12 | 1 | -3/+3 |
| | |||||
* | Sync usage and synopsis. Add rcsid. | charnier | 1998-01-07 | 2 | -13/+18 |
| | |||||
* | 1. Don't be confused if the first day of a month is dropped due to | helbig | 1998-01-06 | 1 | -27/+39 |
| | | | | | | | | 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. |