=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/calendar/calendar.1,v retrieving revision 1.36 retrieving revision 1.43 diff -u -r1.36 -r1.43 --- src/usr.bin/calendar/calendar.1 2013/03/15 08:37:10 1.36 +++ src/usr.bin/calendar/calendar.1 2018/06/03 06:50:35 1.43 @@ -1,4 +1,4 @@ -.\" $OpenBSD: calendar.1,v 1.36 2013/03/15 08:37:10 jmc Exp $ +.\" $OpenBSD: calendar.1,v 1.43 2018/06/03 06:50:35 jmc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)calendar.1 8.1 (Berkeley) 6/29/93 .\" -.Dd $Mdocdate: March 15 2013 $ +.Dd $Mdocdate: June 3 2018 $ .Dt CALENDAR 1 .Os .Sh NAME @@ -37,13 +37,11 @@ .Nd reminder service .Sh SYNOPSIS .Nm calendar -.Op Fl ab +.Op Fl abw .Op Fl A Ar num .Op Fl B Ar num .Op Fl f Ar calendarfile -.Sm off -.Op Fl "t " Oo Oo Oo Ar cc Oc Ar yy Oc Ar mm Oc Ar dd -.Sm on +.Op Fl t Oo Oo Oo Ar cc Oc Ns Ar yy Oc Ns Ar mm Oc Ns Ar dd .Sh DESCRIPTION The .Nm @@ -72,20 +70,20 @@ .Ar num days (backward, past). .It Fl b -Enforce special date calculation mode for KOI8 calendars. -.It Fl f Pa calendarfile +Enforce special date calculation mode for Cyrillic calendars. +.It Fl f Ar calendarfile Use -.Pa calendarfile +.Ar calendarfile as the default calendar file. -.Sm off -.It Fl "t " Oo Oo Oo Ar cc Oc Ar yy Oc Ar mm Oc Ar dd -.Sm on +.It Fl t Oo Oo Oo Ar cc Oc Ns Ar yy Oc Ns Ar mm Oc Ns Ar dd Act like the specified value is .Dq today 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 .Pp To handle calendars in your national code table you can specify @@ -114,7 +112,7 @@ .Dq LANG= and .Dq BODUN= -where can be ru_RU.KOI8-R, uk_UA.KOI8-U or by_BY.KOI8-B. +where can be ru_RU.UTF-8, uk_UA.UTF-8 or by_BY.UTF-8. .Pp Other lines should begin with a month and day. They may be entered in almost any format, either numeric or as character @@ -229,7 +227,9 @@ Jewish holidays (should be updated yearly by the local system administrator so that roving holidays are set correctly for the current year). .It Pa calendar.music -Musical events, births, and deaths (strongly oriented toward rock n' roll). +Musical events, births, and deaths (strongly oriented toward rock 'n' roll). +.It Pa calendar.nz +New Zealand calendar. .It Pa calendar.openbsd .Ox related events. @@ -239,6 +239,8 @@ Russian calendar. .It Pa calendar.space Cosmic history. +.It Pa calendar.uk +UK calendar. .It Pa calendar.ushistory U.S. history. .It Pa calendar.usholiday