From owner-freebsd-questions Sun Jun 8 22:30:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA05443 for questions-outgoing; Sun, 8 Jun 1997 22:30:26 -0700 (PDT) Received: from spacehog.structured.net (spacehog.structured.net [206.58.33.145]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA05435 for ; Sun, 8 Jun 1997 22:30:22 -0700 (PDT) Received: from spacehog.structured.net (localhost [127.0.0.1]) by spacehog.structured.net (8.8.5/8.8.5) with ESMTP id WAA00268; Sun, 8 Jun 1997 22:31:13 GMT Message-ID: <339B32B1.EC14BB89@spacehog.structured.net> Date: Sun, 08 Jun 1997 22:31:13 +0000 From: Justin Ashworth Reply-To: ashworth@cs.montana.edu Organization: Pretty cruddy X-Mailer: Mozilla 4.0b5C (X11; I; FreeBSD 3.0-970209-SNAP i386) MIME-Version: 1.0 To: "Paul T. Root" CC: questions@FreeBSD.ORG Subject: Re: Executable signature? X-Priority: 3 (Normal) References: <199706082048.PAA00393@horton.iaces.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul T. Root wrote: > > In a previous message, Justin Ashworth said: > > Is it possible to create an executable signature? I'd like to tag a quip > > from /usr/games/fortune onto my signature after my name. I've tried > > writing a .signature with a shebang (#!) line in PERL and sh to no > > avail. Any ideas? > > > > Thanks! > > I do that. Well, not exactly. What you want is a named pipe. > They're pretty easy to use. You'll have a daemon running in > the background, writting to the pipe (.signature) and your > mail program reads from it as normal. I've never written a daemon before. Can you recommend any good online sources for this type of programming or just give me some source code to work from? BTW, I'm using a cron job right now that changes my sig hourly. Thanks.... -- ---------------------------------------------------------------- Justin Ashworth, Intern Structured Network Systems justin@structured.net http://www.structured.net ---------------------------------------------------------------- Go climb a gravity well!