Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ calendar(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

at(1)

crontab(1)

date(1)

mail(1)

cron(1M)

environ(5)

calendar(1)                                                     calendar(1)

NAME
     calendar - reminder service

SYNOPSIS
     calendar [-]

DESCRIPTION
     The calendar command is a convenient way of reminding yourself of
     important dates or appointments. You need to set up a file called
     calendar containing all the necessary details. Then when you call the
     calendar command, all lines in the file calendar which contain today's
     or tomorrow's date anywhere in the line are printed on standard out-
     put.

     The calendar command has to be called from the directory that contains
     the calendar file. If you would like to be reminded of your appoint-
     ments automatically whenever you log in, set up your calendar file in
     your home directory and put the calendar command in your .profile
     file. Then today's and tomorrow's appointments will be printed on
     standard output whenever you log in.

     calendar can also be invoked regularly by using the at and crontab
     commands.

     Dates in the following formats are recognized: Aug. 31, august 31 and
     8/31. On Fridays, tomorrow extends through Saturday, Sunday and Mon-
     day. This extended idea of tomorrow does not account for holidays. In
     other words, if today is the day before a holiday, tomorrow is inter-
     preted as usual and includes only the holiday.

OPTIONS
     -  If the calendar file is in your home directory, you can use the -
        option to call the calendar command from any of your directories.

        Your appointments are then not written to standard output, but are
        sent by mail instead.

        Only for the system administrator:

        If the system administrator calls calendar with the - option, all
        users who have a calendar file in their home directory will be sent
        their appointments by mail. This is normally done on a daily basis
        by the Reliant UNIX operating system, which informs all users of
        appointments noted in the calendar file.











Page 1                       Reliant UNIX 5.44                Printed 11/98

calendar(1)                                                     calendar(1)

LOCALE
     The LCMESSAGES environment variable governs the language in which
     message texts are displayed.

     The LCTIME environment variable governs the format of date and time
     strings.

     If LCMESSAGES or LCTIME is undefined or is defined as the null
     string, it defaults to the value of LANG. If LANG is likewise unde-
     fined or null, the system acts as if it were not internationalized.

     If any of the locale variables has an invalid value, the system acts
     as if none of the variables were set.

     The LCALL environment variable governs the entire locale. LCALL
     takes precedence over all the other environment variables which affect
     internationalization.

EXAMPLES
     Mr. Calhoun writes the following appointments in his file
     /home/calhoun/calendar:

     10/09 dentist 1 pm
     10/10 pick up Mr. Swift from the airport at 5.30 pm
     10/25 Uncle Albert's birthday

     He writes the following command call in /home/calhoun/.profile:

     calendar

     When he logs in on October 8, the following text appears on the
     screen:

     10/09 dentist 1 pm

     When he logs in on October 9, the following text appears on the
     screen:

     10/09 dentist 1 pm

     10/10 pick up Mr. Swift from the airport at 5.30 pm

     When he logs in on October 10, the following text appears on the
     screen:

     10/10 pick up Mr. Swift from the airport at 5.30 pm

     When he logs in on October 24 and 25, the following text appears on
     the screen:

     10/25 Uncle Albert's birthday



Page 2                       Reliant UNIX 5.44                Printed 11/98

calendar(1)                                                     calendar(1)

FILES
     /usr/lib/calprog
          Routine to work out today's and tomorrow's date

     /etc/passwd
          File containing all installed login names

     /tmp/cal*
          Temporary file

SEE ALSO
     at(1), crontab(1), date(1), mail(1), cron(1M), environ(5).










































Page 3                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026