The first time you use sigrot, you will need a file containing multiple signatures. Each signature should be seperated by a single blank line. Only a linefeed character, and no other white space charaters may be on this line. (If you should like to have a blank line appear in a signature, you could add a white space character to the line so sigrot knows that the following lines are part of the same signature.) Just type:
sigrot -w filename
Now type sigrot and check the .signature file to see if sigrot successfully copied the first signature from the archive file.
You may delete filename later, or move it, it is longer needed by sigrot. Sigrot makes its own copy of the file.
You may find it annoying to constantly have to type sigrot
to get the next signature. You may prefer to have it run automatically each
time you run your mail program. To do this you can write a simple script
file. For instance, I use pine to read my mail, so I would make a
script called pine in my home dir. (Or anywhere in my path before the
actual location of the pine program.) Such as:
Per user directory conaining all of sigrot's files.~/.sigrot/sig_archive
Archive file containing all of the signatures. (Each signature seperated by a BLANK line)~/.sigrot/next
File containing an integer, which is the number of the next signature to copy from the archive file.~/.sigrot/prefix
Optional file. The contents of this file will appear at the beginning of every .signature file that is written.~/.sigrot/suffix
Optional file. The contents of this file will appear at the end of every .signature file that is written.