JSigSelect

Care about your .sig file, even if it annoys somebody out there :-)

Table of contents

About

Software to store, retrieve and list signatures / quotes which can be inserted at the end of email messages and usenet postings. The signatures are stored in a XML file, and there is a small GUI to add signatures. The software might be applicable for "quote-of-the-day" applications, too. One could greet the users on login with a random signature, hint or whatever.

Tiny programs, written in Java and tested with Windows and Solaris. Should work on Macs and that Linux thing, too. It might be not the right software for non-programmers - there is no installer, and you need to set some paths in the provided startup scripts.

This software is in the public domain, but leave my name out if you re-distribute it. Read the license files of the required libraries and my small note below.

Programs

Those are small no-fuss-programs, and each one has exactly one task:

Screenshots

AddSigSWT Solaris
AddSigSWT on Solaris 8 / Gnome

AddSigSWT Windows
AddSigSWT on Windows NT

RandomWriter Windows
RandomWriter on Windows NT

Signatures in Browser
Signatures File in Firebird (now Firefox) browser on Solaris 8 / Gnome. Works with Mozilla and new versions of Internet Explorer, too.

Requirements / Libraries

See the license files of the required software.

It worked for me with Sun's Java 1.4.2 on Windows NT 4 and Sun Solaris 8 / Gnome. You might need a Java 2 Runtime Environment, Version 1.4.2. I did not work on Windows 2000 with 1.4.1.

The programs hand all the real work over to the following libraries:

  1. Standard Widgets Toolkit SWT GUI toolkit (tested with 2.1.2 for Windows and 2.1.2 for Solaris 8. I took each from the according Eclipse SDK).
  2. Apache Xerces Java 2 XML parser (tested with 2.5.0, get one from the download pages if you do not have a xercesImpl.jar on your system yet).
  3. Dave Megginson's XML Writer for Java (0.2).

Usage

Take a look at the provided shell scripts to get it. You will have to modify them to include the required libraries. See your mail client's documentation to find out how to attach a signature file. The command line programs show usage hints on invocation, and there is a sample sigs.xml.

If you want to have pre- and postambles in the generated signatures, enter them in the sigs.xml file. Please note that it is considered good style to set a separation marker before the signature. When the marker is there, good email clients can strip the signature when your correspondent replies to your message.
Some programs insert the markers, others don't. Please note that the marker should be "-- [return]" (with a space before the newline).

Note that, especially on the usenet, signatures should not be longer than four lines x 72 characters.

See signatures.dtd in the download archives for the data file format.

Downloads

Note about the sources:
I got some mails about this program now. Note that this is not a demo thing, an elegant solution or a beautiful piece of engineering. It is merely an aggregation of independent hacks lying around on my disk. The reason I did it was that I was more and more annoyed of the data file format of my old C-program that did basically the same task. Then people started to ask for it, so it is here.

And remember, this is public domain software.