• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

holiday/H03-Jul-2007-3,0182,838

language/H07-May-2022-4,3583,906

misc/H07-May-2022-3,0862,430

src/H03-May-2022-32,85026,197

web/H03-May-2022-1,9991,373

HISTORYH A D03-Jul-200744 KiB983792

READMEH A D07-Nov-20069.9 KiB231180

plan.specH A D24-Apr-20075.3 KiB11696

README

1plan - an X/Motif day planner
2=============================
3
4In this README:
5-- Compiling plan
6-- plan Archives
7-- What is plan?
8-- Network Security
9-- Copyright
10
11
12Compiling plan
13--------------
14
151. cd src
162. run "./configure"
173. run "make"
184. if you would like to test plan first, run "./plan" in the src directory.
195. install plan and its subprograms and files by running "make install".
206. it is recommended to install netplan where it is started at boot time,
21   for example in /etc/rc2.d/S99netplan (SystemV) or /etc/rc.local (BSD).
227. If you use the web frontend, and if you have changed DIR in the Makefile,
23   also change the plan path in the web/*.cgi scripts.
24
25For troubleshooting, read misc/plan.help (look for "TROUBLESHOOTING"), or
26start plan and choose Help->Troubleshooting.
27
28Linux users: plan also works with LessTif, a free replacement for Motif.
29See http://www.hungry.com/products/lesstif/lesstif.html for details and
30ftp archives. Also check out http://www.lesstif.org. You need LessTif
310.87.1 or higher (earlier versions may show incomplete file list menu).
32
33
34plan Archives, homepage, and mailing list
35-----------------------------------------
36
37Send bug reports to thomas@bitrot.de. Don't forget to include the version
38number as printed by "plan -v". Check out the TROUBLESHOOTING section in
39plan.help (or in the Help pulldown if that works), it contains solutions
40for common problems.
41
42Information on the current version can be found on plan's home page,
43http://www.bitrot.de/plan.html .
44
45The ftp sites for this program are
46ftp://ftp.bitrot.de/pub/plan and
47ftp://ftp.fu-berlin.de/pub/unix/graphics/plan .
48
49
50What is plan?
51-------------
52
53Plan is a schedule planner based on X/Motif. It displays a month calendar
54similar to xcal, but every day box is large enough to show appointments in
55small print. By pressing on a day box, the appointments for that day can be
56listed and edited. Appointments are entered with the following information
57(everything except the time is optional):
58
59- the date, time, and length (time and days) of the appointment,
60- an optional text message to be printed,
61- an optional script to be executed,
62- early-warn and late-warn triggers that precede the alarm time
63- repetitions: [n-th] weekdays, days-of-the-month, every n days, yearly
64- optional fast command-line appointment entry
65- flexible ways to specify holidays and vacations
66- extensive context help
67- multiuser capability using an IP server program (with access lists),
68- grouping of appointments into files, per-user, private, and others
69
70The action being taken when a warn or alarm time is reached is programmable;
71by default a window pops up. In addition, a program can be executed, or mail
72can be sent. Other methods of listing appointments (today, this week, next
73week, or a keyword search for regular expressions) are also available. Plan
74can be configured to display times in 12-hour or 24-hour formats, mmddyy and
75ddmmyy date formats, and can show either Monday or Sunday in the leftmost
76column. Four view modes are supported: month, year, week, day, and a 365-day
77overview. The day, week, and overview plot appointments as colored and
78labeled bars on a time chart.
79
80You do not need root access to install and run these programs.
81
82This distributions creates four binaries, one directory, and several text
83files:
84
85DIR/plan	the schedule program. It displays the calendars and allows
86		entry of appointments. It writes everything to .dayplan*
87		files in the user's home directory, and other files or to
88		the IP server, netplan. It does not check for alarms, this
89		is done by the pland daemon. plan can be used without pland
90		and notifier, but no alarms will be triggered.
91
92LIB/pland	the daemon that waits for alarm events, and pops up windows,
93		sends mail, and/or executes a program when an alarm time is
94		reached. It creates a lockfile /tmp/.planUID, with UID being
95		the user's user ID. The lockfile prevents multiple pland's.
96		It also contains pland's process ID, which is read by plan
97		to find out where change notification (HUP) signals should
98		be sent. pland should be started in the user's .sgisession
99		or .xsession file.
100
101LIB/notifier	a program that prints a file (or standard input) into a
102		window. Depending on the options, the window is green, yellow,
103		or red. pland uses notifier to display messages; notifier was
104		not integrated into pland to keep the pland executable as
105		small as possible (X/Motif programs tend to be large).
106
107LIB/netplan     an IP network server that manages appointment files. plan can
108		read appointment files directly, but this should be done ONLY
109		if files are not shared by multiple users. The netplan server
110		runs on a single server host; all plan and pland programs on
111		the net can connect to it and read and write appointments.
112		You must start netplan manually on the server host. No entry
113		in inetd.conf is required, netplan watches a well-known port.
114
115LIB/netplan.dir	the directory that netplan puts files into, and the only
116		directory that netplan will read from (see Network Security).
117
118LIB/netplan.dir/.netplan-acl
119		access list for netplan that determines which user and system
120		has read, write, and delete access to which appointment files.
121
122LIB/plan_cal.ps	the PostScript skeleton for the print functions, should go
123		into /usr/local/lib (see LIB in the Makefile)
124
125LIB/plan.help	all default English help texts
126LIB/plan.help.L	all help texts for language L
127LIB/plan.lang.L	list of all internal messages for language L. L="english" is
128		the reference language. See help->languages menu for details.
129
130Plan.icon	for SGI systems. Copy this file to your ~/.icons directory
131		to get a full-color icon.
132plan.xpm	icon pixmap for non-SGI systems.
133Mkdoc		a contributed perl script that converts plan.help to troff
134		source.
135Killpland	a contributed perl script that can be called from ~/.logout
136		to kill pland on logout (also see pland -l/-L options).
137Monochrome	a sample resource list for monochrome systems, to be appended
138		to ~/.Xdefaults .
139netplan.boot	boot script for SGI only. Copy to /etc/init.d and softlink
140		to /etc/rc0.d/K39netplan and /etc/rc2.d/S99netplan.
141
142plan and notifier print usage messages when an unknown option is used;
143pland has only one option, -k, that kills the existing daemon first if
144there is one. In particular, plan -d and notifier -d dump the default X
145resources; you can do "plan -d >>.Xdefaults" and modify the resources.
146If the EUC code is used for Japanese, a filter is needed at PostScript
147printing for conversion to the SJIS code. e.g.:
148 nkf -s | lpr -PPSprinter
149 euctosj | lpr -PPSprinter (Sun with JLE)
150
151Note -- I do not guarantee the accuracy of the .holiday template files
152in the distribution.
153
154
155Network Security
156----------------
157
158Here is information that your system administrator will want to know. IP
159services are potential security risks if written improperly. I make no
160promises that netplan is completely secure but I made every effort to
161avoid the usual pitfalls. netplan is small enough so you can check for
162yourself. If you have stringent security policies, do not trust netplan.
163
164Apart from controlling access to appointment files, netplan must satisfy
165general security concerns. In particular, it must not be usable to open
166network security holes that allow access to files that have nothing to do
167with plan. The security features are:
168
169*  if run by root or setuid root, netplan switches to "nobody". The UID and
170   GID of <nobody> are compiled in, not determined at runtime. netplan will
171   refuse to run setgid-but-not-setuid root.
172
173*  netplan does not execute other programs (this is one of the reasons why
174   there are still pland daemons).
175
176*  netplan cannot be used to access files that are not in its home directory,
177   /usr/local/lib/netplan.dir by default. Absolute paths are converted to
178   paths relative to the home directory.
179
180*  netplan refuses to access softlinks and files that have more than one
181   hardlink. This may be inconvenient at times, but without this the user
182   who started netplan would be wide open for the entire net.
183
184*  netplan is not sendmail. All buffers are checked for overflows.
185
186*  netplan (as well as the rest of the code) is Purify'd.
187
188
189Copyright 1
190-----------
191
192** Beginning with plan 1.9 you have the choice between two licenses.
193** Here is the new one, straight GPL.
194
195This is free software; you can redistribute it and/or modify it under the
196terms of the GNU Library General Public License as published by the Free
197Software Foundation; either version 2 of the License, or (at your option)
198any later version. This software is distributed in the hope that it will
199be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
200MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
201General Public License for more details.
202
203
204Copyright 2
205-----------
206
207** If you choose this copyright, you can distribute plan without including
208** its source code. It remains as an option for people who have distributed
209** earlier versions of plan, so they can continue to do so without change.
210** The warranty exclusion remains in effect in any case.
211
212plan is Copyrighted by Thomas Driemeyer, 1993-2006. License to copy, publish,
213and distribute is granted to everyone provided that three conditions are met:
214
215- my name and email address, "Thomas Driemeyer <thomas@bitrot.de>" must
216  remain in the distribution and any documentation that was not part of
217  this distribution. In particular, my name and address must be shown in
218  the About popup.
219- if you redistribute a modified version, the fact that the version is
220  modified must be stated in all places that my name is shown.
221- this copyright notice must be included in your distribution.
222
223If these conditions are met, you can do whatever you like. The idea is that
224I would be pissed if someone else claimed he wrote the thing, and I don't
225want bugs introduced by others attributed to me. Make as much money with it
226as you can. Drop me a line, I am curious.
227
228There are no implied or expressed warranties for plan. I do not claim it is
229good for anything whatsoever, and if you lose your precious data or your dog
230dies this is entirely your problem.
231