version 1.34, 2011/09/12 21:23:00 |
version 1.40, 2015/12/07 18:46:35 |
|
|
.Nd reminder service |
.Nd reminder service |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm calendar |
.Nm calendar |
.Op Fl ab |
.Op Fl abw |
.Op Fl A Ar num |
.Op Fl A Ar num |
.Op Fl B Ar num |
.Op Fl B Ar num |
.Op Fl f Ar calendarfile |
.Op Fl f Ar calendarfile |
.Sm off |
.Op Fl t Oo Oo Oo Ar cc Oc Ns Ar yy Oc Ns Ar mm Oc Ns Ar dd |
.Op Fl "t " Oo Oo Oo Ar cc Oc Ar yy Oc Ar mm Oc Ar dd |
|
.Sm on |
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm |
.Nm |
|
|
.Ar num |
.Ar num |
days (backward, past). |
days (backward, past). |
.It Fl b |
.It Fl b |
Enforce special date calculation mode for KOI8 calendars. |
Enforce special date calculation mode for Cyrillic calendars. |
.It Fl f Pa calendarfile |
.It Fl f Ar calendarfile |
Use |
Use |
.Pa calendarfile |
.Ar calendarfile |
as the default calendar file. |
as the default calendar file. |
.Sm off |
.It Fl t Oo Oo Oo Ar cc Oc Ns Ar yy Oc Ns Ar mm Oc Ns Ar dd |
.It Fl "t " Oo Oo Oo Ar cc Oc Ar yy Oc Ar mm Oc Ar dd |
|
.Sm on |
|
Act like the specified value is |
Act like the specified value is |
.Dq today |
.Dq today |
instead of using the current date. |
instead of using the current date. |
|
If yy is specified, but cc is not, |
|
a value for yy between 69 and 99 results in a cc value of 19. |
|
Otherwise, a cc value of 20 is used. |
|
.It Fl w |
|
Print day of the week name in front of each event. |
.El |
.El |
.Pp |
.Pp |
To handle calendars in your national code table you can specify |
To handle calendars in your national code table you can specify |
|
|
.Dq LANG=<local_name> |
.Dq LANG=<local_name> |
and |
and |
.Dq BODUN=<bodun_prefix> |
.Dq BODUN=<bodun_prefix> |
where <local_name> can be ru_RU.KOI8-R, uk_UA.KOI8-U or by_BY.KOI8-B. |
where <local_name> can be ru_RU.UTF-8, uk_UA.UTF-8 or by_BY.UTF-8. |
.Pp |
.Pp |
Other lines should begin with a month and day. |
Other lines should begin with a month and day. |
They may be entered in almost any format, either numeric or as character |
They may be entered in almost any format, either numeric or as character |
|
|
International and national calendar files. |
International and national calendar files. |
.It Pa calendar.birthday |
.It Pa calendar.birthday |
Births and deaths of famous (and not-so-famous) people. |
Births and deaths of famous (and not-so-famous) people. |
|
.It Pa calendar.canada |
|
Canadian holidays. |
.It Pa calendar.christian |
.It Pa calendar.christian |
Christian holidays (should be updated yearly by the local system administrator |
Christian holidays (should be updated yearly by the local system administrator |
so that roving holidays are set correctly for the current year). |
so that roving holidays are set correctly for the current year). |