From owner-freebsd-questions Mon Aug 27 13:18:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.ehsrealtime.com [213.52.146.137]) by hub.freebsd.org (Postfix) with ESMTP id 4CFFF37B406 for ; Mon, 27 Aug 2001 13:18:39 -0700 (PDT) (envelope-from wayne.pascoe@ehsrealtime.com) Received: from pan.ehsrealtime.com ([213.52.146.196]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 15bSpM-0004mS-01 for freebsd-questions@freebsd.org; Mon, 27 Aug 2001 21:17:44 +0100 Received: from waynep by pan.ehsrealtime.com with local (Exim 3.22 #1) id 15bSpM-0005tG-00 for freebsd-questions@freebsd.org; Mon, 27 Aug 2001 21:17:44 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: OT: Programming question re rcfiles Reply-To: wayne.pascoe@ehsrealtime.com Date: 27 Aug 2001 21:17:43 +0100 Message-ID: <86snedmf4o.fsf@pan.ehsrealtime.com> Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry for this, I'm still looking for the right group to be posting these questions to ... Many unix applications use a .somethingrc file to store configuration information. Gnome applications seem to use gnomconfig for this job. Is there anything similar to that for console or daemon apps ? If not, as so many applications use this kind of thing, could someone point me at a REALLY simple application that uses an rcfile with name value pairs that I can look at. I took a look at fetchmail's source, and I'm still not sure WHERE it handles the rcfile, let alone how :( TIA, -- Wayne Pascoe Phone : +44 (0) 20 7017 1221 Things fall apart; the center cannot hold; Mere anarchy is loosed upon the world. - Yeats To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message