From owner-freebsd-questions Fri Jun 5 18:27:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA28254 for freebsd-questions-outgoing; Fri, 5 Jun 1998 18:27:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from nwalme.pair.com (nwalme.pair.com [209.68.1.123]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA28228 for ; Fri, 5 Jun 1998 18:27:28 -0700 (PDT) (envelope-from dima@nwalme.pair.com) Received: (from dima@localhost) by nwalme.pair.com (8.9.0/8.6.12) id VAA02288 for freebsd-questions@FreeBSD.ORG; Fri, 5 Jun 1998 21:27:20 -0400 (EDT) Message-Id: <199806060127.VAA02288@nwalme.pair.com> X-Envelope-To: freebsd-questions@FreeBSD.ORG Subject: Dynamic Files To: freebsd-questions@FreeBSD.ORG Date: Fri, 5 Jun 1998 21:27:20 -0400 (EDT) From: Dima Dorfman X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi: Is there a way I can create a dynamic file? What I want is that when a program opens a file (using fopen), a pipe gets created to a program. I can do this if the program uses popen, but I can't modify the code. Example: My mailer (elm) opens ~/.sig using fopen. I have a program that automatically generates my signature. I want the output of that program treated as my signature. -- Dima Dorfman (dima@zwb.net) "640k ought to be enough for anybody." - Bill Gates, 1981 Micro$oft Sucks! FreeBSD Rules! http://www.freebsd.org/ Finger dima@zwb.net for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message