summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncal
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-193-4/+3
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2014-05-081-1/+1
| |\ \
| * \ \ Merge headsjg2014-04-2893-0/+1433
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| | | | |
| | \ \ \
| *-. \ \ \ Sync from headsjg2012-11-041-85/+87
| |\ \ \ \ \
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+22
| | |/ / / / | |/| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | Convert to usr.bin/ to LIBADDbapt2014-11-251-2/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | Reduce overlinking
* | | | | Replace all uses of libncurses and libtermcap with their wide characterbrooks2014-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
* | | | | use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|/ |/| | | | | | | | from the latter.
* | | Migrate most of tools/regression/usr.bin/ to the new tests layout.jmmv2014-03-1693-0/+1433
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately.
* | More -Wmissing-variable-declarations fixes.ed2012-10-191-85/+87
|/ | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* o Use ISO 3166 county code for Sweden.maxim2012-02-221-1/+1
| | | | | | PR: standards/165400 Submitted by: Carsten Hey MFC after: 1 week
* Fix typo in order of markup and text.edwin2011-07-111-1/+1
|
* ncal(1) highlights the current date (or a date provided via parameter)edwin2011-07-112-1/+4
| | | | | | | | | even if stdout is not a tty. If stdout is not a tty the data is normally processed by other tools and no control sequences are expected. PR: bin/158580 MFC after: 1 week
* Use basename(3) to determine the name of the program.edwin2010-08-301-3/+2
| | | | Submitted by: Alexander Best <arundel@>
* Replace -b with -C and -B (as proposed by Alexander).edwin2010-03-212-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 ofedwin2010-03-122-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 notedwin2010-03-092-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.edwin2010-03-072-59/+106
| | | | | | | | - add highlight of current date for non-terminals. - fix -J option. - code cleanup. MFC after: 2 weeks
* Remove no-op of WARNS?=edwin2010-03-041-1/+0
| | | | Submitted by: Ulrich Sp??rlein <uqs@spoerlein.net>
* - Implement -3 option (show previous, this and next month) option.edwin2010-03-043-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 isdelphij2009-12-131-0/+1
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-1/+0
| | | | Tested with: make universe
* Since the width is always 2, it is enough to put just oneume2009-06-181-2/+2
| | | | | | trailing space is enough. MFC after: 1 week
* Fix column width of weekday names for multibyte locales.ume2009-06-171-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}.rdivacky2009-05-022-25/+27
| | | | | Suggested by: ru Approved by: ed (mentor)
* Fixed multi-byte character support to actually work.ru2009-04-301-6/+6
|
* Fixed missing dependency.ru2009-04-301-1/+1
|
* Couple of changes based on feedbackrdivacky2009-04-211-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 likerdivacky2009-04-202-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).das2009-03-142-38/+52
| | | | PR: 131578
* Implement a new feature for the "-m" option: if the month number iswollman2008-12-222-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.tjr2005-10-231-1/+5
| | | | PR: 87724
* Remove unnecessary SRCS= where could be guessed directly by ourdelphij2005-01-271-1/+0
| | | | | | bsd.*.mk infrasture. Obtained from: ru
* Scheduled mdoc(7) sweep.ru2005-01-111-1/+1
|
* Use ?= with WARNS.wollman2004-11-301-1/+1
| | | | Requested by: ru
* Add a `-m month' flag to provide a more convenient interface forwollman2004-11-233-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.ru2004-07-021-1/+2
|
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Teach ncal(1) about month names specified on the command line.roam2002-10-022-3/+24
| | | | | | Reviewed by: -audit Approved by: silence on -audit MFC after: 3 weeks
* Correct History: cal(1) appeared in V5, not V6.tjr2002-06-031-1/+1
|
* Easy warns fixes; constify.markm2002-04-281-3/+3
|
* Style; line up columns, space things out more consistently.markm2002-04-281-6/+7
|
OpenPOWER on IntegriCloud