Kyle R . Burton on Sun, 19 Nov 2000 21:58:36 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Re: dynamic file (script output)


> i could have a daemon replace my entire .signature file every now and
> then, but that's not what i want. i want a different one for every
> mail i send. besides, this issue is interesting with many
> applications....

Having a daemon sit behind your .signature as a FIFO is probably good
enough for doing a random sig -- it won't have to worry about multiple
simultaneous readers, and the daemon can just pick a different signature
to emit every time the mail client reads the .signature file.

For a .sig file, what they're suggesting is probably fine.  If you know
a little Perl, there is example code in the perlipc manpage for 
implementing a daemon that services a FIFO, it should be easily adaptable
to a random .sig genarator.


k

-- 
------------------------------------------------------------------------------
"From a certain point onward there is no longer any turning back.  That is the
 point that must be reached."   -- Kafka
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug