
plan - an X/Motif day planner
-----------------------------

Note for people who don't read long READMEs: before you compile, edit the
Makefile and change the LIB and DIR paths if you don't want all files to
go into /usr/local/bin. Type "make help" for a list of supported platforms.

If you start a precompiled but uninstalled version, be sure to do it in
the directory that contains plan, pland, notifier, and plan.help.

---

Plan is a schedule planner based on X/Motif. It displays a month calendar
similar to xcal, but every day box is large enough to show appointments
in small print. By pressing on a day box, the appointments for that day
can be listed and edited. Appointments are entered with the following
information (everything except the time is optional):

- the date, time, and length of the appointment
- an optional text message to be printed,
- an optional script to be executed,
- early-warn and late-warn triggers that precede the alarm time
- repetitions: [n-th] weekdays, days-of-the-month, every n days, yearly
- optional fast command-line appointment entry
- flexible ways to specify holidays and vacations
- extensive context help

The action being taken when a warn or alarm time is reached is programmable;
by default a window pops up. In addition, a program can be executed, or mail
can be sent. Other methods of listing appointments (today, this week, next
week, or a keyword search for regular expressions) are also available. Plan
can be configured to display times in 12-hour or 24-hour formats, mmddyy and
ddmmyy date formats, and can show either Monday or Sunday in the leftmost
column. Three view modes are supported: one month, one year, and one week.
The week view plots appointments as colored and labelled bars in a hour vs.
day chart, and allows other users' appointments to be included.

You do not need root access to install and run these programs. Edit the
Makefile to change the installation directories (default /usr/local/bin),
and run "make <systemname>". Default is sgi. For a list of supported system
names, run "make help".

You'll have to copy the nroff manpage plan.[14], or the plain-text manpage
plan.[14]cat (don't forget to strip the "cat") to your manpage directories
manually, because that _does_ require root privileges.


This distributions creates three binaries:

plan        the schedule program. It displays the calendar and allows
            entry of appointments. It writes everything to a .dayplan*
            files in the user's home directory. It does not check for
            alarms, this is done by the pland daemon. plan informs pland
            when the ~/.dayplan file changed by sending a hangup signal
            to pland. plan can be used without the other programs, but
            no alarms will be triggered.

pland       the daemon that waits for alarm events, and pops up windows,
            sends mail, and/or executes a program when an alarm time is
            reached. It creates a lockfile /tmp/.planUID, with UID being
            the user's user ID. The lockfile prevents multiple pland's.
            It also contains pland's process ID, which is read by plan
            to find out where the hangup signals should be sent. pland
            should be started in the user's .sgisession or .xsession file.

notifier    a program that prints a file (or standard input) into a
            window. Depending on the options, the window is green, yellow,
            or red. pland uses notifier to display messages; notifier was
            not integrated into pland to keep the pland executable as
            small as possible (X/Motif programs tend to be very large).

Plan.icon   for SGI systems. Copy this file to your ~/.icons directory
            to get a full-color icon.
plan_cal.ps the PostScript skeleton for the print functions, should go
            into /usr/local/bin (see LIB in the Makefile)
plan.help   all help texts, should go into /usr/local/bin (see LIB in
            the Makefile)
Mkdoc       a contributed perl script that converts plan.help to troff
            source.
Killpland   a contributed perl script that can be called from ~/.logout
            to kill pland on logout.
Monochrome  a sample resource list for monochrome systems, to be appended
            to ~/.Xdefaults .

plan and notifier print usage messages when an unknown option is used;
pland has only one option, -k, that kills the existing daemon first if
there is one. In particular, plan -d and notifier -d dump the default X
resources; you can do "plan -d >>.Xdefaults" and modify the resources.
Make sure the plan.help file is in your search path.

Note -- I do not guarantee the accuracy of the .holiday template files
in the distribution.


Bug reports to thomas@bitrot.in-berlin.de. Don't forget to include the
version number as printed by "plan -v".


Copyright:

plan is Copyrighted by Thomas Driemeyer, 1993, 1994. License to copy,
publish, and distribute is granted to everyone provided that three
conditions are met:

- my name and email address, "Thomas Driemeyer <thomas@bitrot.in-
  berlin.de>" must remain in the distribution and any documentation
  that was not part of this distribution. In particular, my name
  and address must be shown in the About popup.
- if you redistribute a modified version, the fact that the version
  is modified must be stated in all places that my name is shown.
- this copyright notice must be included in your distribution.

If these conditions are met, you can do whatever you like. The
idea is that I would be pissed if someone else claimed he wrote the
thing, and I don't want bugs introduced by others attributed to me.
Make as much money with it as you can. Drop me a line, I am curious.

There are no implied or expressed warranties for plan. I do not
claim it is good for anything whatsoever, and if you lose your
precious data or your dog dies this is entirely your problem.
