This has probably come up before, but the "more fun with pipes" thing in issue 33 reminded me of it.
Have a different signature appear in your emails every time you send one.
Create a subdirectory in your home called .signatures and copy your .signature file into it under a visible name. Delete your .signature file and create a pipe in its place using
mkfifo .signatureCreate a script which simply "cat"s each of the files in the .signatures directory out to the .signature pipe:
#!/bin/sh
while true
do
for SIGNATURE in ${HOME}/.signatures/*
do
# Cat each file out to the .signature and throw away any errors.
cat ${SIGNATURE} > ${HOME}/.signature 2> /dev/null
# This sleep seems to be required for Netscape to work properly
# I think buffering on the filesystem can cause multiple signatures
# to be read otherwise. I think the sleep allows Netscape to see
# the End Of File.
sleep 1
done
done
Have this script kick off in the background every time you log in to
the system in your profile or xsession. Add more entries to the
.signatures directory and they automatically get used in your emails.
Note from Rob: This is why mutt is a better
solution. One of the quotes I use comes from Andrew C. Bulhak:
Most people aren't aware of the fact that UNIX actually dates back to
the Cthulhuvian epoch, and was widely used in R'lyeh. The R'lyehish
word fhtagn is actually a technical term, and literally means "sleeps
on an event". Thus, Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn
literally means "in his house at R'lyeh dead Cthulhu waits blocked on
I/O".
If that doesn't bother you then you can also use a pipe to change your
.plan every time someone fingers you.
--
Colin Smith