History log of /freebsd/usr.bin/ncal/ncal.c (Results 26 – 50 of 103)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0
# 746b67cd 31-Aug-2010 Edwin Groothuis <edwin@FreeBSD.org>

Use basename(3) to determine the name of the program.

Submitted by: Alexander Best <arundel@>


Revision tags: release/8.1.0_cvs, release/8.1.0
# a4bf5fb9 28-Apr-2010 Kirk McKusick <mckusick@FreeBSD.org>

Update to current version of head.


# 531a1a4b 21-Mar-2010 Edwin Groothuis <edwin@FreeBSD.org>

Replace -b with -C and -B (as proposed by Alexander).
Add -3, -A and -B to the usage.
Update regression test for the new parameters.


Revision tags: release/7.3.0_cvs, release/7.3.0
# 4af997a8 12-Mar-2010 Edwin Groothuis <edwin@FreeBSD.org>

- With the introduction of -A, -B and -3, not all combinations of
arguments makes sense anymore. For example, what would a combination
of -3 (show three months) and -y (show the whole year) do?

- With the introduction of -A, -B and -3, not all combinations of
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.

show more ...


# 1d0e1dac 09-Mar-2010 Edwin Groothuis <edwin@FreeBSD.org>

- Fix the highlighting for non-terminals when the last week is not
7 days long.
- "-m <N> <YYYY>" now prints only the month, not the whole year.


# cae11c25 07-Mar-2010 Edwin Groothuis <edwin@FreeBSD.org>

- document the -3, -A and -B properly in Synopsis.
- add highlight of current date for non-terminals.
- fix -J option.
- code cleanup.

MFC after: 2 weeks


# 0851fbdf 04-Mar-2010 Edwin Groothuis <edwin@FreeBSD.org>

- Implement -3 option (show previous, this and next month) option.
- Add -A option (months after this month).
- Add -B option (months before this month).
- Fix highlighting of today in year overview.

- Implement -3 option (show previous, this and next month) option.
- 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

show more ...


# 821df508 13-Dec-2009 Xin LI <delphij@FreeBSD.org>

Revert most part of 200420 as requested, as more review and polish is
needed.


# 6f2d3221 12-Dec-2009 Xin LI <delphij@FreeBSD.org>

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


Revision tags: release/8.0.0_cvs, release/8.0.0
# 10b3b545 17-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Merge from head


# 7d4b968b 17-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Merge from head up to r188941 (last revision before the USB stack switch)


# 09c817ba 03-Jul-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- MFC


# 46f39347 18-Jun-2009 Hajimu UMEMOTO <ume@FreeBSD.org>

Since the width is always 2, it is enough to put just one
trailing space is enough.

MFC after: 1 week


# bd97a998 17-Jun-2009 Hajimu UMEMOTO <ume@FreeBSD.org>

Fix column width of weekday names for multibyte locales.

Noticed by: nyan
Discussed with: matusita, takawata
MFC after: 1 week


# e7153b25 07-May-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Merge from HEAD


# 7149aa01 02-May-2009 Roman Divacky <rdivacky@FreeBSD.org>

Mention -h in usage() and manpage. Rename term_{r,e} to term_{so,se}.

Suggested by: ru
Approved by: ed (mentor)


Revision tags: release/7.2.0_cvs, release/7.2.0
# 0c4ffcca 30-Apr-2009 Ruslan Ermilov <ru@FreeBSD.org>

Fixed multi-byte character support to actually work.


# 0cd51de1 21-Apr-2009 Roman Divacky <rdivacky@FreeBSD.org>

Couple of changes based on feedback

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

Couple of changes based on feedback

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)

show more ...


# e454a171 20-Apr-2009 Roman Divacky <rdivacky@FreeBSD.org>

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 soo

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

show more ...


# 9c797940 13-Apr-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- Merge from HEAD


# 4646cea7 14-Mar-2009 David Schultz <das@FreeBSD.org>

Multibyte character support for cal(1).

PR: 131578


Revision tags: release/7.1.0_cvs, release/7.1.0
# ba29aec0 22-Dec-2008 Garrett Wollman <wollman@FreeBSD.org>

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 min

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

show more ...


Revision tags: release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0
# 0c4cafea 23-Nov-2004 Garrett Wollman <wollman@FreeBSD.org>

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=

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

show more ...


Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs
# ac6d1c22 02-Oct-2002 Peter Pentchev <roam@FreeBSD.org>

Teach ncal(1) about month names specified on the command line.

Reviewed by: -audit
Approved by: silence on -audit
MFC after: 3 weeks


Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# f372d010 28-Apr-2002 Mark Murray <markm@FreeBSD.org>

Easy warns fixes; constify.


12345