packages icon
Xlrem

(X)(L)ogin(Rem)inder

v1.0

What it is:
	Displays messages in a Motif dialog. There are two types of messages
	personal and system. You can use xlrem-admin program to manage these
	two files. It's good if you want to remind yourself something next
	time you log in. So it's best used in the .Xclients or .xsession.
	It can also be used by sysadmins if they want to have a nice Motif
	dialog box display the daily messages and news to users.

You need Motif 1.2 or higher or Lesstif for this to compile.

It was tested on Linux/x86 (Mootif 2.01), Linux/Alpha (Lesstif 0.81),
SunOS 5.5 on SPARCserver-1000

To install, edit the Makefile, type "make" and copy the resulting xlrem
and xlrem-admin binary to some place in your path. (You can actually
type "make install" as wel, and that will install the manpage too) Then
put some reminders into a file called .xlrem (you can use the
xlrem-admin tool) in your home directory, and add xlrem to the .Xclients
or .xinitrc or wherever you start clients for X.

There are several resources and coresponding command line options that
set the behavior: (of xlrem)

	Xlrem*Verbose: True	| This sets if xlrem will notify you
	-verbose		| if no reminders are present
				| otherwise it dies quietly
				| (default is False)

	Xlrem*NoSystem: True	| This sets if xlrem will ignore the
	-nosystem		| system reminders file.
				| (default is False)
				
	Xlrem*NoPersonal: True	| This sets if xlrem will ignore the
	-nopersonal		| personal reminders file
				| (default is False)

xlrem-admin tool also has an option:

	Xlrem*System: True	| Edit system reminders file
	-system			| (default is False)
				| if not set it will edit the personal
				| reminders
				
The default filenames are ~/.xlrem for the personal file and /etc/xlrem
for the system. (This can be changed in the Makefile)

When displaying the system reminders the user cannot delete these
reminders.

If you are editing the files by hand:
The reminder files are regular text files, one line per reminder. If you
need to put returns in your reminder, put ^A instead (ASCII value 1).
Xlrem will replace that with a newline.

I did this program to learn Motif and since I needed something similiar
and the only reminder program I looked at was 1) ugly, 2) couldn't do
this. I'm sure there is a program that does exactly this, and probably
better, but ... oh well ... who cares.

New in 1.0:	xlrem doesn't segfault when the system file is not
		writable (well it didn't always crash) ... It all compiles
		without warnings on an Alpha. And best of all it's tested
		with Lesstif 0.81, this needed some changes. Also now the
		label on xlrem window is gone and we change the title,
		this was neccessary for it to work on the Sun.
New in 0.99.0:	a bit of code cleanup in xlrem and split into more files
		and I also added the xlrem-admin tool to add/delete/edit
		reminders. Also new is the fact that when you have the
		write permission to the system file you can delete
		system the reminders from xlrem. Basically this is the
		final release. Unless someone actually asks for more
		(somebody except me would have to use this damn thing:)
		Though I might make it 1.0 release if it actually all
		works.
New in 0.91.0:	-geometry now actually works as the Reminders dialog is
		the actual toplevel window (kewl ain't it). I added a
		help -help message and a manpage (well .. ok it sucks
		but oh well) and there is a slight change on the
		Reminders dialog and (tada!) it will actually COMPILE
		out of the box! (unlike 0.90.0)

Limitations: Max of 100 reminders and 3000 chars per reminder (edit
xlrem.h and recompile to change this.

Bugs: No bugs, just "features" :) the bugs are that the resizing of
the xlrem-admin window doesn't always work as expected, and that the
list doesn't change size.

This program is distributed under GNU General Public License, read
./COPYING file for copyright information.

George Lebl <jirka@5z.com>